Skip to content

Commit

Permalink
Add nodeSelector and affinity to deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Elbandi committed Oct 9, 2024
1 parent b8f75fb commit ce29e2d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/piraeus/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,12 @@ spec:
serviceAccountName: {{ include "piraeus-operator.serviceAccountName" . }}
terminationGracePeriodSeconds: 10
priorityClassName: {{ .Values.priorityClassName | default "system-cluster-critical" }}
nodeSelector:
{{- toYaml .Values.nodeSelector | nindent 8 }}
tolerations:
{{- toYaml .Values.tolerations | nindent 8 }}
affinity:
{{- toYaml .Values.affinity | nindent 8 }}
volumes:
- name: cert
secret:
Expand Down

0 comments on commit ce29e2d

Please sign in to comment.