diff --git a/pkg/cli/cmds/server.go b/pkg/cli/cmds/server.go index fe1122e490..0c6408c1a9 100644 --- a/pkg/cli/cmds/server.go +++ b/pkg/cli/cmds/server.go @@ -33,6 +33,7 @@ var ( "service-cidr": copy, "cluster-init": copy, "cluster-reset": copy, + "cluster-reset-restore-path": copy, "cluster-dns": copy, "cluster-domain": copy, "flannel-backend": drop, @@ -55,37 +56,41 @@ var ( Hide: true, Default: cmds.DisableItems, }, - "disable-selinux": drop, - "disable-scheduler": drop, - "disable-cloud-controller": drop, - "disable-network-policy": drop, - "disable-kube-proxy": drop, - "node-name": copy, - "with-node-id": drop, - "node-label": copy, - "node-taint": copy, - "docker": copy, - "container-runtime-endpoint": copy, - "pause-image": drop, - "private-registry": copy, - "node-ip": copy, - "node-external-ip": drop, - "resolv-conf": copy, - "flannel-iface": drop, - "flannel-conf": drop, - "kubelet-arg": copy, - "kube-proxy-arg": copy, - "rootless": drop, - "agent-token": copy, - "agent-token-file": copy, - "server": copy, - "secrets-encryption": copy, - "no-flannel": drop, - "no-deploy": drop, - "cluster-secret": drop, - "protect-kernel-defaults": copy, - "snapshotter": copy, - "selinux": copy, + "disable-selinux": drop, + "disable-scheduler": drop, + "disable-cloud-controller": drop, + "disable-network-policy": drop, + "disable-kube-proxy": drop, + "etcd-disable-snapshots": copy, + "etcd-snapshot-schedule-cron": copy, + "etcd-snapshot-retention": copy, + "etcd-snapshot-dir": copy, + "node-name": copy, + "with-node-id": drop, + "node-label": copy, + "node-taint": copy, + "docker": copy, + "container-runtime-endpoint": copy, + "pause-image": drop, + "private-registry": copy, + "node-ip": copy, + "node-external-ip": drop, + "resolv-conf": copy, + "flannel-iface": drop, + "flannel-conf": drop, + "kubelet-arg": copy, + "kube-proxy-arg": copy, + "rootless": drop, + "agent-token": copy, + "agent-token-file": copy, + "server": copy, + "secrets-encryption": copy, + "no-flannel": drop, + "no-deploy": drop, + "cluster-secret": drop, + "protect-kernel-defaults": copy, + "snapshotter": copy, + "selinux": copy, }) )