mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-30 13:48:50 +00:00
- Split the code that tries to get node name from SSR into a new function getNodeNameFromSSR(). Unit test the function. - Fix error that the "system:nodes:" prefix was not trimmed. - Fix mislearding errors around FetchInitConfigurationFromCluster. This function performs multiple actions, and the "get node" action can also be of type apierrors.NotFound(). This creates confusion in the returned error in enforceRequirement during upgrade. Fix this problem.