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-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:42:18 +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:
|
|
|
|
automated: {}
|
|
|
|
syncOptions:
|
|
|
|
- CreateNamespace=true
|
|
|
|
retry:
|
|
|
|
limit: 10
|
|
|
|
backoff:
|
|
|
|
duration: 5s
|
|
|
|
factor: 2
|
|
|
|
maxDuration: 3m0s
|
2023-04-24 00:04:25 +00:00
|
|
|
{{- end }}
|