k0sproject / k0s

k0s - The Zero Friction Kubernetes
https://docs.k0sproject.io
Other
3.12k stars 353 forks source link

Whitelist local IPv6 CIDRs when airgapping nodes #4609

Closed twz123 closed 2 weeks ago

twz123 commented 2 weeks ago

Description

This does the same to IPv6 that's done for IPv4. Allows the airgap test to function if the SSH connection runs via IPv6. Also: check if ip6table_filter is already loaded before trying to modprobe it. This allows the integration test to work without sudo/doas when the module is already loaded.

Type of change

How Has This Been Tested?

Checklist:

twz123 commented 2 weeks ago

Apparently something changed on the GitHubGitHub Runner Image between 20240603.1.0 and 20240609.1.0 which makes the airgap tests fail? This seems to fix it... :thinking:

k0s-bot commented 2 weeks ago

Successfully created backport PR for release-1.30: