Ceph-RGW missing mon port configuration
- Adding missing changes from merged PS 590095 Change-Id: I0bae35ff08c9d422f9f284f65089171f9879766a
This commit is contained in:
parent
545fa50eef
commit
6be67bafea
@ -22,10 +22,15 @@ limitations under the License.
|
|||||||
{{- if or (.Values.deployment.ceph) (.Values.deployment.client_secrets) }}
|
{{- if or (.Values.deployment.ceph) (.Values.deployment.client_secrets) }}
|
||||||
|
|
||||||
{{- if empty .Values.conf.ceph.global.mon_host -}}
|
{{- if empty .Values.conf.ceph.global.mon_host -}}
|
||||||
{{- $monHost := tuple "ceph_mon" "internal" . | include "helm-toolkit.endpoints.hostname_fqdn_endpoint_lookup" }}
|
{{- $monHost := tuple "ceph_mon" "internal" "mon" . | include "helm-toolkit.endpoints.host_and_port_endpoint_uri_lookup" }}
|
||||||
{{- $_ := $monHost | set .Values.conf.ceph.global "mon_host" -}}
|
{{- $_ := $monHost | set .Values.conf.ceph.global "mon_host" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- if empty .Values.conf.ceph.global.mon_addr -}}
|
||||||
|
{{- $monPort := tuple "ceph_mon" "internal" "mon" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
||||||
|
{{- $_ := printf ":%s" $monPort | set .Values.conf.ceph.global "mon_addr" -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
{{- if empty .Values.conf.ceph.osd.cluster_network -}}
|
{{- if empty .Values.conf.ceph.osd.cluster_network -}}
|
||||||
{{- $_ := .Values.network.cluster | set .Values.conf.ceph.osd "cluster_network" -}}
|
{{- $_ := .Values.network.cluster | set .Values.conf.ceph.osd "cluster_network" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
Loading…
Reference in New Issue
Block a user