generate random jwtSecret
Signed-off-by: Roland.Ma <rolandma@yunify.com>
This commit is contained in:
@@ -13,7 +13,7 @@ data:
|
||||
maximumClockSkew: {{ .Values.config.authentication.maximumClockSkew | default "10s" }}
|
||||
multipleLogin: {{ .Values.console.enableMultiLogin | default true }}
|
||||
kubectlImage: {{ .Values.image.ks_kubectl_repo }}:{{ .Values.image.ks_kubectl_tag | default "latest" }}
|
||||
jwtSecret: "{{ .Values.jwtSecret }}"
|
||||
jwtSecret: "{{ .Values.config.jwtSecret | default (randAlphaNum 32 ) }}"
|
||||
{{- if .Values.config.authentication.oauthOptions }}
|
||||
{{- with .Values.config.authentication.oauthOptions }}
|
||||
oauthOptions:
|
||||
|
||||
@@ -39,7 +39,7 @@ config:
|
||||
# Specifies whether the kubesphere-config configmap should be created
|
||||
create: true
|
||||
authentication: {}
|
||||
# Jwt Secret is required
|
||||
# Jwt Secret is required by ks-apiserver, a random string would be generated if it's empty
|
||||
jwtSecret: ""
|
||||
multicluster: {}
|
||||
monitoring: {}
|
||||
|
||||
Reference in New Issue
Block a user