Skip to content

Commit 31a6be6

Browse files
add annotations
1 parent d669308 commit 31a6be6

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

‎ci/helm-chart/templates/service.yaml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ metadata:
44
name: {{ include "code-server.fullname" . }}
55
labels:
66
{{- include "code-server.labels" . | nindent 4 }}
7+
annotations:
8+
{{- with .Values.service.annotations }}
9+
{{- toYaml . | nindent 4 }}
10+
{{- end }}
711
spec:
812
type: {{ .Values.service.type }}
913
loadBalancerClass: {{ .Values.service.loadBalancerClass }}

‎ci/helm-chart/values.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ service:
4949
type: ClusterIP
5050
port: 8080
5151
loadBalancerClass: null
52+
annotations: {}
5253

5354
ingress:
5455
enabled: false

0 commit comments

Comments
 (0)