Skip to content

Commit 0e86593

Browse files
committed
fix(template/helm): Remove priority and preemptionPolicy.
Note: These should be configured in a PriorityClass and the admission controller will stop you setting these on the pod directly.
1 parent b84851b commit 0e86593

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

template/deploy/helm/[[operator]]/templates/deployment.yaml.j2

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,9 @@ spec:
104104
tolerations:
105105
{{- toYaml . | nindent 8 }}
106106
{{- end }}
107-
{{- with .Values.priority }}
108-
priority: {{ . }}
109-
{{- end }}
110107
{{- with .Values.priorityClassName }}
111108
priorityClassName: {{ . }}
112109
{{- end }}
113-
{{- with .Values.preemptionPolicy }}
114-
preemptionPolicy: {{ . }}
115-
{{- end }}
116110
{[% else %}]
117111
# Templated Deployment disabled for this operator
118112
{[% endif %}]

0 commit comments

Comments
 (0)