kubeadm: Fix kube-proxy regression caused by #46372

pull/6/head
Lucas Käldström 2017-06-15 19:04:51 +03:00
parent 562e721ece
commit 8628856c86
No known key found for this signature in database
GPG Key ID: 3FA3783D77751514
1 changed files with 2 additions and 2 deletions

View File

@ -72,6 +72,8 @@ spec:
- /usr/local/bin/kube-proxy
- --kubeconfig=/var/lib/kube-proxy/kubeconfig.conf
{{ .ClusterCIDR }}
securityContext:
privileged: true
volumeMounts:
- mountPath: /var/lib/kube-proxy
name: kube-proxy
@ -79,8 +81,6 @@ spec:
- mountPath: /run/xtables.lock
name: xtables-lock
readOnly: false
securityContext:
privileged: true
hostNetwork: true
serviceAccountName: kube-proxy
# TODO: Why doesn't the Decoder recognize this new field and decode it properly? Right now it's ignored