From 8a31a48e3137518cd5add7246cc80d7b83dd6aac Mon Sep 17 00:00:00 2001 From: Richard Boisvert Date: Sun, 29 Mar 2026 10:51:40 -0400 Subject: [PATCH] chore: add annotations for pod and service --- chart/templates/deployment.yaml | 4 ++++ chart/templates/service.yaml | 4 ++++ chart/values.yaml | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index c615920..8e5e002 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -13,6 +13,10 @@ spec: {{- include "devolutions-server.selectorLabels" . | nindent 6 }} template: metadata: + {{- with .Values.podAnnotations }} + annotations: + {{- toYaml . | nindent 8 }} + {{- end }} labels: {{- include "devolutions-server.selectorLabels" . | nindent 8 }} spec: diff --git a/chart/templates/service.yaml b/chart/templates/service.yaml index dfcb60c..16840ed 100644 --- a/chart/templates/service.yaml +++ b/chart/templates/service.yaml @@ -4,6 +4,10 @@ metadata: name: {{ include "devolutions-server.fullname" . }} labels: {{- include "devolutions-server.labels" . | nindent 4 }} + {{- with .Values.service.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} spec: type: {{ .Values.service.type }} ports: diff --git a/chart/values.yaml b/chart/values.yaml index 477f97a..d8d0da8 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -85,6 +85,10 @@ service: type: ClusterIP port: 5000 targetPort: 5000 + annotations: {} + +# Pod annotations +podAnnotations: {} # HTTPRoute (Gateway API) configuration httproute: