Skip to content

Commit

Permalink
Merge pull request #84 from SamhammerAG/add-helm-priorityClassName-su…
Browse files Browse the repository at this point in the history
…pport

feat: added priorityClassName support for helm chart
  • Loading branch information
luanaBanana committed Dec 13, 2023
2 parents a56a876 + 7743018 commit 0196f2d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
Expand Down
3 changes: 3 additions & 0 deletions helm/kubenurse/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
1 change: 1 addition & 0 deletions helm/kubenurse/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ daemonset:
dnsConfig: {}
volumeMounts: []
volumes: []
priorityClassName: ""

serviceMonitor:
enabled: false
Expand Down

0 comments on commit 0196f2d

Please sign in to comment.