From 16b242ca22f74b90d53ff2c2ac7b31f4ad7f2071 Mon Sep 17 00:00:00 2001 From: James MacDonald Date: Fri, 15 Sep 2023 10:02:33 +0000 Subject: [PATCH] add pod annotaions --- ci/helm-chart/templates/deployment.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/helm-chart/templates/deployment.yaml b/ci/helm-chart/templates/deployment.yaml index 2beb8c1b55cb..f88304fc2346 100644 --- a/ci/helm-chart/templates/deployment.yaml +++ b/ci/helm-chart/templates/deployment.yaml @@ -20,6 +20,9 @@ spec: labels: app.kubernetes.io/name: {{ include "code-server.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} + {{- if .Values.podAnnotations }} + annotations: {{- toYaml .Values.podAnnotations | nindent 8 }} + {{- end }} spec: imagePullSecrets: {{- toYaml .Values.imagePullSecrets | nindent 8 }} {{- if .Values.hostnameOverride }}