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

core: config initial value for kubernetes version if empty in yaml #1255

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

jason19970210
Copy link
Contributor

According to facing the error while using the containerd as runtime and enable kubernetes features as the following:

FATA[0018] error provisioning kubernetes: error at 'downloading and installing': error downloading 'https://github.com/k3s-io/k3s/releases/download//k3s': error validating SHA sum for 'k3s': exit status 1 

It turns out missing version string in baseURL which goes with environment/container/kubernetes/k3s.go

Thus make a if-else statement for setup DefaultVersion which declares in environment/container/kubernetes/kubernetes.go

Copy link
Owner

@abiosoft abiosoft left a comment

Choose a reason for hiding this comment

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

Thanks :)

@abiosoft abiosoft merged commit c98eefc into abiosoft:main Jan 24, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants