From 6d8ec32f1af0effb4e2cc51ab6b665872cc2c320 Mon Sep 17 00:00:00 2001 From: Leonard Czarski Date: Mon, 9 Dec 2024 11:38:29 +0000 Subject: [PATCH] add podLabels to druid-operator deployment (#191) --- chart/templates/deployment.yaml | 3 +++ chart/values.yaml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index e9204484..3ccc6b24 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -24,6 +24,9 @@ spec: {{- end }} labels: {{- include "druid-operator.selectorLabels" . | nindent 8 }} + {{- with .Values.podLabels }} + {{ toYaml . | nindent 8 }} + {{- end }} control-plane: controller-manager spec: {{- with .Values.nodeSelector }} diff --git a/chart/values.yaml b/chart/values.yaml index ffa79d17..e6e8fbfd 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -53,6 +53,8 @@ serviceAccount: podAnnotations: {} +podLabels: {} + podSecurityContext: runAsNonRoot: true fsGroup: 65532