From ccfbd4340f28e79738379ff0e601c6dbd3b3bd54 Mon Sep 17 00:00:00 2001 From: Phil Sphicas Date: Thu, 7 Jan 2021 18:46:19 +0000 Subject: [PATCH] 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: * maas-ingress deployment Change-Id: I8f8239dc868e30d0203cb994b0eb6a615f40d87b --- charts/maas/Chart.yaml | 2 +- charts/maas/templates/deployment-maas-ingress.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/maas/Chart.yaml b/charts/maas/Chart.yaml index eb603b1..399b3b3 100755 --- a/charts/maas/Chart.yaml +++ b/charts/maas/Chart.yaml @@ -15,7 +15,7 @@ apiVersion: v1 description: Chart to run Canonical MaaS name: maas -version: 0.1.0 +version: 0.1.1 home: https://docs.ubuntu.com/maas sources: - https://git.launchpad.net/maas diff --git a/charts/maas/templates/deployment-maas-ingress.yaml b/charts/maas/templates/deployment-maas-ingress.yaml index 6ea2b32..350a44f 100644 --- a/charts/maas/templates/deployment-maas-ingress.yaml +++ b/charts/maas/templates/deployment-maas-ingress.yaml @@ -192,6 +192,7 @@ spec: subPath: maas-vip-configure readOnly: true - mountPath: /mnt/host-rootfs + mountPropagation: HostToContainer name: host-rootfs readOnly: true containers: