cmd/k8s-operator: allow custom annotations on deployment (#17143)

Fixes #17188

Signed-off-by: Anthony SCHWARTZ <antho.schwartz@gmail.com>
Signed-off-by: Anthony SCHWARTZ <anthony.schwartz@ext.ec.europa.eu>
This commit is contained in:
Anthony
2026-06-09 15:25:40 +01:00
committed by GitHub
parent 2767100bc2
commit 819f3ba7c1
2 changed files with 6 additions and 0 deletions
@@ -6,6 +6,9 @@ kind: Deployment
metadata:
name: operator
namespace: {{ .Release.Namespace }}
{{- if .Values.annotations }}
annotations: {{- toYaml .Values.annotations | nindent 4 }}
{{- end }}
spec:
replicas: 1
strategy:
@@ -62,6 +62,9 @@ operatorConfig:
resources: {}
# Specifies annotations for deployment
annotations: {}
podAnnotations: {}
podLabels: {}