Skip to content

Commit 04ce27b

Browse files
authored
Allow custom annotation to deployment
1 parent b59a4f7 commit 04ce27b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ci/helm-chart/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ metadata:
77
helm.sh/chart: {{ include "code-server.chart" . }}
88
app.kubernetes.io/instance: {{ .Release.Name }}
99
app.kubernetes.io/managed-by: {{ .Release.Service }}
10+
{{- if .Values.Annotations }}
11+
annotations: {{- toYaml .Values.Annotations | nindent 8 }}
12+
{{- end }}
1013
spec:
1114
replicas: {{ .Values.replicaCount | default 1 }}
1215
strategy:

0 commit comments

Comments
 (0)