Skip to content

Commit

Permalink
resolve #178 inherit tolerations and nodeselector from tserver] (#179)
Browse files Browse the repository at this point in the history
Co-authored-by: dgparker <[email protected]>
  • Loading branch information
dgparker and dgparker authored Dec 16, 2024
1 parent 743bf4b commit 5599ad6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions stable/yugabyte/templates/hooks/setup-credentials-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ spec:
chart: "{{ .Chart.Name }}"
component: "{{ .Values.Component }}"
spec:
{{- if .Values.nodeSelector }}
nodeSelector: {{ toYaml .Values.nodeSelector | nindent 8 }}
{{- end }}
{{- if .Values.tserver.tolerations }}
tolerations: {{ toYaml .Values.tserver.tolerations | nindent 8 }}
{{- end }}
restartPolicy: Never
containers:
- name: setup-credentials
Expand Down

0 comments on commit 5599ad6

Please sign in to comment.