diff --git a/chart/templates/logging/eck-operator/eck-operator-helmrelease.yaml b/chart/templates/logging/eck-operator/eck-operator-helmrelease.yaml index 48aaa85827bb315488500ae006fad2b06894cfe5..61e8b1e41a05dbb266b400ecedda1c49f468c514 100644 --- a/chart/templates/logging/eck-operator/eck-operator-helmrelease.yaml +++ b/chart/templates/logging/eck-operator/eck-operator-helmrelease.yaml @@ -37,9 +37,15 @@ spec: kind: Secret valuesKey: "overlays" - {{- if .Values.gatekeeper.enabled }} + {{- if or .Values.gatekeeper.enabled .Values.istio.enabled }} dependsOn: + {{- if .Values.gatekeeper.enabled }} - name: gatekeeper namespace: {{ .Release.Namespace }} + {{- end }} + {{- if .Values.istio.enabled }} + - name: istio + namespace: {{ .Release.Namespace }} + {{- end }} {{- end }} -{{- end }} \ No newline at end of file +{{- end }}