mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 06:47:30 +08:00
Rename charts folders
This commit is contained in:
16
bitnami/postgresql/templates/secrets.yaml
Normal file
16
bitnami/postgresql/templates/secrets.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ template "fullname" . }}
|
||||
labels:
|
||||
app: {{ template "fullname" . }}
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
release: "{{ .Release.Name }}"
|
||||
heritage: "{{ .Release.Service }}"
|
||||
type: Opaque
|
||||
data:
|
||||
{{ if .Values.postgresqlPassword }}
|
||||
postgresql-password: {{ default "" .Values.postgresqlPassword | b64enc | quote }}
|
||||
{{ else }}
|
||||
postgresql-password: {{ randAlphaNum 10 | b64enc | quote }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user