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
This commit is contained in:
parent
59d9c463bd
commit
26252ae1fd
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user