Pull tiller from correct repository

Also check if minikube-aio have all required images archived.

Change-Id: I138e202ce57055f6e662fdccccffa9a10be28db5
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
This commit is contained in:
Andrii Ostapenko 2021-09-02 08:13:05 -06:00
parent a21cb2a0af
commit 6c1ef655b0
No known key found for this signature in database
GPG Key ID: F3E83668DBB223B3
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,3 @@
gcr.io/k8s-minikube/storage-provisioner:v1.8.1
gcr.io/kubernetes-helm/tiller:${HELM_VERSION}
ghcr.io/helm/tiller:${HELM_VERSION}
k8s.gcr.io/kube-addon-manager:v9.0

View File

@ -32,7 +32,7 @@ function extract {
sudo docker load < ${image}
done
cp calico.yaml /tmp/
sudo docker images | sort | uniq | tee /tmp/loaded_images
sudo docker images --format "{{.Repository}}:{{.Tag}}" | sort | uniq | tee /tmp/loaded_images
cd -
}
@ -215,4 +215,10 @@ kubectl label nodes --all ceph-mgr=enabled
kubectl label --overwrite namespace default name=default
kubectl label --overwrite namespace kube-system name=kube-system
kubectl label --overwrite namespace kube-public name=kube-public
sudo docker images | sort | uniq | tee /tmp/images_after_installation
sudo docker images --format "{{.Repository}}:{{.Tag}}" | sort | uniq | tee /tmp/images_after_installation
if ! cmp -s /tmp/loaded_images /tmp/images_after_installation; then
printf "ERROR: minikube-aio pulls additional images"
diff /tmp/loaded_images /tmp/images_after_installation
exit 1
fi