just go for it
This commit is contained in:
10
helm/templates/secret.yaml
Normal file
10
helm/templates/secret.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
{{ if and .Values.secret .Release.IsInstall }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ .Release.Name }}
|
||||
type: generic
|
||||
data:
|
||||
SECRET_KEY: {{ randAlphaNum 64 | b64enc | quote }}
|
||||
DJANGO_SUPERUSER_PASSWORD: {{ randAlphaNum 64 | b64enc | quote }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user