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