Merge pull request #6260 from zhou1203/disable-redis
enhancement: disable redis when running as member cluster
This commit is contained in:
@@ -73,7 +73,7 @@ data:
|
||||
telemetry:
|
||||
ksCloudURL: "https://kubesphere.cloud"
|
||||
{{- end }}
|
||||
{{- if .Values.ha.enabled -}}
|
||||
{{- if and (eq (include "role" .) "host") .Values.ha.enabled -}}
|
||||
{{- if .Values.ha.cache }}
|
||||
cache: {{- toYaml .Values.ha.cache | nindent 6}}
|
||||
{{- else }}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{{- if eq (include "role" .) "host" }}
|
||||
{{- if and .Values.ha.enabled (not .Values.ha.cache) }}
|
||||
{{- if lookup "v1" "Secret" "kubesphere-system" "redis-secret" }}
|
||||
{{- lookup "v1" "Secret" "kubesphere-system" "redis-secret" | toYaml }}
|
||||
@@ -146,3 +147,4 @@ spec:
|
||||
{{- end }}
|
||||
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user