Skip to content

Commit

Permalink
fix: fix service value reference (#2151)
Browse files Browse the repository at this point in the history
* fix: fix value reference in service template
  • Loading branch information
mstopa-splunk authored Sep 12, 2023
1 parent 2251466 commit b536d5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/splunk-connect-for-syslog/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit b536d5b

Please sign in to comment.