fix volume mount error in stackube-proxy

As kubernetes support mount propogation now, the "shared" propogation
type is not needed any more and would cause volume mount error.

Change-Id: Idfa718ff7f0591ed246dc06f4a78c886abe9efe2
Signed-off-by: Li Wei <liwei@anbutu.com>
This commit is contained in:
Li Wei 2017-11-14 19:49:52 +08:00
parent c853c272e0
commit 240094e061

View File

@ -109,9 +109,7 @@ spec:
name: stackube-config name: stackube-config
key: kubernetes-port key: kubernetes-port
volumeMounts: volumeMounts:
# mount as shared because mount propagation is not supported - mountPath: /var/run/netns
# in kubernetes api yet.
- mountPath: /var/run/netns:shared
name: netns name: netns
- mountPath: /etc/ssl/certs - mountPath: /etc/ssl/certs
name: certs name: certs
@ -165,4 +163,4 @@ apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
name: stackube-proxy name: stackube-proxy
namespace: kube-system namespace: kube-system