-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(helm chart): rename priority class name for CSI plugin (node and …
…controller) (#72) Include storage engine name in priority class name to make sure CSI driver of different storage will have different priority class. This will resolve the issue of installing multiple storage engine using helm chart. Signed-off-by: Shovan Maity <[email protected]>
- Loading branch information
Shovan Maity
committed
May 11, 2021
1 parent
5702dd2
commit ab5dc61
Showing
6 changed files
with
37 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
{{- if .Values.csiController.priorityClass.create }} | ||
apiVersion: scheduling.k8s.io/v1 | ||
kind: PriorityClass | ||
metadata: | ||
name: openebs-csi-controller-critical | ||
name: {{ template "jiva.csiController.priorityClassName" . }} | ||
value: 900000000 | ||
globalDefault: false | ||
description: "This priority class should be used for the OpenEBS CSI driver controller deployment only." | ||
{{- end }} | ||
--- | ||
{{- if .Values.csiNode.priorityClass.create }} | ||
apiVersion: scheduling.k8s.io/v1 | ||
kind: PriorityClass | ||
metadata: | ||
name: openebs-csi-node-critical | ||
name: {{ template "jiva.csiNode.priorityClassName" . }} | ||
value: 900001000 | ||
globalDefault: false | ||
description: "This priority class should be used for the OpenEBS CSI driver node deployment only." | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters