-
Notifications
You must be signed in to change notification settings - Fork 6
K0s 1.30 - DO NOT MERGE #2182
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
base: main
Are you sure you want to change the base?
K0s 1.30 - DO NOT MERGE #2182
Conversation
This PR has been released (on staging) and is available for download with a embedded-cluster-smoke-test-staging-app license ID. Online Installer:
Airgap Installer (may take a few minutes before the airgap bundle is built):
Happy debugging! |
chore(lint): fix go lang ci lint
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.
Bug: Helm Repository Validation Regression
The CRD schema validation for Helm repositories under spec.extensions.helm.repositories
was weakened by removing the required: [name, url]
constraint and minLength: 1
for both fields. This regression allows Config
, Installation
, and KubernetesInstallation
resources with missing or empty repository names or URLs to be admitted, leading to runtime failures when the operator attempts to add or use these repositories. The issue impacts CRD bases, chart templates, and JSON schemas.
operator/config/crd/bases/embeddedcluster.replicated.com_configs.yaml#L101-L124
embedded-cluster/operator/config/crd/bases/embeddedcluster.replicated.com_configs.yaml
Lines 101 to 124 in abc058a
type: string | |
insecure: | |
description: Whether to skip TLS certificate checks | |
when connecting to the repository. | |
type: boolean | |
keyfile: | |
description: The TLS key file to use for HTTPS client | |
authentication. | |
type: string | |
name: | |
description: The repository name. | |
type: string | |
password: | |
description: Password for Basic HTTP authentication. | |
type: string | |
url: | |
description: The repository URL. | |
type: string | |
username: | |
description: Username for Basic HTTP authentication. | |
type: string | |
type: object | |
type: array | |
type: object |
operator/charts/embedded-cluster-operator/charts/crds/templates/resources.yaml#L103-L126
embedded-cluster/operator/charts/embedded-cluster-operator/charts/crds/templates/resources.yaml
Lines 103 to 126 in abc058a
type: string | |
insecure: | |
description: Whether to skip TLS certificate checks | |
when connecting to the repository. | |
type: boolean | |
keyfile: | |
description: The TLS key file to use for HTTPS client | |
authentication. | |
type: string | |
name: | |
description: The repository name. | |
type: string | |
password: | |
description: Password for Basic HTTP authentication. | |
type: string | |
url: | |
description: The repository URL. | |
type: string | |
username: | |
description: Username for Basic HTTP authentication. | |
type: string | |
type: object | |
type: array | |
type: object |
pkg/crds/resources.yaml#L103-L126
embedded-cluster/pkg/crds/resources.yaml
Lines 103 to 126 in abc058a
type: string | |
insecure: | |
description: Whether to skip TLS certificate checks | |
when connecting to the repository. | |
type: boolean | |
keyfile: | |
description: The TLS key file to use for HTTPS client | |
authentication. | |
type: string | |
name: | |
description: The repository name. | |
type: string | |
password: | |
description: Password for Basic HTTP authentication. | |
type: string | |
url: | |
description: The repository URL. | |
type: string | |
username: | |
description: Username for Basic HTTP authentication. | |
type: string | |
type: object | |
type: array | |
type: object |
pkg/crds/resources.yaml#L420-L443
embedded-cluster/pkg/crds/resources.yaml
Lines 420 to 443 in abc058a
type: string | |
insecure: | |
description: Whether to skip TLS certificate checks | |
when connecting to the repository. | |
type: boolean | |
keyfile: | |
description: The TLS key file to use for HTTPS client | |
authentication. | |
type: string | |
name: | |
description: The repository name. | |
type: string | |
password: | |
description: Password for Basic HTTP authentication. | |
type: string | |
url: | |
description: The repository URL. | |
type: string | |
username: | |
description: Username for Basic HTTP authentication. | |
type: string | |
type: object | |
type: array | |
type: object |
Release Process for k0s-1-30 Branch
Ensure current state:
Merge main into this branch:
Resolve any conflicts if necessary.
Update images:
In
pkg/config/static/metadata.yaml
, update thekube-proxy
andpause
images to their latest patch versions and ensure the digests are updated accordingly.To retrieve the digests for various platforms and architectures, use the following command:
Example:
Update dependencies:
Commit and push changes
Wait for CI to pass
Expected failures:
Tag and release:
Replace
<VERSION>
with the correct version numberExample: