Skip to content

Commit

Permalink
Add option to set tolerations (#155)
Browse files Browse the repository at this point in the history
* Add option to set tolerations

* Bump chart version
  • Loading branch information
mwoudstra authored Nov 7, 2024
1 parent aba1aa8 commit 9621880
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/portainer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.

version: 1.0.57
version: 1.0.58

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
3 changes: 2 additions & 1 deletion charts/portainer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ spec:
labels:
{{- include "portainer.selectorLabels" . | nindent 8 }}
spec:
nodeSelector: {{- toYaml .Values.nodeSelector | nindent 8 -}}
nodeSelector: {{- toYaml .Values.nodeSelector | nindent 8 }}
tolerations: {{- toYaml .Values.tolerations | nindent 8 -}}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
Expand Down
1 change: 1 addition & 0 deletions charts/portainer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ image:
imagePullSecrets: []

nodeSelector: {}
tolerations: []

serviceAccount:
annotations: {}
Expand Down

0 comments on commit 9621880

Please sign in to comment.