refactor: update ks-console-config.yaml use dynamic configuration values (#6488)

Signed-off-by: hongming <coder.scala@gmail.com>
This commit is contained in:
hongming
2025-04-23 11:16:30 +08:00
committed by GitHub
parent 75ac085efc
commit 7b22188e41
2 changed files with 6 additions and 3 deletions

View File

@@ -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

View File

@@ -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
##