Skip to content

Commit

Permalink
Add support for tolerations in helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
geobeau committed Nov 3, 2023
1 parent e8f26cd commit 44bc2b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,8 @@ spec:
securityContext:
runAsNonRoot: true
serviceAccountName: {{ include "chart.fullname" . }}-controller-manager
terminationGracePeriodSeconds: 10
terminationGracePeriodSeconds: 10
{{- with .Values.controllerManager.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
1 change: 1 addition & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ controllerManager:
replicas: 1
serviceAccount:
annotations: {}
tolerations: {}
kubernetesClusterDomain: cluster.local
metricsService:
ports:
Expand Down

0 comments on commit 44bc2b5

Please sign in to comment.