Skip to content

Commit

Permalink
Apply fix for non existing repo k8s.gcr.io/coredns:v1.9.3
Browse files Browse the repository at this point in the history
kubernetes/kubernetes#112131 (comment)

Signed-off-by: Daniel Hiller <dhiller@redhat.com>
  • Loading branch information
dhiller committed Aug 31, 2022
1 parent 9f91e6a commit cbe50bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cluster-provision/k8s/1.25/k8s_provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ envsubst < $kubeadm_raw > $kubeadm_manifest

until ip address show dev eth0 | grep global | grep inet6; do sleep 1; done

# workaround for 1.25 trying to pull coredns: https://github.com/kubernetes/kubernetes/issues/112131#issuecomment-1232279438
podman pull k8s.gcr.io/coredns/coredns:v1.9.3
podman image tag k8s.gcr.io/coredns/coredns:v1.9.3 k8s.gcr.io/coredns:v1.9.3

# 1.23 has deprecated --experimental-patches /provision/kubeadm-patches/, we now mention the patch directory in kubeadm.conf
kubeadm init --config $kubeadm_manifest -v5

Expand Down

0 comments on commit cbe50bd

Please sign in to comment.