-
Notifications
You must be signed in to change notification settings - Fork 5
feat: preflight storage needed to perform airgap install #2336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
banjoh
wants to merge
30
commits into
main
Choose a base branch
from
evansmungai/sc-123579/take-airgap-bundle-size-into-account-when
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 27 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
0b06490
Add airgap bundle size to Installation CRD
banjoh e270d49
Generate operator CRDs
banjoh d54331b
Create airgapinfo package to parse airgap bundle metadata
banjoh 2143149
Store airgap bundle size in Installation custom resource
banjoh 668b930
Add airgap storage space to host preflights for controller nodes
banjoh 473f5e1
Add controller airgap storage space calculation
banjoh 46ca2d3
Separate airgap storage space preflight for controller and worker nodes
banjoh b88f435
Extract airgap.yaml once
banjoh 5e53eca
Fix failing tests
banjoh 9911048
Add airgap bundle size to Installation CRD
banjoh 3fff57f
Generate operator CRDs
banjoh a1e8816
Create airgapinfo package to parse airgap bundle metadata
banjoh a3d3847
Store airgap bundle size in Installation custom resource
banjoh 367c093
Add airgap storage space to host preflights for controller nodes
banjoh 69038ae
Add controller airgap storage space calculation
banjoh a1e0ee4
Separate airgap storage space preflight for controller and worker nodes
banjoh ee7964f
Extract airgap.yaml once
banjoh d93f5cf
Fix failing tests
banjoh 8691b79
Merge branch 'evansmungai/sc-123579/take-airgap-bundle-size-into-acco…
banjoh fb4f1b5
Comment out CI jobs
banjoh 05f7910
Fix imports
banjoh fc96cf4
Revert ci.yaml
banjoh 30e78de
Pass airgap info to the api
banjoh f72e05c
Merge remote-tracking branch 'origin/main' into evansmungai/sc-123579…
banjoh 5206aab
Move airgapInfo to preRunInstall
banjoh 5235538
Merge remote-tracking branch 'origin/main' into evansmungai/sc-123579…
banjoh 00f00dc
A few more refactorings
banjoh 9f3562b
Pass airgap info to infra manager
banjoh a8f86ba
Merge remote-tracking branch 'origin/main' into evansmungai/sc-123579…
banjoh b263856
Commit missing changes
banjoh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is passed to the api though, why extract it from the bundle again?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it makes it hard to test the api without an airgap bundle
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good call out. The API server has the struct, so it can be passed down to the manager from the controller.