[incubator/gocd] Add support for custom annotations (#3757)

This commit is contained in:
amerghazal
2018-02-19 22:03:38 -08:00
committed by k8s-ci-robot
parent fe9a11bfff
commit 402d81187a
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
name: gocd
home: https://www.gocd.org/
version: 0.1.0
version: 0.2.0
appVersion: 18.1.0
description: A GoCD Helm chart for Kubernetes. GoCD is an Open source continuous delivery server to model and visualize complex workflows with ease.
icon: https://gocd.github.io/assets/images/go-icon-black-192x192.svg
+4
View File
@@ -2,6 +2,10 @@ apiVersion: v1
kind: Service
metadata:
name: {{ template "gocd.fullname" . }}-server
annotations:
{{- range $key, $value := .Values.server.service.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
labels:
app: {{ template "gocd.name" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"