diff --git a/pkg/model/components/etcdmanager/model.go b/pkg/model/components/etcdmanager/model.go index ca2ad9602b..eb2d01dd4e 100644 --- a/pkg/model/components/etcdmanager/model.go +++ b/pkg/model/components/etcdmanager/model.go @@ -175,6 +175,7 @@ spec: - mountPath: /etc/hosts name: hosts hostNetwork: true + hostPID: true # helps with mounting volumes from inside a container volumes: - hostPath: path: / diff --git a/pkg/model/components/etcdmanager/tests/minimal/tasks.yaml b/pkg/model/components/etcdmanager/tests/minimal/tasks.yaml index 310b967df5..4ea8ad7b17 100644 --- a/pkg/model/components/etcdmanager/tests/minimal/tasks.yaml +++ b/pkg/model/components/etcdmanager/tests/minimal/tasks.yaml @@ -58,6 +58,7 @@ Contents: - mountPath: /var/log/etcd.log name: varlogetcd hostNetwork: true + hostPID: true tolerations: - key: CriticalAddonsOnly operator: Exists @@ -119,6 +120,7 @@ Contents: - mountPath: /var/log/etcd.log name: varlogetcd hostNetwork: true + hostPID: true tolerations: - key: CriticalAddonsOnly operator: Exists