fix: Change script to match k8s version 1.24 (#230)
fix: Change script to match k8s version 1.24 (#230)

The .\PrepareNode.ps1 creates a .\StartKubelet.ps1 that uses a command which has dockershim related flags, which are removed in k8s v1.24!
(--image-pull-progress-deadline=20m and --network-plugin=cni)
Changed it to work for k8s v1.24 too

In the changelog of Kubernetes it says that:
(https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.24.md)

"Kubelet: the following dockershim related flags are also removed along with dockershim --experimental-dockershim-root-directory,
--docker-endpoint, --image-pull-progress-deadline, --network-plugin, --cni-conf-dir, --cni-bin-dir, --cni-cache-dir, --network-plugin-mtu."
kubernetes-sigs/sig-windows-tools,kubernetes-sigs/sig-windows-tools,kubernetes-sigs/sig-windows-tools,kubernetes-sigs/sig-windows-tools,kubernetes-sigs/sig-windows-tools