Skip to content

Commit

Permalink
chore: apply patch_4_deployment.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ArvinderPal09 committed Sep 27, 2024
1 parent d94d918 commit 0b3016c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions staging/istio/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@ spec:
{{- end }}
spec:
serviceAccountName: istio-operator{{- if not (eq .Values.revision "") }}-{{ .Values.revision }}{{- end }}
{{- if .Values.global.priorityClassName }}
priorityClassName: "{{ .Values.global.priorityClassName }}"
{{- end }}
containers:
- name: istio-operator
image: {{.Values.hub}}/operator:{{.Values.tag}}
image: {{.Values.istioOperator.hub}}/operator:{{.Values.istioOperator.tag}}
command:
- operator
- server
Expand All @@ -51,7 +54,7 @@ spec:
{{ toYaml .Values.operator.resources | trim | indent 12 }}
env:
- name: WATCH_NAMESPACE
value: {{.Values.watchedNamespaces | quote}}
value: {{.Release.Namespace}}{{- if not (eq .Values.watchedNamespaces "") }},{{ .Values.watchedNamespaces }}{{- end }}
- name: LEADER_ELECTION_NAMESPACE
value: {{.Release.Namespace | quote}}
- name: POD_NAME
Expand Down

0 comments on commit 0b3016c

Please sign in to comment.