refactor: update ks-console-config.yaml use dynamic configuration values (#6488)
Signed-off-by: hongming <coder.scala@gmail.com>
This commit is contained in:
@@ -22,13 +22,15 @@ data:
|
||||
{{- else }}
|
||||
url: http://ks-apiserver
|
||||
wsUrl: ws://ks-apiserver
|
||||
{{ end }}
|
||||
{{- end }}
|
||||
client:
|
||||
version:
|
||||
kubesphere: {{ .Chart.AppVersion }}
|
||||
kubernetes: {{ .Capabilities.KubeVersion.Version }}
|
||||
enableKubeConfig: true
|
||||
enableNodeListTerminal: {{ .Values.console.config.enableNodeListTerminal }}
|
||||
isWarningHeaderNotificationEnabled: {{ not (or (empty .Values.experimental.validationDirective) (eq .Values.experimental.validationDirective "Ignore")) }}
|
||||
{{- with .Values.console.config }}
|
||||
{{- toYaml . | nindent 6 }}
|
||||
{{- end }}
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: ks-console-config
|
||||
@@ -161,6 +161,7 @@ console:
|
||||
digest: ""
|
||||
pullPolicy: IfNotPresent
|
||||
config:
|
||||
enableKubeConfig: true
|
||||
enableNodeListTerminal: true
|
||||
## @param containerPorts [array] List of container ports to enable in the ks-console container
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user