about summary refs log tree commit diff
path: root/tools/argocd/templates/secret.yaml
diff options
context:
space:
mode:
authormakefunstuff <[email protected]>2024-06-28 14:42:09 +0200
committermakefunstuff <[email protected]>2024-06-28 14:42:09 +0200
commit5f14386dcdd3530c79a31678a1a3bf59e3ddb6ef (patch)
treeda923ec2a7ab1f4184e9597a23e8287425b800d0 /tools/argocd/templates/secret.yaml
parent320b06cb81e0fe434aea56494684fae101a89dfc (diff)
downloadk3s-lab-5f14386dcdd3530c79a31678a1a3bf59e3ddb6ef.tar.gz
broken
Diffstat (limited to '')
-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 }}
+