diff --git a/charts/athens-proxy/Chart.yaml b/charts/athens-proxy/Chart.yaml index b0fcfbc0..54635ce6 100644 --- a/charts/athens-proxy/Chart.yaml +++ b/charts/athens-proxy/Chart.yaml @@ -1,5 +1,5 @@ name: athens-proxy -version: 0.3.3 +version: 0.3.4 appVersion: 0.6.0 description: The proxy server for Go modules icon: https://raw.githubusercontent.com/gomods/athens/master/docs/static/banner.png diff --git a/charts/athens-proxy/templates/service.yaml b/charts/athens-proxy/templates/service.yaml index e2420e1e..db289fee 100644 --- a/charts/athens-proxy/templates/service.yaml +++ b/charts/athens-proxy/templates/service.yaml @@ -2,6 +2,10 @@ apiVersion: v1 kind: Service metadata: name: {{ template "fullname" . }} +{{- if .Values.service.annotations }} + annotations: +{{ toYaml .Values.service.annotations | indent 4 }} +{{- end }} labels: app: {{ template "fullname" . }} chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" diff --git a/charts/athens-proxy/values.yaml b/charts/athens-proxy/values.yaml index f929870d..9cabbfa3 100644 --- a/charts/athens-proxy/values.yaml +++ b/charts/athens-proxy/values.yaml @@ -11,6 +11,8 @@ image: pullPolicy: IfNotPresent service: + ## Additional annotations to apply to the service + annotations: {} ## Port as exposed by the service servicePort: 80 ## Type of service; valid values are "ClusterIP", "LoadBalancer", and