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
|
||||
description: KubeZero Umbrella Chart for Redis HA
|
||||
type: application
|
||||
version: 0.3.3
|
||||
version: 0.3.4
|
||||
home: https://kubezero.com
|
||||
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
|
||||
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
|
||||
kind: EnvoyFilter
|
||||
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
|
||||
kind: EnvoyFilter
|
||||
metadata:
|
||||
|
@ -9,4 +9,5 @@ spec:
|
||||
claimName: {{ $ssg.claimName }}
|
||||
schedule:
|
||||
{{- toYaml $ssg.schedule | nindent 4 }}
|
||||
---
|
||||
{{- end }}
|
||||
|
Loading…
Reference in New Issue
Block a user