fix: add clusterDomain to enterprise chart
This commit is contained in:
parent
297d33dbad
commit
81e7f26ec6
|
@ -16,9 +16,9 @@ data:
|
||||||
EMQX_CLUSTER__K8S__SERVICE_NAME: {{ include "emqx.fullname" . }}-headless
|
EMQX_CLUSTER__K8S__SERVICE_NAME: {{ include "emqx.fullname" . }}-headless
|
||||||
EMQX_CLUSTER__K8S__NAMESPACE: {{ .Release.Namespace }}
|
EMQX_CLUSTER__K8S__NAMESPACE: {{ .Release.Namespace }}
|
||||||
EMQX_CLUSTER__K8S__ADDRESS_TYPE: "hostname"
|
EMQX_CLUSTER__K8S__ADDRESS_TYPE: "hostname"
|
||||||
EMQX_CLUSTER__K8S__SUFFIX: "svc.cluster.local"
|
EMQX_CLUSTER__K8S__SUFFIX: "svc.{{ .Values.clusterDomain }}"
|
||||||
{{- else if eq (.Values.emqxConfig.EMQX_CLUSTER__DISCOVERY_STRATEGY) "dns" }}
|
{{- else if eq (.Values.emqxConfig.EMQX_CLUSTER__DISCOVERY_STRATEGY) "dns" }}
|
||||||
EMQX_CLUSTER__DNS__NAME: "{{ include "emqx.fullname" . }}-headless.{{ .Release.Namespace }}.svc.cluster.local"
|
EMQX_CLUSTER__DNS__NAME: "{{ include "emqx.fullname" . }}-headless.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}"
|
||||||
EMQX_CLUSTER__DNS__RECORD_TYPE: "srv"
|
EMQX_CLUSTER__DNS__RECORD_TYPE: "srv"
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- range $index, $value := .Values.emqxConfig }}
|
{{- range $index, $value := .Values.emqxConfig }}
|
||||||
|
|
|
@ -35,6 +35,8 @@ serviceAccount:
|
||||||
## Forces the recreation of pods during helm upgrades. This can be useful to update configuration values even if the container image did not change.
|
## Forces the recreation of pods during helm upgrades. This can be useful to update configuration values even if the container image did not change.
|
||||||
recreatePods: false
|
recreatePods: false
|
||||||
|
|
||||||
|
clusterDomain: cluster.local
|
||||||
|
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
|
||||||
# Pod deployment policy
|
# Pod deployment policy
|
||||||
|
|
Loading…
Reference in New Issue