diff options
Diffstat (limited to 'tools/argocd/templates/secret.yaml')
-rw-r--r-- | tools/argocd/templates/secret.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/argocd/templates/secret.yaml b/tools/argocd/templates/secret.yaml new file mode 100644 index 0000000..c80372c --- /dev/null +++ b/tools/argocd/templates/secret.yaml @@ -0,0 +1,11 @@ +{{- if not (lookup "v1" "Secret" .Values.namespace "argocd-secret") }} +apiVersion: v1 +kind: Secret +metadata: + name: argocd-secret + namespace: {{ .Values.namespace }} +type: Opaque +data: + admin.password: {{ .Values.argocd.adminPassword | b64enc }} +{{- end }} + |