30 lines
811 B
YAML
30 lines
811 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: argocd-production
|
|
namespace: argocd
|
|
labels:
|
|
app.kubernetes.io/managed-by: argocd
|
|
app.kubernetes.io/name: argocd
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: https://git.olb42.com/olb42/argocd.git
|
|
targetRevision: main
|
|
path: manifest/overlays/production
|
|
plugin:
|
|
name: ksops
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: argocd
|
|
syncPolicy:
|
|
automated:
|
|
# prune: false — ArgoCD self-managing itself; never auto-prune to avoid
|
|
# accidentally removing ArgoCD components and losing cluster management.
|
|
enabled: false
|
|
prune: false
|
|
selfHeal: false
|
|
syncOptions:
|
|
- CreateNamespace=false
|
|
- ApplyOutOfSyncOnly=true
|
|
- ServerSideApply=true |