Skip to content

Commit

Permalink
Merge pull request #362 from chrisamert/addUpdateStrategyToHelmParame…
Browse files Browse the repository at this point in the history
…ters

Allow the 'updateStrategy' of the Daemonset to be configured in Helm
  • Loading branch information
k8s-ci-robot authored Oct 28, 2020
2 parents 35f5312 + 8be9e33 commit a7458eb
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manifest_staging/charts/secrets-store-csi-driver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ The following table lists the configurable parameters of the csi-secrets-store-p
| `linux.livenessProbe.resources` | The resource request/limits for the linux liveness-probe container image | `limits: 100m CPU, 100Mi; requests: 10m CPU, 20Mi` |
| `linux.env` | Environment variables to be passed for the daemonset on linux nodes | `[]` |
| `linux.priorityClassName` | Indicates the importance of a Pod relative to other Pods. | `""` |
| `linux.updateStrategy` | Configure a custom update strategy for the daemonset on linux nodes | `RollingUpdate with 1 maxUnavailable` |
| `windows.image.repository` | Windows image repository | `us.gcr.io/k8s-artifacts-prod/csi-secrets-store/driver` |
| `windows.image.pullPolicy` | Windows image pull policy | `IfNotPresent` |
| `windows.image.tag` | Windows image tag | `v0.0.16` |
Expand All @@ -61,6 +62,7 @@ The following table lists the configurable parameters of the csi-secrets-store-p
| `windows.livenessProbe.resources` | The resource request/limits for the windows liveness-probe container image | `limits: 200m CPU, 200Mi; requests: 10m CPU, 20Mi` |
| `windows.env` | Environment variables to be passed for the daemonset on windows nodes | `[]` |
| `windows.priorityClassName` | Indicates the importance of a Pod relative to other Pods. | `""` |
| `windows.updateStrategy` | Configure a custom update strategy for the daemonset on windows nodes | `RollingUpdate with 1 maxUnavailable` |
| `logLevel.debug` | Enable debug logging | true |
| `livenessProbe.port` | Liveness probe port | `9808` |
| `livenessProbe.logLevel` | Liveness probe container logging verbosity level | `2` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ spec:
selector:
matchLabels:
app: {{ template "sscd.name" . }}
updateStrategy:
{{ toYaml .Values.windows.updateStrategy | indent 4 }}
template:
metadata:
{{ include "sscd.labels" . | indent 6 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ spec:
selector:
matchLabels:
app: {{ template "sscd.name" . }}
updateStrategy:
{{ toYaml .Values.linux.updateStrategy | indent 4 }}
template:
metadata:
{{ include "sscd.labels" . | indent 6 }}
Expand Down
10 changes: 10 additions & 0 deletions manifest_staging/charts/secrets-store-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ linux:
cpu: 10m
memory: 20Mi

updateStrategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 1

kubeletRootDir: /var/lib/kubelet
nodeSelector: {}
tolerations: []
Expand Down Expand Up @@ -93,6 +98,11 @@ windows:
cpu: 10m
memory: 20Mi

updateStrategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 1

kubeletRootDir: C:\var\lib\kubelet
nodeSelector: {}
tolerations: []
Expand Down

0 comments on commit a7458eb

Please sign in to comment.