Skip to content

Commit

Permalink
add tolerations pod
Browse files Browse the repository at this point in the history
  • Loading branch information
pablosanchezpaz committed Feb 22, 2023
1 parent 70feb45 commit 1ab6d45
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/_renders_pod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ spec: {{ include "ph.pod.render" . | nindent 2}}
{{ include "ph.init_containers.render" . }}

containers: {{ include "ph.pod.containers.render" . | nindent 2}}
{{ if .tolerations }}
tolerations: {{ .tolerations toYaml | nindent 2 }}
{{ end }}
{{ if .serviceAccountName }}
serviceAccountName: {{ .serviceAccountName }}
{{ end }}
Expand Down

0 comments on commit 1ab6d45

Please sign in to comment.