From 26252ae1fd4eb7695c3a012bc95b88a03160bdfc Mon Sep 17 00:00:00 2001 From: Jaesang Lee Date: Mon, 28 Aug 2017 11:25:46 +0900 Subject: [PATCH] Set DNS policy for ceph-mon daemonset add dnsPolicy parameter in daemonset-mon.yaml, ceph-mon should have dnsPolicy ClusterFirstWithHostNet because it use hostNetwork. Closes-bug: 1713383 Change-Id: I14aba0f5caeb6cb7057aeadb18c60337b130da90 --- ceph/templates/daemonset-mon.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/ceph/templates/daemonset-mon.yaml b/ceph/templates/daemonset-mon.yaml index 74efabd598..d0e1ca7448 100644 --- a/ceph/templates/daemonset-mon.yaml +++ b/ceph/templates/daemonset-mon.yaml @@ -33,6 +33,7 @@ spec: initContainers: {{ tuple $envAll $dependencies "" | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }} hostNetwork: true + dnsPolicy: {{ .Values.pod.dns_policy }} serviceAccount: default containers: - name: ceph-mon