about summary refs log tree commit diff
path: root/tools/argocd/templates/secret.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tools/argocd/templates/secret.yaml')
-rw-r--r--tools/argocd/templates/secret.yaml11
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 }}
+