about summary refs log tree commit diff
path: root/tools/argocd/templates/secret.yaml
blob: c80372ce5d00774b321d064a1e2b7c24004678c5 (plain)
1
2
3
4
5
6
7
8
9
10
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 }}