Skip to content

Commit

Permalink
Merge pull request #66 from KevinJoiner/charts-priority-class
Browse files Browse the repository at this point in the history
Adds priorityClassName to deployments.
  • Loading branch information
KevinJoiner authored Sep 28, 2022
2 parents 8a968ec + 8bca7c1 commit dc72100
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/aks-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ spec:
{{ toYaml .Values.tolerations | indent 8 }}
{{- end }}
serviceAccountName: aks-operator
{{- if .Values.priorityClassName }}
priorityClassName: "{{.Values.priorityClassName}}"
{{- end }}
securityContext:
fsGroup: 1007
runAsUser: 1007
Expand Down
2 changes: 2 additions & 0 deletions charts/aks-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ nodeSelector: {}
## List of node taints to tolerate (requires Kubernetes >= 1.6)
tolerations: []

## PriorityClassName assigned to deployment.
priorityClassName: ""

0 comments on commit dc72100

Please sign in to comment.