diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 3d92fb4..5879854 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -238,3 +238,15 @@ spec: port: http resources: {{- toYaml .Values.resources | nindent 12 }} + {{- with .Values.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.affinity }} + affinity: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }}