Skip to content

Commit

Permalink
feat(goldpinger): add support to configure updateStrategy (#41)
Browse files Browse the repository at this point in the history
Signed-off-by: Joost Coelingh <[email protected]>
  • Loading branch information
triqster authored Jul 28, 2021
1 parent 0267dce commit 9824263
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/goldpinger/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions charts/goldpinger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 | `{}` |
Expand Down
4 changes: 4 additions & 0 deletions charts/goldpinger/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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" . }}
Expand Down
5 changes: 5 additions & 0 deletions charts/goldpinger/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
##
Expand Down

0 comments on commit 9824263

Please sign in to comment.