From 727742c96b5038d36b53794596af1ee97aa005f7 Mon Sep 17 00:00:00 2001 From: Andrei Kondratiev Date: Wed, 14 Sep 2022 21:05:34 +0300 Subject: [PATCH] helm: added service annotations --- helm/templates/service.yaml | 2 ++ helm/values.yaml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/helm/templates/service.yaml b/helm/templates/service.yaml index 92ca3610974a5..5f25ec90c731c 100644 --- a/helm/templates/service.yaml +++ b/helm/templates/service.yaml @@ -6,6 +6,8 @@ metadata: name: coder labels: {{- include "coder.labels" . | nindent 4 }} + annotations: + {{- toYaml .Values.coder.service.annotations | nindent 4 }} spec: type: {{ .Values.coder.service.type }} ports: diff --git a/helm/values.yaml b/helm/values.yaml index 72f9d00de601d..23ca6cb495daa 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -78,3 +78,6 @@ coder: # your cloud and specify it here in production to avoid accidental IP # address changes. loadBalancerIP: "" + # coder.service.annotations -- The service annotations. See: + # https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer + annotations: {}