Skip to content

Commit

Permalink
PLAT-8277: CRD jobs do not need istio (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Fraenkel authored Apr 16, 2024
1 parent 0fc2b64 commit 476c42c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions deployments/helm/hephaestus/templates/crd-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ spec:
{{- end }}
labels:
{{- include "common.labels.matchLabels" . | nindent 8 }}
sidecar.istio.io/inject: "false"
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
Expand All @@ -93,9 +94,6 @@ spec:
imagePullPolicy: {{ .Values.controller.manager.image.pullPolicy }}
args:
- crd-apply
{{- if .Values.istio.enabled }}
- --istio-enabled
{{- end }}
{{- with .Values.podEnv }}
env:
{{- toYaml . | nindent 12 }}
Expand Down Expand Up @@ -134,6 +132,7 @@ spec:
{{- end }}
labels:
{{- include "common.labels.matchLabels" . | nindent 8 }}
sidecar.istio.io/inject: "false"
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
Expand All @@ -151,9 +150,6 @@ spec:
imagePullPolicy: {{ .Values.controller.manager.image.pullPolicy }}
args:
- crd-delete
{{- if .Values.istio.enabled }}
- --istio-enabled
{{- end }}
{{- with .Values.podEnv }}
env:
{{- toYaml . | nindent 12 }}
Expand Down

0 comments on commit 476c42c

Please sign in to comment.