Skip to content

Commit

Permalink
Helm chart: Add priorityClass support for operator (#1423)
Browse files Browse the repository at this point in the history
Add priorityClass support for operator helm chart
  • Loading branch information
varet80 authored Feb 28, 2023
1 parent 757a88c commit 6c2cb23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helm/operator/templates/operator-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ spec:
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.operator.priorityClassName }}
priorityClassName: {{ . }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.operator.image.repository }}:{{ .Values.operator.image.tag }}"
Expand Down
1 change: 1 addition & 0 deletions helm/operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ operator:
runAsGroup: 1000
runAsNonRoot: true
nodeSelector: { }
priorityClassName: ""
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand Down

0 comments on commit 6c2cb23

Please sign in to comment.