Use HostToContainer mountPropagation

For any host mounts that include /var/lib/kubelet, use HostToContainer
mountPropagation, which avoids creating extra references to mounts in
other containers.

Affects the following resources:
* ingress deployment
* openvswitch-vswitchd daemonset

Change-Id: I5964c595210af60d54158e6f7c962d5abe77fc2f
This commit is contained in:
Phil Sphicas 2021-01-07 18:27:19 +00:00
parent 96e002c64e
commit f08d30df6b
4 changed files with 4 additions and 2 deletions

View File

@ -15,7 +15,7 @@ apiVersion: v1
appVersion: v0.32.0 appVersion: v0.32.0
description: OpenStack-Helm Ingress Controller description: OpenStack-Helm Ingress Controller
name: ingress name: ingress
version: 0.2.0 version: 0.2.1
home: https://github.com/kubernetes/ingress home: https://github.com/kubernetes/ingress
sources: sources:
- https://github.com/kubernetes/ingress - https://github.com/kubernetes/ingress

View File

@ -217,6 +217,7 @@ spec:
readOnly: true readOnly: true
- name: host-rootfs - name: host-rootfs
mountPath: /mnt/host-rootfs mountPath: /mnt/host-rootfs
mountPropagation: HostToContainer
readOnly: true readOnly: true
- name: ingress-vip-init - name: ingress-vip-init
{{ tuple $envAll "ingress_routed_vip" | include "helm-toolkit.snippets.image" | indent 10 }} {{ tuple $envAll "ingress_routed_vip" | include "helm-toolkit.snippets.image" | indent 10 }}

View File

@ -15,7 +15,7 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: OpenStack-Helm OpenVSwitch description: OpenStack-Helm OpenVSwitch
name: openvswitch name: openvswitch
version: 0.1.2 version: 0.1.3
home: http://openvswitch.org home: http://openvswitch.org
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Neutron/OpenStack_Project_Neutron_vertical.png icon: https://www.openstack.org/themes/openstack/images/project-mascots/Neutron/OpenStack_Project_Neutron_vertical.png
sources: sources:

View File

@ -85,6 +85,7 @@ spec:
readOnly: true readOnly: true
- name: host-rootfs - name: host-rootfs
mountPath: /mnt/host-rootfs mountPath: /mnt/host-rootfs
mountPropagation: HostToContainer
readOnly: true readOnly: true
containers: containers:
- name: openvswitch-vswitchd - name: openvswitch-vswitchd