turtles icon indicating copy to clipboard operation
turtles copied to clipboard

Create tool to make airgapped easier

Open richardcase opened this issue 1 year ago • 4 comments

A common scenario for our customers is running Rancher in an air-gapped environment.

For CAPI this would require the use of:

  • provider/core manifests packages as config maps
  • Images from an internal registry

Currently this is a very manual process and so we can to create some tooling (i.e. a CLI) that will make this easier.

Todo:

  • [x] #365
  • [x] #366
  • [x] #367

richardcase avatar Jan 29 '24 09:01 richardcase

We need to look at Hauler used by RGS:

https://github.com/rancherfederal/hauler

richardcase avatar Apr 04 '24 13:04 richardcase

Images part can be solved with hauler and packaging CAPI operator providers through the upstream CAPI operator plugin

alexander-demicev avatar Aug 19 '24 09:08 alexander-demicev

@alexander-demicev can this perhaps be reopened, as IMO it's not completely resolved yet

If you check the discussion on https://github.com/suse-edge/charts/pull/154 you can see that we still need a way to make management of the provider ConfigMaps easier, for now I created a chart to handle that for the edge use-case, but in future it would be better to have a solution provided via Turtles directly IMO.

I like the suggestion made by @Danil-Grigorev that we could package the provider ConfigMaps inside a container image (to work around the helm size limit issue), this could be applied via a pre-install hook perhaps or even be supported directly in the CAPI operator perhaps (optional initContainer which loads the ConfigMaps?)

hardys avatar Sep 13 '24 10:09 hardys

@hardys Sounds reasonable, I will reopen the issue

alexander-demicev avatar Sep 13 '24 13:09 alexander-demicev

Closing in favor of https://github.com/rancher/turtles/issues/968

alexander-demicev avatar Jan 03 '25 14:01 alexander-demicev