From 9747065115c85b423642890f903b06080ff1123a Mon Sep 17 00:00:00 2001 From: Ilya Kheifets Date: Tue, 10 Dec 2024 10:00:48 +0100 Subject: [PATCH] fix: selectors Signed-off-by: Ilya Kheifets --- .../templates/worker/flower/service.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/charts/splunk-connect-for-snmp/templates/worker/flower/service.yaml b/charts/splunk-connect-for-snmp/templates/worker/flower/service.yaml index af954989c..dc3d8f3ed 100644 --- a/charts/splunk-connect-for-snmp/templates/worker/flower/service.yaml +++ b/charts/splunk-connect-for-snmp/templates/worker/flower/service.yaml @@ -2,11 +2,14 @@ apiVersion: v1 kind: Service metadata: - name: {{ include "splunk-connect-for-snmp.worker.fullname" . }}-flower-svc + name: {{ include "splunk-connect-for-snmp.worker.fullname" . }}-flower + labels: + {{- include "splunk-connect-for-snmp.worker.flower.labels" . | nindent 4 }} + spec: selector: - app: flower + {{- include "splunk-connect-for-snmp.worker.flower.selectorLabels" . | nindent 4 }} ports: - protocol: TCP port: {{ .Values.flower.port | default 80 }}