From 4da27068ffbe65f6e28cdf4b2cab036a8c58172e Mon Sep 17 00:00:00 2001 From: sarthak gupta Date: Wed, 6 Sep 2023 14:33:34 +0530 Subject: [PATCH] chore: add annotations for pipeline-backend deployment --- charts/vdp/templates/pipeline-backend/deployment.yaml | 3 +++ charts/vdp/values.yaml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/charts/vdp/templates/pipeline-backend/deployment.yaml b/charts/vdp/templates/pipeline-backend/deployment.yaml index dd389e7a..cc71c5ee 100644 --- a/charts/vdp/templates/pipeline-backend/deployment.yaml +++ b/charts/vdp/templates/pipeline-backend/deployment.yaml @@ -7,6 +7,9 @@ metadata: app.kubernetes.io/component: pipeline-backend annotations: rollme: {{ randAlphaNum 5 | quote }} + {{- with .Values.pipelineBackend.annotations }} + {{- toYaml . | nindent 4 }} + {{- end }} spec: strategy: type: {{ .Values.updateStrategy.type }} diff --git a/charts/vdp/values.yaml b/charts/vdp/values.yaml index 15752176..20ab2e13 100644 --- a/charts/vdp/values.yaml +++ b/charts/vdp/values.yaml @@ -207,6 +207,8 @@ pipelineBackend: repository: instill/pipeline-backend tag: 0.14.1-alpha pullPolicy: IfNotPresent + # -- Annotation for deployment + annotations: {} # -- The command names to be executed commandName: migration: pipeline-backend-migrate