k3s-io / k3s

Lightweight Kubernetes
https://k3s.io
Apache License 2.0
26.62k stars 2.24k forks source link

[release-1.28] Make /db/info available anonymously from localhost #10002

Closed brandond closed 3 weeks ago

brandond commented 3 weeks ago

Proposed Changes

The Rancher CAPR planner apparently queries this anonymously to get the IP address of the first etcd node (to be used as the init node), instead of just using the address of the first node with the etcd label.

K3s itself uses auth when retrieving this resource, but since Rancher does not we need to make it available anonymously again - at least from localhost.

Types of Changes

integration/ bugfix

Verification

Testing

Linked Issues

Further Comments

brandond commented 3 weeks ago

virtualbox image for btrfs test appears to be broken, and arm flaked. merging