argocd/argo1/templates/sealed-secrets.yaml

33 lines
765 B
YAML
Raw Normal View History

2023-04-24 00:04:25 +00:00
{{ if (index .Values "sealed-secrets").enabled -}}
2023-04-23 16:19:35 +00:00
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
2023-04-24 00:42:18 +00:00
name: "{{ .Release.Name }}-sealed-secrets"
2023-04-23 22:49:28 +00:00
namespace: argocd
2023-04-24 00:45:56 +00:00
finalizers:
- resources-finalizer.argocd.argoproj.io
2023-04-23 16:19:35 +00:00
spec:
project: default
source:
2023-04-23 22:49:28 +00:00
chart: sealed-secrets
repoURL: https://bitnami-labs.github.io/sealed-secrets
targetRevision: 2.7.4
helm:
2023-04-24 00:46:29 +00:00
releaseName: "{{ .Release.Name }}-sealed-secrets"
2023-04-23 16:19:35 +00:00
destination:
2023-04-23 22:49:28 +00:00
server: "https://kubernetes.default.svc"
2023-04-23 19:24:00 +00:00
namespace: kube-system
2023-04-23 23:01:14 +00:00
syncPolicy:
2023-04-24 00:48:46 +00:00
automated:
prune: true
selfHeal: true
2023-04-23 23:01:14 +00:00
syncOptions:
- CreateNamespace=true
retry:
limit: 10
backoff:
duration: 5s
factor: 2
maxDuration: 3m0s
2023-04-24 00:04:25 +00:00
{{- end }}