mirror of
https://github.com/Thumbscrew/k8s-charts.git
synced 2024-11-14 01:50:03 +00:00
increase recipes key secret length to 64
This commit is contained in:
parent
3dc9e88dde
commit
89432db555
@ -7,6 +7,6 @@ type: Opaque
|
|||||||
data:
|
data:
|
||||||
{{- $secretObj := (lookup "v1" "Secret" .Release.Namespace "recipes-secret-key") | default dict }}
|
{{- $secretObj := (lookup "v1" "Secret" .Release.Namespace "recipes-secret-key") | default dict }}
|
||||||
{{- $secretData := (get $secretObj "data") | default dict }}
|
{{- $secretData := (get $secretObj "data") | default dict }}
|
||||||
{{- $secretKey := (get $secretData "recipes-secret-key") | default (randAlphaNum 32 | b64enc) }}
|
{{- $secretKey := (get $secretData "recipes-secret-key") | default (randAlphaNum 64 | b64enc) }}
|
||||||
password: {{ $secretKey | quote }}
|
password: {{ $secretKey | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
@ -47,6 +47,8 @@ externalPostgresql:
|
|||||||
database: recipes
|
database: recipes
|
||||||
username: recipes
|
username: recipes
|
||||||
# password: recipes
|
# password: recipes
|
||||||
|
# existingSecret: recipes
|
||||||
|
# existingSecretPasswordKey: password
|
||||||
|
|
||||||
postgresql:
|
postgresql:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
Loading…
Reference in New Issue
Block a user