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:
Pete Birley 2018-04-03 20:24:56 -05:00
parent 7f5869f868
commit 3a69f0105d
2 changed files with 2 additions and 2 deletions

View File

@ -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 -}}

View File

@ -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 -}}