Open davidk355 opened 1 year ago
The container should already be ready for air-gapped (meaning, nothing is being downloaded). To make it fully air-gapped below are the things that need to be solved:
[ ] Adjust Merlin script according to air-gap installation documentation.
imgpkg upload from local zip instead of tanzunet direct or image re-location.
a env var indicating that it is air-gapped. Then Merlin script performs according to air-gap installation that are different from online installation.
[ ] package tanzucli into the docker container. --- blocker: How to get around TanzuNet EULA for tanzu-cli?
[ ] package cluster-essential into the docker container. --- blocker: How to get around TanzuNet EULA for tanzu-cli?
A potential work around to the above blocker and possibly more flexible way to delivering air-gap jumpstart capability is to provide an option in the "deploy" page (possibly beside the deploy button to minimise 1st iteration coding) "prepare for air-gap". This "prepare for air-gap" will do the following:
G'day folks, I have a solution to the EULA acceptance issue - there's a Tanzu Network API that lets you accept the EULA. But that API requires an API token, and as far as I can tell, the only way to do that is in the Tanzu Network web site. So I automated generating a token using Selenium and Python to drive the Tanzu Network web site. It's ugly, but it works. I'll get in touch with you offline @davidk355 , see how you want to proceed.
Need to be able to handle an air-gapped deployment of TAP