Pause Version in k8s 1.25

Kubeadm init fails when we try to use with updated pause version of 3.8 as internally it is referred to 3.7 in cmd/kubeadm/app/constants/constants.go.

Doesn’t find any option in kubeadm-config.yaml that has to be used in clusterConfiguration. Any way to overwrite constant “PauseVersion” defined in kubeadm?

Cluster information:

Kubernetes version:
Client Version: version.Info{Major:“1”, Minor:“25+”, GitVersion:“v1.25.0-alpha.2”, GitCommit:“836632e17e795e2bf150d8909b1fbffa18ac08cf”, GitTreeState:“clean”, BuildDate:“2022-07-13T05:57:25Z”, GoVersion:“go1.18.3”, Compiler:“gc”, Platform:“linux/amd64”}

Cloud being used: (put bare-metal if not on a public cloud)

Installation method:

Host OS:

CNI and version:
calicoctl version
Client Version: v3.23.0-dirty

CRI and version:
containerd -v
containerd GitHub - containerd/containerd: An open and reliable container runtime v1.6.6 10c12954828e7c7c9b6e0ea9b0c02b01407d3ae1