Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Commit 929e04f

Browse files
committed
*/kubelet: remove deprecated flag
As of 1.8 (https://issues.k8s.io/40050) this flag is deprecated and does nothing.
1 parent fef22c1 commit 929e04f

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

hack/multi-node/user-data.sample

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ coreos:
3939
--network-plugin=cni \
4040
--node-labels=node-role.kubernetes.io/master \
4141
--pod-manifest-path=/etc/kubernetes/manifests \
42-
--register-with-taints=node-role.kubernetes.io/master=:NoSchedule \
43-
--require-kubeconfig
42+
--register-with-taints=node-role.kubernetes.io/master=:NoSchedule
4443
ExecStop=-/usr/bin/rkt stop --uuid-file=/var/cache/kubelet-pod.uuid
4544
Restart=always
4645
RestartSec=5

hack/quickstart/kubelet.master

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ ExecStart=/usr/lib/coreos/kubelet-wrapper \
3232
--network-plugin=cni \
3333
--node-labels=node-role.kubernetes.io/master \
3434
--pod-manifest-path=/etc/kubernetes/manifests \
35-
--register-with-taints=node-role.kubernetes.io/master=:NoSchedule \
36-
--require-kubeconfig
35+
--register-with-taints=node-role.kubernetes.io/master=:NoSchedule
3736
ExecStop=-/usr/bin/rkt stop --uuid-file=/var/cache/kubelet-pod.uuid
3837
Restart=always
3938
RestartSec=5

hack/single-node/user-data.sample

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ coreos:
3838
--lock-file=/var/run/lock/kubelet.lock \
3939
--network-plugin=cni \
4040
--node-labels=node-role.kubernetes.io/master \
41-
--pod-manifest-path=/etc/kubernetes/manifests \
42-
--require-kubeconfig
41+
--pod-manifest-path=/etc/kubernetes/manifests
4342
ExecStop=-/usr/bin/rkt stop --uuid-file=/var/cache/kubelet-pod.uuid
4443
Restart=always
4544
RestartSec=5

pkg/asset/internal/templates.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ spec:
6969
- --lock-file=/var/run/lock/kubelet.lock
7070
- --network-plugin=cni
7171
- --pod-manifest-path=/etc/kubernetes/manifests
72-
- --require-kubeconfig
7372
env:
7473
- name: NODE_NAME
7574
valueFrom:

0 commit comments

Comments
 (0)