Skip to content
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

Fix k0s installation in airgap env #791

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

a13x5
Copy link
Contributor

@a13x5 a13x5 commented Dec 13, 2024

Resolves #702

Still need to decide where to put k0s-image

@a13x5 a13x5 self-assigned this Dec 13, 2024
@a13x5 a13x5 force-pushed the k0s-ag-bundle branch 2 times, most recently from 33c5133 to 2ed8abc Compare December 19, 2024 18:34
CHARTS_PACKAGE_DIR ?= $(LOCALBIN)/charts
EXTENSION_CHARTS_PACKAGE_DIR ?= $(LOCALBIN)/charts/extensions
K0S_VERSION = $(shell $$YQ '.k0s.version' $(CLUSTER_TEMPLATES_DIR)/vsphere-standalone-cp/values.yaml)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has to be evaluated recursively because of YQ var (which is exported later).
Unfortunately this will be executed on each reference (4 times), but tricks with eval look worse IMO

@a13x5
Copy link
Contributor Author

a13x5 commented Dec 19, 2024

Separate k0s image is created and bundled. It's needed to serve k0s artifacts in the airgapped env via http.
User will be instructed to use it as it pleases (via docker or as k8s deployment) in the docs (Mirantis/project-2a-docs#65)

@a13x5 a13x5 marked this pull request as ready for review December 19, 2024 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Impossible to create managed cluster in the airgapped environment
1 participant