[Concourse] add nodeSelector for web (#6267)

* [concourse] add nodeselector for web

* bump chart version

* typo

* update values.yaml and README

* bump chart version

* Bump minor version for new feature
This commit is contained in:
Kamil Szczygieł
2018-07-02 13:07:28 -07:00
committed by k8s-ci-robot
parent 21c58fe9af
commit b657379f2e
4 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: concourse
version: 1.10.1
version: 1.11.0
appVersion: 3.14.1
description: Concourse is a simple and scalable CI system.
icon: https://avatars1.githubusercontent.com/u/7809479
+1
View File
@@ -108,6 +108,7 @@ The following table lists the configurable parameters of the Concourse chart and
| `web.additionalAffinities` | Additional affinities to apply to web pods. E.g: node affinity | `{}` |
| `web.annotations`| Concourse Web deployment annotations | `nil` |
| `web.tolerations` | Tolerations for the web nodes | `[]` |
| `web.nodeSelector` | Node selector for web nodes | `{}` |
| `web.service.type` | Concourse Web service type | `ClusterIP` |
| `web.service.annotations` | Concourse Web Service annotations | `nil` |
| `web.service.loadBalancerSourceRanges` | Concourse Web Service Load Balancer Source IP ranges | `nil` |
@@ -17,6 +17,10 @@ spec:
annotations:
{{ toYaml .Values.web.annotations | indent 8 }}
spec:
{{- with .Values.web.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}
{{- end }}
serviceAccountName: {{ if .Values.rbac.create }}{{ template "concourse.web.fullname" . }}{{ else }}{{ .Values.rbac.webServiceAccountName }}{{ end }}
tolerations:
{{ toYaml .Values.web.tolerations | indent 8 }}
+3
View File
@@ -214,6 +214,9 @@ web:
# key1: "value1"
# key2: "value2"
## Node selector for web nodes.
nodeSelector: {}
## Tolerations for the web nodes.
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
tolerations: []