Added nodeSelector to Concourse worker (#3876)

* Added additionalSpec to values and statefulset template

* conflict resolve

* Bumped chart version

* added space to comment

* replaced additionalSpec with more finegrained nodeSelector
This commit is contained in:
pontusarfwedson
2018-02-28 13:19:46 -08:00
committed by k8s-ci-robot
parent ac3aa9fe6f
commit d419cb7bee
3 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: concourse
version: 1.0.0
version: 1.0.1
appVersion: 3.9.0
description: Concourse is a simple and scalable CI system.
icon: https://avatars1.githubusercontent.com/u/7809479
@@ -20,6 +20,10 @@ spec:
{{ $key }}: {{ $value | quote }}
{{- end }}
spec:
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}
{{- end }}
serviceAccountName: {{ if .Values.rbac.create }}{{ template "concourse.worker.fullname" . }}{{ else }}{{ .Values.rbac.workerServiceAccountName }}{{ end }}
tolerations:
{{ toYaml .Values.worker.tolerations | indent 8 }}
+5
View File
@@ -323,6 +323,11 @@ worker:
# iam.amazonaws.com/role: arn:aws:iam::123456789012:role/concourse
#
## Node selector for the worker nodes.
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
nodeSelector: {}
# nodeSelector: {type: concourse}
## Additional affinities to add to the worker pods.
## Useful if you prefer to run workers on non-spot instances, for example
##