Skip to content

Commit

Permalink
fix: add metallb annotations [run-int-tests] [run-ui-tests]
Browse files Browse the repository at this point in the history
Signed-off-by: Ilya Kheifets <[email protected]>
  • Loading branch information
ikheifets-splunk committed Dec 18, 2024
1 parent d9d44f5 commit c71c20e
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ metadata:
name: {{ include "splunk-connect-for-snmp.worker.fullname" . }}-flower
labels:
{{- include "splunk-connect-for-snmp.worker.flower.labels" . | nindent 4 }}

annotations:
metallb.universe.tf/allow-shared-ip: {{ .Values.traps.service.metallbsharingkey | default "splunk-connect" | quote }}
metallb.universe.tf/loadBalancerIPs: {{ .Values.flower.loadBalancerIP }}

spec:
selector:
Expand All @@ -15,8 +17,4 @@ spec:
port: {{ .Values.flower.port | default 80 }}
targetPort: 5555
type: LoadBalancer
{{- if .Values.flower.loadBalancerIP }}
externalIPs:
- {{ .Values.flower.loadBalancerIP }}
{{- end }}
{{- end }}

0 comments on commit c71c20e

Please sign in to comment.