Skip to content

Commit 37429ef

Browse files
authored
make sure webhook does not inject istio sidecar (#3749)
1 parent 7796f7d commit 37429ef

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

kubernetes/charts/weblogic-operator/templates/_operator-dep.tpl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,11 @@ spec:
246246
annotations:
247247
prometheus.io/port: '8083'
248248
prometheus.io/scrape: 'true'
249+
sidecar.istio.io/inject: 'false'
249250
{{- range $key, $value := .annotations }}
250-
{{ $key }}: {{ $value | quote }}
251+
{{- if ne $key "sidecar.istio.io/inject" }}
252+
{{ $key }}: {{ $value | quote }}
253+
{{- end }}
251254
{{- end }}
252255
labels:
253256
weblogic.webhookName: {{ .Release.Namespace | quote }}

0 commit comments

Comments
 (0)