From 5f14386dcdd3530c79a31678a1a3bf59e3ddb6ef Mon Sep 17 00:00:00 2001 From: makefunstuff Date: Fri, 28 Jun 2024 15:42:09 +0300 Subject: broken --- tools/argocd/templates/secret.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tools/argocd/templates/secret.yaml (limited to 'tools/argocd/templates/secret.yaml') 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 }} + -- cgit 1.4.1-2-gfad0