Use embedded Flux manifests for air-gapped bootstrap #664
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR allows running bootstrap in air-gapped environments by embedding the Flux manifests in the provider binary.
Description
With
embedded_manifests
enabled andregistry
set to an private container registry where the Flux images are copied, users can run bootstrap on air-gapped environments where access to GitHub is denied.Tip
All users should enable
embedded_manifests
instead of settingversion
, this not only reduces the network traffic but also ensures that the Flux deployment matches the provider version.Motivation and Context
The implementation in #503 has many flaws, the major problem is that customisations no longer work and users have to download the manifest files by hand before running bootstrap.
Fix: #590
Fix: #634
How has this been tested?
Manually tested with
github.com
dropped in firewall.Types of changes
Documentation
make docs
Checklist:
git commit -s