diff --git a/config/ks-core/templates/ks-console-config.yaml b/config/ks-core/templates/ks-console-config.yaml index 824c20838..b8cb7bec3 100644 --- a/config/ks-core/templates/ks-console-config.yaml +++ b/config/ks-core/templates/ks-console-config.yaml @@ -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 \ No newline at end of file diff --git a/config/ks-core/values.yaml b/config/ks-core/values.yaml index 7c8092d3e..e94c64634 100644 --- a/config/ks-core/values.yaml +++ b/config/ks-core/values.yaml @@ -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 ##