Merge pull request #10224 from thalesmg/helm-cluster-ip
feat(helm): add option to customize `clusterIP`
This commit is contained in:
commit
6e596ec322
|
@ -0,0 +1 @@
|
||||||
|
Add the option to customize `clusterIP` in Helm chart, so that a user may set it to a fixed IP.
|
|
@ -114,7 +114,7 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
sessionAffinity: None
|
sessionAffinity: None
|
||||||
clusterIP: None
|
clusterIP: {{ .Values.service.clusterIP | default "None" }}
|
||||||
publishNotReadyAddresses: true
|
publishNotReadyAddresses: true
|
||||||
ports:
|
ports:
|
||||||
- name: mqtt
|
- name: mqtt
|
||||||
|
|
|
@ -114,7 +114,7 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
sessionAffinity: None
|
sessionAffinity: None
|
||||||
clusterIP: None
|
clusterIP: {{ .Values.service.clusterIP | default "None" }}
|
||||||
publishNotReadyAddresses: true
|
publishNotReadyAddresses: true
|
||||||
ports:
|
ports:
|
||||||
- name: mqtt
|
- name: mqtt
|
||||||
|
|
|
@ -128,6 +128,9 @@ service:
|
||||||
## Service type
|
## Service type
|
||||||
##
|
##
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
|
## The cluster IP if one wants to customize it to a fixed value
|
||||||
|
##
|
||||||
|
clusterIP: None
|
||||||
## Port for MQTT
|
## Port for MQTT
|
||||||
##
|
##
|
||||||
mqtt: 1883
|
mqtt: 1883
|
||||||
|
|
Loading…
Reference in New Issue