Merge pull request #9790 from travisn/operator-pri-class

helm: Allow setting priority class on operator and toolbox
This commit is contained in:
Travis Nielsen authored and GitHub committed 2022-02-23 14:34:54 -07:00
commit bbac0911c9
4 files changed
+11

No files matched your search

@@ -20,6 +20,9 @@ spec:
{{- $network := .Values.cephClusterSpec.network | default dict -}}
{{- if ($network.provider | default "") | eq "host" }}
hostNetwork: true
{{- end }}
{{- if .Values.toolbox.priorityClassName }}
priorityClassName: {{ .Values.toolbox.priorityClassName }}
{{- end }}
containers:
- name: rook-ceph-tools
@@ -24,6 +24,8 @@ toolbox:
image: rook/ceph:VERSION
tolerations: []
affinity: {}
# Set the priority class for the toolbox if desired
# priorityClassName: class
monitoring:
# requires Prometheus to be pre-installed
@@ -21,6 +21,9 @@ spec:
{{ toYaml .Values.annotations | indent 8 }}
{{- end }}
spec:
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
containers:
- name: rook-ceph-operator
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
+3
View File
@@ -52,6 +52,9 @@ rbacEnable: true
##
pspEnable: true
# Set the priority class for the rook operator deployment if desired
# priorityClassName: class
## Settings for whether to disable the drivers or other daemons if they are not
## needed
csi: