Skip to content

Conversation

JGAntunes
Copy link
Member

@JGAntunes JGAntunes commented Oct 16, 2025

What this PR does / why we need it:

Enables the upstream fix from - k0sproject/k0s#6326

This has been backported for 1.33 and seems like it might also be backported for 1.32 - k0sproject/k0s#6524

Blocking this until latest 1.33 is released and we update it on our end.

Which issue(s) this PR fixes:

https://app.shortcut.com/replicated/story/129365/pass-the-disable-k0s-update-probe-flag-once-1-33-backport-version-available

Does this PR require a test?

Yes

Does this PR require a release note?

Disable outbound traffic attempts from k0s to `updates.k0sproject.io`.

Does this PR require documentation?

Yes need to update - replicatedhq/replicated-docs#3537

@JGAntunes JGAntunes self-assigned this Oct 16, 2025
@JGAntunes JGAntunes marked this pull request as draft October 16, 2025 15:18
assertCommands(t, dr.Commands,
[]interface{}{
regexp.MustCompile(fmt.Sprintf(`k0s install controller .* --kubelet-extra-args --node-ip=.* --hostname-override=%s .*--data-dir /var/lib/embedded-cluster/k0s`, regexp.QuoteMeta(expectedHostname))),
regexp.MustCompile(fmt.Sprintf(`k0s install controller .* --kubelet-extra-args --node-ip=.* --hostname-override=%s .*--data-dir /var/lib/embedded-cluster/k0s .*--disable-components konnectivity-server,update-prober`, regexp.QuoteMeta(expectedHostname))),
Copy link

Choose a reason for hiding this comment

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

Bug: Regex Mismatch Causes Test Failures

The test regex hardcodes update-prober as always disabled in the k0s install command's disabled components list. The actual command, however, conditionally disables update-prober based on k0s version support. This mismatch causes test failures when the component isn't disabled in the generated command.

Fix in Cursor Fix in Web

@github-actions
Copy link

This PR has been released (on staging) and is available for download with a embedded-cluster-smoke-test-staging-app license ID.

Online Installer:

curl "https://staging.replicated.app/embedded/embedded-cluster-smoke-test-staging-app/ci/appver-dev-d250629" -H "Authorization: $EC_SMOKE_TEST_LICENSE_ID" -o embedded-cluster-smoke-test-staging-app-ci.tgz

Airgap Installer (may take a few minutes before the airgap bundle is built):

curl "https://staging.replicated.app/embedded/embedded-cluster-smoke-test-staging-app/ci-airgap/appver-dev-d250629?airgap=true" -H "Authorization: $EC_SMOKE_TEST_LICENSE_ID" -o embedded-cluster-smoke-test-staging-app-ci.tgz

Happy debugging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants