diff --git a/deployment/templates/daemonset.yaml b/deployment/templates/daemonset.yaml index 7f9872a8..7a7e9d29 100644 --- a/deployment/templates/daemonset.yaml +++ b/deployment/templates/daemonset.yaml @@ -45,7 +45,9 @@ spec: {{- if .Values.runtimeClassName }} runtimeClassName: {{ .Values.runtimeClassName }} {{- end }} - priorityClassName: {{ .Values.priorityClassName | default "system-node-critical" }} + {{- if .Values.priorityClassName }} + priorityClassName: {{ .Values.priorityClassName }} + {{- end }} {{- if .Values.hostNetwork }} hostNetwork: {{ .Values.hostNetwork }} dnsPolicy: ClusterFirstWithHostNet diff --git a/deployment/values.yaml b/deployment/values.yaml index 6d229052..cc05f9c7 100644 --- a/deployment/values.yaml +++ b/deployment/values.yaml @@ -51,6 +51,9 @@ namespaceOverride: "" # Defines the runtime class that will be used by the pod runtimeClassName: "" +# Defines the priority class that will be used by the pod +priorityClassName: "system-node-critical" + # Defines serviceAccount names for components. serviceAccount: # Specifies whether a service account should be created