20 lines
724 B
YAML
20 lines
724 B
YAML
{{- if .Values.csiController.priorityClass.create }}
|
|
apiVersion: scheduling.k8s.io/v1
|
|
kind: PriorityClass
|
|
metadata:
|
|
name: {{ template "jiva.csiController.priorityClassName" . }}
|
|
value: {{ .Values.csiController.priorityClass.value }}
|
|
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: {{ template "jiva.csiNode.priorityClassName" . }}
|
|
value: {{ .Values.csiNode.priorityClass.value }}
|
|
globalDefault: false
|
|
description: "This priority class should be used for the OpenEBS CSI driver node deployment only."
|
|
{{- end }}
|