feat(rabbitmq): remove clustering configuration from values.alpha.yaml
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
a6e7c36c5b
commit
3216038dd8
@ -62,20 +62,6 @@ configuration: |-
|
||||
{{- if and (not .Values.auth.securePassword) .Values.auth.password }}
|
||||
default_pass = {{ .Values.auth.password }}
|
||||
{{- end }}
|
||||
{{- if .Values.clustering.enabled }}
|
||||
## Clustering
|
||||
##
|
||||
cluster_name = {{ default (include "common.names.fullname" .) .Values.clustering.name }}
|
||||
cluster_formation.peer_discovery_backend = rabbit_peer_discovery_k8s
|
||||
cluster_formation.k8s.host = kubernetes.default
|
||||
cluster_formation.k8s.address_type = {{ .Values.clustering.addressType }}
|
||||
{{- $svcName := printf "%s-%s" (include "common.names.fullname" .) (default "headless" .Values.servicenameOverride) }}
|
||||
cluster_formation.k8s.service_name = {{ $svcName }}
|
||||
cluster_formation.k8s.hostname_suffix = .{{ $svcName }}.{{ include "common.names.namespace" . }}.svc.{{ .Values.clusterDomain }}
|
||||
cluster_formation.node_cleanup.interval = 10
|
||||
cluster_formation.node_cleanup.only_log_warning = true
|
||||
cluster_partition_handling = {{ .Values.clustering.partitionHandling }}
|
||||
{{- end }}
|
||||
{{ if and .Values.clustering.enabled .Values.loadDefinition.enabled }}
|
||||
cluster_formation.target_cluster_size_hint = {{ .Values.replicaCount }}
|
||||
{{ end }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user