Ceph: allow un-interupted operation during partial mon outage
This PS updates the ceph chart to allow un-interupted operation during partial mon outage. Change-Id: Id3550fae00795906b629673aaf502dc7d7a5cc69
This commit is contained in:
parent
7f5869f868
commit
3a69f0105d
@ -22,7 +22,7 @@ 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" "discovery" . | include "helm-toolkit.endpoints.hostname_fqdn_endpoint_lookup" }}
|
{{- $monHost := tuple "ceph_mon" "internal" . | include "helm-toolkit.endpoints.hostname_fqdn_endpoint_lookup" }}
|
||||||
{{- $monHost | set .Values.conf.ceph.global "mon_host" | quote | trunc 0 -}}
|
{{- $monHost | set .Values.conf.ceph.global "mon_host" | quote | trunc 0 -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ limitations under the License.
|
|||||||
{{- with $envAll }}
|
{{- with $envAll }}
|
||||||
|
|
||||||
{{- if empty .Values.conf.ceph.global.mon_host -}}
|
{{- if empty .Values.conf.ceph.global.mon_host -}}
|
||||||
{{- $monHost := tuple "ceph_mon" "discovery" . | include "helm-toolkit.endpoints.hostname_fqdn_endpoint_lookup" }}
|
{{- $monHost := tuple "ceph_mon" "internal" . | include "helm-toolkit.endpoints.hostname_fqdn_endpoint_lookup" }}
|
||||||
{{- $monHost | set .Values.conf.ceph.global "mon_host" | quote | trunc 0 -}}
|
{{- $monHost | set .Values.conf.ceph.global "mon_host" | quote | trunc 0 -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user