Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(helm): add option to customize clusterIP #10224

Merged
merged 2 commits into from
Mar 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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