Skip to content

Commit

Permalink
Add the option to add static public IP
Browse files Browse the repository at this point in the history
  • Loading branch information
doernemt-c8y committed May 7, 2024
1 parent b6f3d97 commit bf8e255
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/metabase/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ metadata:
{{- end }}
spec:
type: {{ .Values.service.type }}
{{ - if .Values.service.loadBalancerIP }}
{{- if .Values.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{ - end }}
{{- end }}
{{- if .Values.service.loadBalancerSourceRanges}}
loadBalancerSourceRanges:
{{toYaml .Values.service.loadBalancerSourceRanges | indent 4 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/metabase/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ service:
# Used to add custom labels to the Service.
loadBalancerSourceRanges:
{}
# Used to configure a static IP address
loadBalancerIP:

ingress:
enabled: false
Expand Down

0 comments on commit bf8e255

Please sign in to comment.