Merge pull request #10224 from thalesmg/helm-cluster-ip

feat(helm): add option to customize `clusterIP`
This commit is contained in:
Thales Macedo Garitezi 2023-03-29 09:44:42 -03:00 committed by GitHub
commit 6e596ec322
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 2 deletions

View File

@ -0,0 +1 @@
Add the option to customize `clusterIP` in Helm chart, so that a user may set it to a fixed IP.

View File

@ -114,7 +114,7 @@ metadata:
spec:
type: ClusterIP
sessionAffinity: None
clusterIP: None
clusterIP: {{ .Values.service.clusterIP | default "None" }}
publishNotReadyAddresses: true
ports:
- name: mqtt

View File

@ -114,7 +114,7 @@ metadata:
spec:
type: ClusterIP
sessionAffinity: None
clusterIP: None
clusterIP: {{ .Values.service.clusterIP | default "None" }}
publishNotReadyAddresses: true
ports:
- name: mqtt

View File

@ -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