fix: [redis] no envoyfilter if istio is disabled
This commit is contained in:
parent
a4329a1937
commit
a729c539a4
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: kubezero-redis
|
name: kubezero-redis
|
||||||
description: KubeZero Umbrella Chart for Redis HA
|
description: KubeZero Umbrella Chart for Redis HA
|
||||||
type: application
|
type: application
|
||||||
version: 0.3.3
|
version: 0.3.4
|
||||||
home: https://kubezero.com
|
home: https://kubezero.com
|
||||||
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
|
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{{- if index .Values "redis-cluster" "enabled" }}
|
{{- if and ( index .Values "redis-cluster" "enabled" ) .Values.istio.enabled }}
|
||||||
apiVersion: networking.istio.io/v1alpha3
|
apiVersion: networking.istio.io/v1alpha3
|
||||||
kind: EnvoyFilter
|
kind: EnvoyFilter
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{{- if index .Values "redis-cluster" "enabled" }}
|
{{- if and ( index .Values "redis-cluster" "enabled" ) .Values.istio.enabled }}
|
||||||
apiVersion: networking.istio.io/v1alpha3
|
apiVersion: networking.istio.io/v1alpha3
|
||||||
kind: EnvoyFilter
|
kind: EnvoyFilter
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -9,4 +9,5 @@ spec:
|
|||||||
claimName: {{ $ssg.claimName }}
|
claimName: {{ $ssg.claimName }}
|
||||||
schedule:
|
schedule:
|
||||||
{{- toYaml $ssg.schedule | nindent 4 }}
|
{{- toYaml $ssg.schedule | nindent 4 }}
|
||||||
|
---
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user