diff --git a/templates/sync-workspace-deployment.yaml b/templates/sync-workspace-deployment.yaml index 73557a2..67af6e2 100644 --- a/templates/sync-workspace-deployment.yaml +++ b/templates/sync-workspace-deployment.yaml @@ -90,6 +90,10 @@ spec: periodSeconds: 5 successThreshold: 1 timeoutSeconds: 5 + {{- with .Values.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} volumes: {{- if .Values.CACerts}} - name: cacert diff --git a/values.yaml b/values.yaml index 42722e8..82ce9f8 100644 --- a/values.yaml +++ b/values.yaml @@ -75,3 +75,5 @@ tests: # CACerts can be set like this: # helm install --set-file CACerts=/path/to/certs.pem CACerts: "" + +nodeSelector: {}