From 57c5485501387725a448d8f7d182e5cd6d897ace Mon Sep 17 00:00:00 2001 From: Steve Kriss Date: Thu, 21 Jun 2018 16:32:13 -0700 Subject: [PATCH] restic: use HostToContainer mount prop. for host-pods volume Signed-off-by: Steve Kriss --- examples/aws/20-restic-daemonset.yaml | 1 + examples/azure/20-restic-daemonset.yaml | 1 + examples/gcp/20-restic-daemonset.yaml | 1 + examples/minio/30-restic-daemonset.yaml | 1 + 4 files changed, 4 insertions(+) diff --git a/examples/aws/20-restic-daemonset.yaml b/examples/aws/20-restic-daemonset.yaml index 01ff91b74..c8fa57721 100644 --- a/examples/aws/20-restic-daemonset.yaml +++ b/examples/aws/20-restic-daemonset.yaml @@ -51,6 +51,7 @@ spec: mountPath: /credentials - name: host-pods mountPath: /host_pods + mountPropagation: HostToContainer - name: scratch mountPath: /scratch env: diff --git a/examples/azure/20-restic-daemonset.yaml b/examples/azure/20-restic-daemonset.yaml index 356d33a8f..a5c30c5a8 100644 --- a/examples/azure/20-restic-daemonset.yaml +++ b/examples/azure/20-restic-daemonset.yaml @@ -46,6 +46,7 @@ spec: volumeMounts: - name: host-pods mountPath: /host_pods + mountPropagation: HostToContainer - name: scratch mountPath: /scratch envFrom: diff --git a/examples/gcp/20-restic-daemonset.yaml b/examples/gcp/20-restic-daemonset.yaml index 8c63c9094..62aafb8e3 100644 --- a/examples/gcp/20-restic-daemonset.yaml +++ b/examples/gcp/20-restic-daemonset.yaml @@ -51,6 +51,7 @@ spec: mountPath: /credentials - name: host-pods mountPath: /host_pods + mountPropagation: HostToContainer - name: scratch mountPath: /scratch env: diff --git a/examples/minio/30-restic-daemonset.yaml b/examples/minio/30-restic-daemonset.yaml index ca44967b5..b39b55ad8 100644 --- a/examples/minio/30-restic-daemonset.yaml +++ b/examples/minio/30-restic-daemonset.yaml @@ -51,6 +51,7 @@ spec: mountPath: /credentials - name: host-pods mountPath: /host_pods + mountPropagation: HostToContainer - name: scratch mountPath: /scratch env: