From 3a69f0105dccec9e4fcb8b45f63331cdc17d3c16 Mon Sep 17 00:00:00 2001 From: Pete Birley Date: Tue, 3 Apr 2018 20:24:56 -0500 Subject: [PATCH] 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 --- ceph-client/templates/configmap-etc-client.yaml | 2 +- ceph-osd/templates/configmap-etc.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ceph-client/templates/configmap-etc-client.yaml b/ceph-client/templates/configmap-etc-client.yaml index bf6df35ac6..d7e18501cb 100644 --- a/ceph-client/templates/configmap-etc-client.yaml +++ b/ceph-client/templates/configmap-etc-client.yaml @@ -22,7 +22,7 @@ limitations under the License. {{- if or (.Values.deployment.ceph) (.Values.deployment.client_secrets) }} {{- 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 -}} {{- end -}} diff --git a/ceph-osd/templates/configmap-etc.yaml b/ceph-osd/templates/configmap-etc.yaml index dfccaf470d..60f043988a 100644 --- a/ceph-osd/templates/configmap-etc.yaml +++ b/ceph-osd/templates/configmap-etc.yaml @@ -20,7 +20,7 @@ limitations under the License. {{- with $envAll }} {{- 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 -}} {{- end -}}