Skip to content

Commit

Permalink
Add nodeSelector, affinity, and toleration fields for pre-upgrade-job…
Browse files Browse the repository at this point in the history
… in ziti-route Chart
  • Loading branch information
Oleksandr Bezerov committed Jan 17, 2025
1 parent 4e202c8 commit 71ff389
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions charts/ziti-router/templates/pre-upgrade-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,18 @@ spec:
readOnly: false
command: ["migrate-identity.bash"]
# command: ["sh", "-c", "while true; do sleep 86400; done"]
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
- name: migrate-script
configMap:
Expand Down

0 comments on commit 71ff389

Please sign in to comment.