community/k3s: v1.29.1.1-r0 breaks at runtime due to upstream change
Hi,
After upgrading to v1.29.1.1-r0
and restarting the service, I noticed the service would start but be unavailable and logs would report the following message every second: time="2024-02-03T02:13:51+01:00" level=fatal msg="Failed to validate golang version: kubernetes golang build version not set - see 'golang: upstream version' in https://github.com/kubernetes/kubernetes/blob/v1.29.1/build/dependencies.yaml"
.
I investigated and the change seems to come from this upstream change, to force people to use the supported version of golang
while building k3s
: https://github.com/k3s-io/k3s/commit/b297996b9252b02e56e9425f55f6becbf6bb7832.
The fact that they made this break at runtime and not at compile-time may need to be addressed by the upstream at some point.
The fix seems to be adding a new path in the VERSIONFLAGS
variable and rebuild, I will look into this today.