File tree 3 files changed +13
-0
lines changed
3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,9 @@ spec:
135
135
volumeMounts :
136
136
- mountPath : /var/run/podinfo
137
137
name : podinfo
138
+ {{- if .Values.controller.priorityClassName }}
139
+ priorityClassName : {{ .Values.controller.priorityClassName }}
140
+ {{- end }}
138
141
securityContext :
139
142
{{- toYaml .Values.controller.podSecurityContext | nindent 8 }}
140
143
serviceAccountName : {{ include "vso.chart.fullname" . }}-controller-manager
@@ -218,6 +221,9 @@ spec:
218
221
securityContext :
219
222
{{- toYaml .| nindent 10 }}
220
223
{{- end}}
224
+ {{- if .Values.controller.priorityClassName }}
225
+ priorityClassName : {{ .Values.controller.priorityClassName }}
226
+ {{- end }}
221
227
restartPolicy : Never
222
228
{{- with .Values.controller.nodeSelector }}
223
229
nodeSelector :
Original file line number Diff line number Diff line change @@ -106,6 +106,9 @@ spec:
106
106
securityContext :
107
107
{{- toYaml .| nindent 10 }}
108
108
{{- end}}
109
+ {{- if .Values.controller.priorityClassName }}
110
+ priorityClassName : {{ .Values.controller.priorityClassName }}
111
+ {{- end }}
109
112
restartPolicy : Never
110
113
{{- with .Values.controller.nodeSelector }}
111
114
nodeSelector :
Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ controller:
8
8
# @type: integer
9
9
replicas : 1
10
10
11
+ # Set the priority class for the operator.
12
+ # @type: string
13
+ priorityClassName : " "
14
+
11
15
# Configure update strategy for multi-replica deployments.
12
16
# Kubernetes supports types Recreate, and RollingUpdate
13
17
# ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
You can’t perform that action at this time.
0 commit comments