Skip to content

Commit f0a18f8

Browse files
Add tolerations to helm charts in manifest staging folder
1 parent 765bfc2 commit f0a18f8

File tree

8 files changed

+18
-12
lines changed

8 files changed

+18
-12
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,13 @@ The following table lists the configurable parameters of the csi-secrets-store-p
2929
| `linux.enabled` | Install secrets store csi driver on linux nodes | true |
3030
| `linux.kubeletRootDir` | Configure the kubelet root dir | `/var/lib/kubelet` |
3131
| `linux.nodeSelector` | Node Selector for the daemonset on linux nodes | `{}` |
32-
| `linux.tolerations` | Tolerations for the daemonset on linux nodes | `[]` |
3332
| `linux.metricsAddr` | The address the metric endpoint binds to | `:8080` |
3433
| `windows.image.repository` | Windows image repository | `us.gcr.io/k8s-artifacts-prod/csi-secrets-store/driver` |
3534
| `windows.image.pullPolicy` | Windows image pull policy | `IfNotPresent` |
3635
| `windows.image.tag` | Windows image tag | `v0.0.12` |
3736
| `windows.enabled` | Install secrets store csi driver on windows nodes | false |
3837
| `windows.kubeletRootDir` | Configure the kubelet root dir | `C:\var\lib\kubelet` |
3938
| `windows.nodeSelector` | Node Selector for the daemonset on windows nodes | `{}` |
40-
| `windows.tolerations` | Tolerations for the daemonset on windows nodes | `[]` |
4139
| `windows.metricsAddr` | The address the metric endpoint binds to | `:8080` |
4240
| `logLevel.debug` | Enable debug logging | true |
4341
| `livenessProbe.port` | Liveness probe port | `9808` |

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,3 @@ spec:
121121
{{- toYaml .Values.windows.nodeSelector | nindent 8 }}
122122
{{- end }}
123123
{{- end -}}
124-
{{- with .Values.windows.tolerations }}
125-
tolerations:
126-
{{ toYaml . | indent 8 }}
127-
{{- end }}

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,3 @@ spec:
124124
{{- toYaml .Values.linux.nodeSelector | nindent 8 }}
125125
{{- end }}
126126
{{- end -}}
127-
{{- with .Values.linux.tolerations }}
128-
tolerations:
129-
{{ toYaml . | indent 8 }}
130-
{{- end }}

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ linux:
66
pullPolicy: Always
77
kubeletRootDir: /var/lib/kubelet
88
nodeSelector: {}
9-
tolerations: []
109
metricsAddr: ":8080"
1110

1211
windows:
@@ -17,7 +16,6 @@ windows:
1716
pullPolicy: IfNotPresent
1817
kubeletRootDir: C:\var\lib\kubelet
1918
nodeSelector: {}
20-
tolerations: []
2119
metricsAddr: ":8080"
2220

2321
logLevel:

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,16 @@ The following table lists the configurable parameters of the csi-secrets-store-p
2929
| `linux.enabled` | Install secrets store csi driver on linux nodes | true |
3030
| `linux.kubeletRootDir` | Configure the kubelet root dir | `/var/lib/kubelet` |
3131
| `linux.nodeSelector` | Node Selector for the daemonset on linux nodes | `{}` |
32+
| `linux.tolerations` | Tolerations for the daemonset on linux nodes | `[]` |
33+
| `linux.metricsAddr` | The address the metric endpoint binds to | `:8080` |
3234
| `windows.image.repository` | Windows image repository | `us.gcr.io/k8s-artifacts-prod/csi-secrets-store/driver` |
3335
| `windows.image.pullPolicy` | Windows image pull policy | `IfNotPresent` |
3436
| `windows.image.tag` | Windows image tag | `v0.0.12` |
3537
| `windows.enabled` | Install secrets store csi driver on windows nodes | false |
3638
| `windows.kubeletRootDir` | Configure the kubelet root dir | `C:\var\lib\kubelet` |
3739
| `windows.nodeSelector` | Node Selector for the daemonset on windows nodes | `{}` |
40+
| `windows.tolerations` | Tolerations for the daemonset on windows nodes | `[]` |
41+
| `windows.metricsAddr` | The address the metric endpoint binds to | `:8080` |
3842
| `logLevel.debug` | Enable debug logging | true |
3943
| `livenessProbe.port` | Liveness probe port | `9808` |
4044
| `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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ spec:
5252
{{- if and (semverCompare ">= v0.0.9-0" .Values.windows.image.tag) .Values.minimumProviderVersions }}
5353
- "--min-provider-version={{ .Values.minimumProviderVersions }}"
5454
{{- end }}
55+
- "--metrics-addr={{ .Values.windows.metricsAddr }}"
5556
env:
5657
- name: CSI_ENDPOINT
5758
value: unix://C:\\csi\\csi.sock
@@ -120,3 +121,7 @@ spec:
120121
{{- toYaml .Values.windows.nodeSelector | nindent 8 }}
121122
{{- end }}
122123
{{- end -}}
124+
{{- with .Values.windows.tolerations }}
125+
tolerations:
126+
{{ toYaml . | indent 8 }}
127+
{{- end }}

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ spec:
5454
{{- if and (semverCompare ">= v0.0.8-0" .Values.linux.image.tag) .Values.minimumProviderVersions }}
5555
- "--min-provider-version={{ .Values.minimumProviderVersions }}"
5656
{{- end }}
57+
- "--metrics-addr={{ .Values.linux.metricsAddr }}"
5758
env:
5859
- name: CSI_ENDPOINT
5960
value: unix:///csi/csi.sock
@@ -123,3 +124,7 @@ spec:
123124
{{- toYaml .Values.linux.nodeSelector | nindent 8 }}
124125
{{- end }}
125126
{{- end -}}
127+
{{- with .Values.linux.tolerations }}
128+
tolerations:
129+
{{ toYaml . | indent 8 }}
130+
{{- end }}

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ linux:
66
pullPolicy: Always
77
kubeletRootDir: /var/lib/kubelet
88
nodeSelector: {}
9+
tolerations: []
10+
metricsAddr: ":8080"
911

1012
windows:
1113
enabled: false
@@ -15,6 +17,8 @@ windows:
1517
pullPolicy: IfNotPresent
1618
kubeletRootDir: C:\var\lib\kubelet
1719
nodeSelector: {}
20+
tolerations: []
21+
metricsAddr: ":8080"
1822

1923
logLevel:
2024
debug: true

0 commit comments

Comments
 (0)