Skip to content

[FEATURE] Update hardcoded k3s version #1560

Open
@musjj

Description

@musjj

Is your feature request related to a problem or a Pull Request

The hardcoded k3s version is pinned to a very old version:

var K3sVersion = "v1.21.7-k3s1"

This caused quite a few puzzling issues for me, such as missing feature flags:

E0225 16:36:19.223608      87 server.go:185] "Failed to set feature gates from initial flags-based config" err="unrecognized feature gate: KubeletInUserNamespace"

Scope of your request

An update to the k3s version.

Describe the solution you'd like

The default k3s version should be kept updated. Maybe there should be a CI that automatically bumps it on new versions.

Describe alternatives you've considered

Manually specify the version (e.g. --image=rancher/k3s:v1.32.1-k3s1).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions