mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
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:
committed by
k8s-ci-robot
parent
ac3aa9fe6f
commit
d419cb7bee
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user