Skip to content

Commit 1c5a9d8

Browse files
jDmacDyiliang114
authored andcommitted
Add pod annotations (coder#6432)
1 parent 47a1e15 commit 1c5a9d8

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
@@ -20,6 +20,9 @@ spec:
2020
labels:
2121
app.kubernetes.io/name: {{ include "code-server.name" . }}
2222
app.kubernetes.io/instance: {{ .Release.Name }}
23+
{{- if .Values.podAnnotations }}
24+
annotations: {{- toYaml .Values.podAnnotations | nindent 8 }}
25+
{{- end }}
2326
spec:
2427
imagePullSecrets: {{- toYaml .Values.imagePullSecrets | nindent 8 }}
2528
{{- if .Values.hostnameOverride }}

0 commit comments

Comments
 (0)