diff --git a/stable/concourse/Chart.yaml b/stable/concourse/Chart.yaml index 9ca4d02ab4..0efa20983d 100644 --- a/stable/concourse/Chart.yaml +++ b/stable/concourse/Chart.yaml @@ -1,5 +1,5 @@ name: concourse -version: 3.5.0 +version: 3.5.1 appVersion: 4.2.2 description: Concourse is a simple and scalable CI system. icon: https://avatars1.githubusercontent.com/u/7809479 diff --git a/stable/concourse/templates/web-deployment.yaml b/stable/concourse/templates/web-deployment.yaml index fdacb076a5..21c4843020 100644 --- a/stable/concourse/templates/web-deployment.yaml +++ b/stable/concourse/templates/web-deployment.yaml @@ -15,13 +15,7 @@ spec: app: {{ template "concourse.web.fullname" . }} release: "{{ .Release.Name }}" annotations: - {{- if .Values.concourse.web.prometheus.enabled }} - prometheus.io/scrape: "true" - prometheus.io/port: {{ .Values.concourse.web.prometheus.bindPort | quote }} - {{- end }} - {{- range $key, $value := .Values.web.annotations }} - {{ $key }}: {{ $value | quote }} - {{- end }} +{{ toYaml .Values.web.annotations | indent 8 }} spec: {{- with .Values.web.nodeSelector }} nodeSelector: diff --git a/stable/concourse/templates/web-svc.yaml b/stable/concourse/templates/web-svc.yaml index 43d2057926..fb6b8205ab 100644 --- a/stable/concourse/templates/web-svc.yaml +++ b/stable/concourse/templates/web-svc.yaml @@ -8,7 +8,13 @@ metadata: release: "{{ .Release.Name }}" heritage: "{{ .Release.Service }}" annotations: -{{ toYaml .Values.web.service.annotations | indent 4 }} + {{- range $key, $value := .Values.web.service.annotations }} + {{ $key }}: {{ $value | quote }} + {{- end }} + {{- if .Values.concourse.web.prometheus.enabled }} + prometheus.io/scrape: "true" + prometheus.io/port: {{ .Values.concourse.web.prometheus.bindPort | quote }} + {{- end }} spec: type: {{ .Values.web.service.type }} {{ if .Values.web.service.loadBalancerSourceRanges }}