kots icon indicating copy to clipboard operation
kots copied to clipboard

airgap installation always uses the wrong path

Open Xaseron opened this issue 3 years ago • 0 comments

I try to use this guide https://docs.replicated.com/enterprise/installing-existing-cluster-airgapped Something in the installation process tries to be smart and horribly fails. pushing to registry:

kubectl kots admin-console push-images ~/kotsadm.tar.gz mycompany.de/sdc/gitpod \
  --registry-username REDACTED \
  --registry-password REDACTED

so far so good that worked.

trying to do the airgapped install:

kubectl kots install gitpod \
  --kotsadm-namespace gitpod \
  --kotsadm-registry mycompany.de/sdc \
  --registry-username REDACTED \
  --registry-password REDACTED

Cannot find image because it tries to pull mycompany.de/sdc/minio:RELEASE.2022-01-08T03-11-54Z No i'm trying to be smart because the /gitpod is missing in the path so i try to install it that way:

kubectl kots install gitpod \
  --kotsadm-namespace gitpod \
  --kotsadm-registry mycompany.de/sdc/gitpod \
  --registry-username REDACTED \
  --registry-password REDACTED

It still fails but now i tries to pull mycompany.de/sdc/gitpod/gitpod/minio:RELEASE.2022-01-08T03-11-54Z WTF what is wrong with the install script?

To workaround this i have to push the images again with

kubectl kots admin-console push-images ~/kotsadm.tar.gz mycompany.de/sdc/gitpod/gitpod \
  --registry-username REDACTED \
  --registry-password REDACTED

Xaseron avatar May 11 '22 15:05 Xaseron