templates/secret.yaml を追加
This commit is contained in:
11
templates/secret.yaml
Normal file
11
templates/secret.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{{- if not .Values.postgres.existingSecret }}
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: {{ include "postgresql.fullname" . }}
|
||||||
|
labels:
|
||||||
|
{{- include "postgresql.labels" . | nindent 4 }}
|
||||||
|
type: Opaque
|
||||||
|
data:
|
||||||
|
postgres-password: {{ randAlphaNum 16 | b64enc | quote }}
|
||||||
|
{{- end }}
|
||||||
Reference in New Issue
Block a user