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

Commit

Permalink
build: only use nodeselector if defined
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianKramm committed May 7, 2021
1 parent 74b4508 commit 39ae8e9
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 39ae8e9

Please sign in to comment.