Skip to content

Commit

Permalink
Helm chart: Make priority class configurable for fsfreeze pods
Browse files Browse the repository at this point in the history
  • Loading branch information
elemental-lf committed Apr 7, 2022
1 parent c091c01 commit b1dc0c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/benji-k8s/templates/fsfreeze-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ spec:
spec:
serviceAccountName: {{ tuple . "" | include "benji.fullname" }}
dnsPolicy: ClusterFirstWithHostNet
{{- if .Values.fsfreeze.priorityClassName }}
priorityClassName: {{ .Values.fsfreeze.priorityClassName }}
{{- end }}
containers:
- name: fsfreeze
image: "{{ .Values.fsfreeze.image.registry }}/{{ .Values.fsfreeze.image.repository }}:{{ .Values.fsfreeze.image.tag }}"
Expand Down
2 changes: 2 additions & 0 deletions charts/benji-k8s/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ fsfreeze:
tag: 8.5
pullPolicy: IfNotPresent

priorityClassName: null

resources: {}

nodeSelector: {}
Expand Down

0 comments on commit b1dc0c6

Please sign in to comment.