Skip to content

Commit

Permalink
feat: template secret only on postgres in container
Browse files Browse the repository at this point in the history
  • Loading branch information
tjorbo committed Oct 1, 2024
1 parent fa4fadc commit 0671b1a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{{- if .Values.postgresql.enabled -}}
apiVersion: v1
kind: Secret
metadata:
name: postgresql-default-auth
type: kubernetes.io/basic-auth
stringData:
password: {{ randAlphaNum 20 | b64enc | quote }}
{{- end -}}

0 comments on commit 0671b1a

Please sign in to comment.