From b536d5b7f273ea7087e665e9b05d17db812ffe9e Mon Sep 17 00:00:00 2001 From: mstopa-splunk <139441697+mstopa-splunk@users.noreply.github.com> Date: Tue, 12 Sep 2023 11:42:40 +0200 Subject: [PATCH] fix: fix service value reference (#2151) * fix: fix value reference in service template --- charts/splunk-connect-for-syslog/templates/service.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/splunk-connect-for-syslog/templates/service.yaml b/charts/splunk-connect-for-syslog/templates/service.yaml index 4a81419047..cfe7b56483 100644 --- a/charts/splunk-connect-for-syslog/templates/service.yaml +++ b/charts/splunk-connect-for-syslog/templates/service.yaml @@ -4,7 +4,7 @@ metadata: name: {{ include "splunk-connect-for-syslog.fullname" . }}-tcp annotations: {{- if ( .Values.service.usemetallb | default true) }} - metallb.universe.tf/allow-shared-ip: {{ .Values.metallbsharingkey | default "splunk-connect" | quote }} + metallb.universe.tf/allow-shared-ip: {{ .Values.service.metallbsharingkey | default "splunk-connect" | quote }} {{- end }} {{- with .Values.service.annotations }} {{- toYaml . | nindent 4 }} @@ -83,7 +83,7 @@ metadata: name: {{ include "splunk-connect-for-syslog.fullname" . }}-udp annotations: {{- if ( .Values.service.usemetallb | default true) }} - metallb.universe.tf/allow-shared-ip: {{ .Values.metallbsharingkey | default "splunk-connect" | quote }} + metallb.universe.tf/allow-shared-ip: {{ .Values.service.metallbsharingkey | default "splunk-connect" | quote }} {{- end }} {{- with .Values.service.annotations }} {{- toYaml . | nindent 4 }}