From 7e5d171bb35f6de581df4f799a3ad8c7efa8fa11 Mon Sep 17 00:00:00 2001 From: GD <9uill4ume@gmail.com> Date: Mon, 24 Feb 2020 23:29:35 +0100 Subject: [PATCH] Add annotations to the service (#19777) Signed-off-by: 9uill4ume <9uill4ume@gmail.com> --- stable/gangway/Chart.yaml | 2 +- stable/gangway/templates/service.yaml | 4 ++++ stable/gangway/values.yaml | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/stable/gangway/Chart.yaml b/stable/gangway/Chart.yaml index 2aa8bf42b1..293653a540 100644 --- a/stable/gangway/Chart.yaml +++ b/stable/gangway/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: An application that can be used to easily enable authentication flows via OIDC for a kubernetes cluster. name: gangway -version: 0.4.0 +version: 0.4.1 appVersion: 3.3.0 home: https://github.com/heptiolabs/gangway sources: diff --git a/stable/gangway/templates/service.yaml b/stable/gangway/templates/service.yaml index 2fa366fd8a..26001de987 100644 --- a/stable/gangway/templates/service.yaml +++ b/stable/gangway/templates/service.yaml @@ -11,6 +11,10 @@ metadata: helm.sh/chart: {{ include "gangway.chart" . }} app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- with .Values.service.annotations }} + annotations: +{{ toYaml . | indent 4 }} +{{- end }} spec: type: {{ .Values.service.type }} ports: diff --git a/stable/gangway/values.yaml b/stable/gangway/values.yaml index 4c5c69fa07..0944435875 100644 --- a/stable/gangway/values.yaml +++ b/stable/gangway/values.yaml @@ -142,6 +142,7 @@ service: port: 80 # Specifies a loadBalancerIP when using LoadBalancer service type # loadBalancerIP: 192.168.0.51 + annotations: {} ingress: enabled: false