From d80568df20a70b851df529cb0c3228a51cdbe859 Mon Sep 17 00:00:00 2001 From: James MacDonald Date: Sat, 16 Sep 2023 01:31:05 +0100 Subject: [PATCH] Add pod annotations (#6432) --- 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 2beb8c1b5..f88304fc2 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 }}