diff --git a/charts/goldpinger/Chart.yaml b/charts/goldpinger/Chart.yaml index 61c6813..8416a51 100644 --- a/charts/goldpinger/Chart.yaml +++ b/charts/goldpinger/Chart.yaml @@ -11,4 +11,4 @@ name: goldpinger sources: - https://github.com/bloomberg/goldpinger - https://github.com/okgolove/helm-charts -version: 4.1.1 +version: 4.2.1 diff --git a/charts/goldpinger/README.md b/charts/goldpinger/README.md index eec44ce..557872b 100644 --- a/charts/goldpinger/README.md +++ b/charts/goldpinger/README.md @@ -67,6 +67,7 @@ The following table lists the configurable parameters of the Goldpinger chart an | `priorityClassName` | Set a priorityClassName for pod | `` | | `podAnnotations` | Pod annotations | `{}` | | `podLabels` | Additional pod labels | `{}` | +| `updateStrategy` | Update strategy configuration | `{}` | | `nodeSelector` | Node labels for pod assignment | `{}` | | `tolerations` | List of node taints to tolerate | `[]` | | `affinity` | Map of node/pod affinities | `{}` | diff --git a/charts/goldpinger/templates/daemonset.yaml b/charts/goldpinger/templates/daemonset.yaml index c500b6f..e721f14 100644 --- a/charts/goldpinger/templates/daemonset.yaml +++ b/charts/goldpinger/templates/daemonset.yaml @@ -8,6 +8,10 @@ metadata: app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/managed-by: {{ .Release.Service }} spec: + {{- with .Values.updateStrategy }} + updateStrategy: + {{- toYaml . | nindent 4 }} + {{- end }} selector: matchLabels: app.kubernetes.io/name: {{ include "goldpinger.name" . }} diff --git a/charts/goldpinger/values.yaml b/charts/goldpinger/values.yaml index d442a8c..4a02413 100644 --- a/charts/goldpinger/values.yaml +++ b/charts/goldpinger/values.yaml @@ -62,6 +62,11 @@ podAnnotations: {} podLabels: {} +updateStrategy: {} + # type: RollingUpdate + # rollingUpdate: + # maxUnavailable: 1 + ## Node labels for pod assignment ## Ref: https://kubernetes.io/docs/user-guide/node-selection/ ##