Skip to content

Commit

Permalink
Add loadbalancer.ip support (#119)
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha authored Sep 7, 2023
1 parent 1fa212b commit ca18829
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/multicluster-controlplane/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ spec:
type: ClusterIP
{{- else if eq .Values.loadbalancer.enabled true }}
type: LoadBalancer
{{- if .Values.loadbalancer.ip }}
loadBalancerIP: {{ .Values.loadbalancer.ip }}
{{- end }}
{{- else if eq .Values.nodeport.enabled true }}
type: NodePort
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions charts/multicluster-controlplane/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ route:

loadbalancer:
enabled: false
ip: ""

nodeport:
enabled: false
Expand Down

0 comments on commit ca18829

Please sign in to comment.