mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-15 22:29:09 +01:00
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.
27 lines
756 B
YAML
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" |