diff --git a/README.md b/README.md index e487f03f..e453765a 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ The following command can be used to install kubenurse with Helm: `helm upgrade | daemonset.podLabels | Additional labels to be added to the pods of the daemonset | `[]` | | daemonset.podAnnotations | Additional annotations to be added to the pods of the daemonset | `[]` | | daemonset.podSecurityContext | The security context of the daemonset | `{}` | +| daemonset.priorityClassName | The priority class name for the daemonset pods | `""` | | daemonset.containerSecurityContext | The security context of the containers within the pods of the daemonset | `{}` | | daemonset.containerResources | The container resources of the containers within the pods of the daemonset | `{}` | | daemonset.containerImagePullPolicy | The container image pull policy the pods of the daemonset | `IfNotPresent` | diff --git a/helm/kubenurse/templates/daemonset.yaml b/helm/kubenurse/templates/daemonset.yaml index adc3f8eb..72344316 100644 --- a/helm/kubenurse/templates/daemonset.yaml +++ b/helm/kubenurse/templates/daemonset.yaml @@ -128,3 +128,6 @@ spec: {{- if .Values.daemonset.volumes -}} {{- toYaml .Values.daemonset.volumes | nindent 6 }} {{- end }} + {{- if .Values.daemonset.priorityClassName }} + priorityClassName: {{ .Values.daemonset.priorityClassName }} + {{- end }} diff --git a/helm/kubenurse/values.yaml b/helm/kubenurse/values.yaml index 850f01b0..4e9b7da3 100644 --- a/helm/kubenurse/values.yaml +++ b/helm/kubenurse/values.yaml @@ -19,6 +19,7 @@ daemonset: dnsConfig: {} volumeMounts: [] volumes: [] + priorityClassName: "" serviceMonitor: enabled: false