Files
k8scd/argocd/overlays/argocd-cm.patch.yaml
T
Ruben Hensen 66debf1e3c argocd: keep label-based resource tracking explicitly
Argo CD 3.0 switches the default to annotation tracking. Per the 2.14->3.0
upgrade notes, a resource whose first sync after the switch is a deletion
gets orphaned instead of pruned. Pinning label tracking (the 2.14 default,
so no change today) keeps the upgrade to 3.x free of that; moving to
annotations can follow once everything runs 3.4.
2026-10-22 23:13:11 +02:00

27 lines
756 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: argocd-cm
labels:
app.kubernetes.io/name: argocd-cm
app.kubernetes.io/part-of: argocd
data:
url: https://argocd.rubenhensen.nl
# Argo CD 3.0 defaults to annotation tracking. Stay on labels through the
# upgrade so no app loses track of its resources; switching is a
# separate step that needs every app synced once.
application.resourceTrackingMethod: label
oidc.config: |
name: Authentik
issuer: https://authentik.rubenhensen.nl/application/o/argocd/
clientID: argocd
clientSecret: $oidc.authentik.clientSecret
requestedScopes:
- openid
- profile
- email
resource.exclusions: |
- apiGroups:
- "velero.io"
kinds:
- "Backup"