From 938bd7341b89ee8ca14aec19b9fced6105ffbac8 Mon Sep 17 00:00:00 2001 From: Andrei Kondratiev Date: Thu, 15 Sep 2022 08:01:40 +0300 Subject: [PATCH] helm: added service annotations (#4062) --- 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 92ca361097..5f25ec90c7 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 72f9d00de6..23ca6cb495 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: {}