Skip to content

Commit 9a03912

Browse files
Merge pull request #2521 from openshift-cherrypick-robot/cherry-pick-2430-to-release-4.14
[release-4.14] OCPBUGS-42754: Set mount propagation to HostToContainer for /var/lib/kubelet
2 parents 25e9db2 + e801dbb commit 9a03912

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

bindata/network/multus/multus.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ spec:
223223
# kubelet socket
224224
- name: host-var-lib-kubelet
225225
mountPath: /var/lib/kubelet
226+
mountPropagation: HostToContainer
226227
- name: hostroot
227228
mountPath: /hostroot
228229
mountPropagation: HostToContainer

bindata/network/ovn-kubernetes/managed/multi-zone-interconnect/ovnkube-node.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@ spec:
447447
- mountPath: /var/lib/kubelet
448448
name: host-kubelet
449449
readOnly: true
450+
mountPropagation: HostToContainer
450451
{{ end }}
451452
# for checking ovs-configuration service
452453
- mountPath: /etc/systemd/system

bindata/network/ovn-kubernetes/self-hosted/multi-zone-interconnect/ovnkube-node.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,7 @@ spec:
469469
- mountPath: /var/lib/kubelet
470470
name: host-kubelet
471471
readOnly: true
472+
mountPropagation: HostToContainer
472473
{{ end }}
473474
# for checking ovs-configuration service
474475
- mountPath: /etc/systemd/system

0 commit comments

Comments
 (0)