Skip to content

Commit

Permalink
Add affinity and tolerations to flyte-pod-webhook deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-gre committed May 17, 2024
1 parent a378ece commit 9a95c67
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/flyte-core/templates/propeller/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@ spec:
{{- with .Values.flytepropeller.nodeSelector }}
nodeSelector: {{ tpl (toYaml .) $ | nindent 8 }}
{{- end }}
{{- with .Values.flytepropeller.affinity }}
affinity: {{ tpl (toYaml .) $ | nindent 8 }}
{{- end }}
{{- with .Values.flytepropeller.tolerations }}
tolerations: {{ tpl (toYaml .) $ | nindent 8 }}
{{- end }}
---
# Service
apiVersion: v1
Expand Down

0 comments on commit 9a95c67

Please sign in to comment.