Skip to content

Commit

Permalink
feat(chart): configure additional tolerations (#518)
Browse files Browse the repository at this point in the history
Fixes #512
  • Loading branch information
apricote authored Sep 18, 2023
1 parent 3d153ab commit 0d25cb6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ spec:

- key: "node.kubernetes.io/not-ready"
effect: "NoExecute"

{{- if gt (len .Values.additionalTolerations) 0 }}
{{ toYaml .Values.additionalTolerations | nindent 8 }}
{{- end }}

{{- if $.Values.networking.enabled }}
hostNetwork: true
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,5 @@ resources:
selectorLabels:
app.kubernetes.io/name: '{{ include "hcloud-cloud-controller-manager.name" $ }}'
app.kubernetes.io/instance: '{{ $.Release.Name }}'

additionalTolerations: []

0 comments on commit 0d25cb6

Please sign in to comment.