Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #122 from FabianKramm/master
Browse files Browse the repository at this point in the history
build: only use nodeselector if defined
  • Loading branch information
FabianKramm authored May 7, 2021
2 parents cd5110c + 39ae8e9 commit d813152
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ spec:
spec:
terminationGracePeriodSeconds: 10
serviceAccountName: {{ template "kiosk.serviceAccountName" . }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}
{{- end }}
containers:
- ports:
- name: webhook
Expand Down

0 comments on commit d813152

Please sign in to comment.