{{ if (index .Values "sealed-secrets").enabled -}} apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: "{{ .Release.Name }}-sealed-secrets" namespace: argocd spec: project: default source: chart: sealed-secrets repoURL: https://bitnami-labs.github.io/sealed-secrets targetRevision: 2.7.4 helm: releaseName: "{{ .Release.Name }}sealed-secrets" destination: server: "https://kubernetes.default.svc" namespace: kube-system syncPolicy: automated: {} syncOptions: - CreateNamespace=true retry: limit: 10 backoff: duration: 5s factor: 2 maxDuration: 3m0s {{- end }}