Skip to content

Commit

Permalink
Make load-balancer optional
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonVides committed Aug 15, 2024
1 parent 84c1b14 commit 67e5d22
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MongooseIM/templates/mongoose-svc-lb.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{ if .Values.loadbalancer.enabled }}
apiVersion: v1
kind: Service
metadata:
Expand Down Expand Up @@ -44,3 +45,4 @@ spec:
{{- if .Values.LoadBalancerIP }}
loadBalancerIP: {{ .Values.loadBalancerIP }}
{{- end }}
{{ end }}
3 changes: 3 additions & 0 deletions MongooseIM/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ affinity: {}
loadBalancerIP: ""
loadBalancerAnnotations: {}

loadbalancer:
enabled: true

nodeport:
enabled: false

Expand Down

0 comments on commit 67e5d22

Please sign in to comment.