Skip to content

Commit f3f77de

Browse files
authored
Merge pull request #337 from derek-burdick/priority-class-name
Add priorityClassName to daemonsets.
2 parents 320afdb + fab04f2 commit f3f77de

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

manifest_staging/charts/secrets-store-csi-driver/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ The following table lists the configurable parameters of the csi-secrets-store-p
4141
| `linux.livenessProbeImage.tag` | Linux liveness-probe image tag | `v2.0.0` |
4242
| `linux.livenessProbe.resources` | The resource request/limits for the linux liveness-probe container image | `limits: 100m CPU, 100Mi; requests: 10m CPU, 20Mi` |
4343
| `linux.env` | Environment variables to be passed for the daemonset on linux nodes | `[]` |
44+
| `linux.priorityClassName` | Indicates the importance of a Pod relative to other Pods. | `""` |
4445
| `windows.image.repository` | Windows image repository | `us.gcr.io/k8s-artifacts-prod/csi-secrets-store/driver` |
4546
| `windows.image.pullPolicy` | Windows image pull policy | `IfNotPresent` |
4647
| `windows.image.tag` | Windows image tag | `v0.0.16` |
@@ -59,6 +60,7 @@ The following table lists the configurable parameters of the csi-secrets-store-p
5960
| `windows.livenessProbeImage.tag` | Windows liveness-probe image tag | `v2.0.1-alpha.1-windows-1809-amd64` |
6061
| `windows.livenessProbe.resources` | The resource request/limits for the windows liveness-probe container image | `limits: 200m CPU, 200Mi; requests: 10m CPU, 20Mi` |
6162
| `windows.env` | Environment variables to be passed for the daemonset on windows nodes | `[]` |
63+
| `windows.priorityClassName` | Indicates the importance of a Pod relative to other Pods. | `""` |
6264
| `logLevel.debug` | Enable debug logging | true |
6365
| `livenessProbe.port` | Liveness probe port | `9808` |
6466
| `livenessProbe.logLevel` | Liveness probe container logging verbosity level | `2` |

manifest_staging/charts/secrets-store-csi-driver/templates/secrets-store-csi-driver-windows.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ spec:
122122
{{ toYaml . | indent 12 }}
123123
{{- end }}
124124
{{- end }}
125+
{{- if .Values.windows.priorityClassName }}
126+
priorityClassName: {{ .Values.windows.priorityClassName | quote }}
127+
{{- end }}
125128
volumes:
126129
- name: mountpoint-dir
127130
hostPath:

manifest_staging/charts/secrets-store-csi-driver/templates/secrets-store-csi-driver.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ spec:
125125
{{ toYaml . | indent 12 }}
126126
{{- end }}
127127
{{- end }}
128+
{{- if .Values.linux.priorityClassName }}
129+
priorityClassName: {{ .Values.linux.priorityClassName | quote }}
130+
{{- end }}
128131
volumes:
129132
- name: mountpoint-dir
130133
hostPath:

manifest_staging/charts/secrets-store-csi-driver/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ linux:
4747
tolerations: []
4848
metricsAddr: ":8095"
4949
env: []
50+
priorityClassName: ""
5051

5152
windows:
5253
enabled: false
@@ -97,6 +98,7 @@ windows:
9798
tolerations: []
9899
metricsAddr: ":8095"
99100
env: []
101+
priorityClassName: ""
100102

101103
logLevel:
102104
debug: true

0 commit comments

Comments
 (0)