From 70456cad30f3b9939e219ed252ce2741acaffb58 Mon Sep 17 00:00:00 2001 From: Anthony Date: Wed, 4 Jun 2025 08:10:58 +0200 Subject: [PATCH] Allow to add custom annotations for deployment --- charts/planka/templates/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/planka/templates/deployment.yaml b/charts/planka/templates/deployment.yaml index b49011df..c2747b00 100644 --- a/charts/planka/templates/deployment.yaml +++ b/charts/planka/templates/deployment.yaml @@ -4,6 +4,10 @@ metadata: name: {{ include "planka.fullname" . }} labels: {{- include "planka.labels" . | nindent 4 }} + {{- with .Values.deploymentAnnotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} spec: {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }}