Skip to content

Commit

Permalink
exclude istio-proxy pod on common jobs (#2142)
Browse files Browse the repository at this point in the history
  • Loading branch information
pgvishnuram committed Feb 21, 2024
1 parent e04aa68 commit d1ff5aa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/kibana/templates/kibana-default-index-cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ spec:
release: {{ .Release.Name }}
app: kibana-default-index
version: {{ .Chart.Version }}
{{- if .Values.global.istio.enabled }}
annotations:
sidecar.istio.io/inject: "false"
{{- end }}
spec:
{{- include "kibana.imagePullSecrets" . | indent 8 }}
containers:
Expand Down
4 changes: 4 additions & 0 deletions charts/nats/templates/jetstream-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ spec:
component: jetsream-migrator
version: {{ .Chart.Version }}
release: {{ .Release.Name }}
{{- if .Values.global.istio.enabled }}
annotations:
sidecar.istio.io/inject: "false"
{{- end }}
spec:
restartPolicy: Never
serviceAccountName: {{ .Release.Name }}-jetstream-sa
Expand Down

0 comments on commit d1ff5aa

Please sign in to comment.