Skip to content

Commit

Permalink
Merge pull request #10224 from thalesmg/helm-cluster-ip
Browse files Browse the repository at this point in the history
feat(helm): add option to customize `clusterIP`
  • Loading branch information
thalesmg committed Mar 29, 2023
2 parents 80eb9d7 + 2f344ec commit 6e596ec
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions changes/ce/feat-10224.en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add the option to customize `clusterIP` in Helm chart, so that a user may set it to a fixed IP.
2 changes: 1 addition & 1 deletion deploy/charts/emqx-enterprise/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ metadata:
spec:
type: ClusterIP
sessionAffinity: None
clusterIP: None
clusterIP: {{ .Values.service.clusterIP | default "None" }}
publishNotReadyAddresses: true
ports:
- name: mqtt
Expand Down
2 changes: 1 addition & 1 deletion deploy/charts/emqx/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ metadata:
spec:
type: ClusterIP
sessionAffinity: None
clusterIP: None
clusterIP: {{ .Values.service.clusterIP | default "None" }}
publishNotReadyAddresses: true
ports:
- name: mqtt
Expand Down
3 changes: 3 additions & 0 deletions deploy/charts/emqx/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ service:
## Service type
##
type: ClusterIP
## The cluster IP if one wants to customize it to a fixed value
##
clusterIP: None
## Port for MQTT
##
mqtt: 1883
Expand Down

0 comments on commit 6e596ec

Please sign in to comment.