mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-15 14:29:09 +01:00
Required from 3.3, whose ApplicationSet CRD no longer fits the last-applied annotation of client-side apply. Turned on while still on 3.2 so the managed-field migration happens before the CRD grows.
22 lines
527 B
YAML
22 lines
527 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: argocd-folder
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: https://github.com/rubenhensen/k8scd.git
|
|
targetRevision: HEAD
|
|
path: argocd
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: argocd
|
|
syncPolicy:
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
# From Argo CD 3.3 the ApplicationSet CRD is too big for client-side
|
|
# apply's last-applied annotation.
|
|
- ServerSideApply=true
|
|
automated:
|
|
selfHeal: true
|