Skip to content

Commit

Permalink
Merge pull request #2333 from openshift-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…2148-to-release-4.12

Bug 2250884:[release-4.12] set priority class for csi pods
  • Loading branch information
openshift-merge-bot[bot] authored Dec 20, 2023
2 parents 40cf7a8 + 06eec04 commit b246888
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2887,6 +2887,10 @@ spec:
value: quay.io/csiaddons/k8s-sidecar:v0.5.0
- name: CSI_ENABLE_METADATA
value: "false"
- name: CSI_PLUGIN_PRIORITY_CLASSNAME
value: system-node-critical
- name: CSI_PROVISIONER_PRIORITY_CLASSNAME
value: system-cluster-critical
- name: CSI_CLUSTER_NAME
valueFrom:
configMapKeyRef:
Expand Down
8 changes: 8 additions & 0 deletions tools/csv-merger/csv-merger.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,14 @@ func unmarshalCSV(filePath string) *csvv1.ClusterServiceVersion {
Name: "CSI_ENABLE_METADATA",
Value: "false",
},
{
Name: "CSI_PLUGIN_PRIORITY_CLASSNAME",
Value: "system-node-critical",
},
{
Name: "CSI_PROVISIONER_PRIORITY_CLASSNAME",
Value: "system-cluster-critical",
},
{
Name: "CSI_CLUSTER_NAME",
ValueFrom: &corev1.EnvVarSource{
Expand Down

0 comments on commit b246888

Please sign in to comment.