[stable/concourse] Add ability to set annotations on web service. (#2982)

This commit is contained in:
matthope
2017-12-15 17:36:58 +01:00
committed by Reinhard Nägele
parent d86837d515
commit 64cb62ff1d
4 changed files with 14 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: concourse
version: 0.10.1
version: 0.10.2
appVersion: 3.6.0
description: Concourse is a simple and scalable CI system.
icon: https://avatars1.githubusercontent.com/u/7809479
+1
View File
@@ -113,6 +113,7 @@ The following tables lists the configurable parameters of the Concourse chart an
| `web.replicas` | Number of Concourse Web replicas | `1` |
| `web.resources` | Concourse Web resource requests and limits | `{requests: {cpu: "100m", memory: "128Mi"}}` |
| `web.service.type` | Concourse Web service type | `NodePort` |
| `web.service.annotations` | Concourse Web Service annotations | `{}` |
| `web.ingress.enabled` | Enable Concourse Web Ingress | `false` |
| `web.ingress.annotations` | Concourse Web Ingress annotations | `{}` |
| `web.ingress.hosts` | Concourse Web Ingress Hostnames | `[]` |
+6
View File
@@ -7,6 +7,12 @@ metadata:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
{{ if .Values.web.service.annotations }}
annotations:
{{- range $key, $value := .Values.web.service.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
spec:
type: {{ .Values.web.service.type }}
ports:
+6
View File
@@ -328,6 +328,12 @@ web:
##
type: ClusterIP
## Annotations to be added to the web service.
##
# annotations:
# prometheus.io/probe: "true"
# prometheus.io/probe_path: "/"
# If you fix atc nodeport, this parameter set(web.service.atcNodePort)
# atcNodePort: 30150
#