Skip to content

Commit

Permalink
feat(node): add tolerations
Browse files Browse the repository at this point in the history
  • Loading branch information
incubator4 committed Aug 30, 2024
1 parent c9d3683 commit 397de93
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/node/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ 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.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.5.0
version: 0.5.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "v1.0.0"
appVersion: "v1.0.2"

dependencies:
- name: rsshub
Expand Down
2 changes: 1 addition & 1 deletion charts/node/templates/broadcaster/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ spec:
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.broadcaster.tolerations }}
{{- with (mergeOverwrite (deepCopy .Values.global.tolerations) .Values.broadcaster.tolerations) }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion charts/node/templates/core/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ spec:
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.core.tolerations }}
{{- with (mergeOverwrite (deepCopy .Values.global.tolerations) .Values.core.tolerations) }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
Expand Down
4 changes: 4 additions & 0 deletions charts/node/templates/worker/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,8 @@ spec:
configMap:
name: {{ include "node.fullname" $ }}
defaultMode: 0644
{{- with .Values.global.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}

0 comments on commit 397de93

Please sign in to comment.