diff --git a/ci/helm-chart/templates/service.yaml b/ci/helm-chart/templates/service.yaml index 1b58af0b1acd..27c4cc49e299 100644 --- a/ci/helm-chart/templates/service.yaml +++ b/ci/helm-chart/templates/service.yaml @@ -4,8 +4,13 @@ metadata: name: {{ include "code-server.fullname" . }} labels: {{- include "code-server.labels" . | nindent 4 }} + annotations: + {{- with .Values.service.annotations }} + {{- toYaml . | nindent 4 }} + {{- end }} spec: type: {{ .Values.service.type }} + loadBalancerClass: {{ .Values.service.loadBalancerClass }} ports: - port: {{ .Values.service.port }} targetPort: http diff --git a/ci/helm-chart/values.yaml b/ci/helm-chart/values.yaml index 57f36b87ff58..15308e2807d5 100644 --- a/ci/helm-chart/values.yaml +++ b/ci/helm-chart/values.yaml @@ -48,6 +48,8 @@ priorityClassName: "" service: type: ClusterIP port: 8080 + loadBalancerClass: null + annotations: {} ingress: enabled: false