mirror of https://github.com/k3s-io/k3s
kubeadm: Fix kube-proxy regression caused by #46372
parent
562e721ece
commit
8628856c86
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue