diff --git a/argocd/applicationsets/services-prod.yaml b/argocd/applicationsets/services-prod.yaml index 4a4f16d..d09d373 100644 --- a/argocd/applicationsets/services-prod.yaml +++ b/argocd/applicationsets/services-prod.yaml @@ -26,3 +26,13 @@ spec: destination: server: https://kubernetes.default.svc namespace: "{{index .path.segments 1}}-prod" + templatePatch: | + {{- if eq (index .path.segments 1) "url-shortener" }} + spec: + syncPolicy: + automated: + prune: true + selfHeal: true + {{- else }} + {} + {{- end }}