mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 04:03:20 +00:00
Kubelet flags take precedence over config from files/ConfigMaps
Changes the Kubelet configuration flag precedence order so that flags take precedence over config from files/ConfigMaps. See issue #56171 for more details. Also modifies e2e node test suite to transform all relevant Kubelet flags into a config file before starting tests when the KubeletConfigFile feature gate is true, and turns on the KubeletConfigFile gate for all e2e node tests. This allows the alpha dynamic Kubelet config feature to continue to work in tests after the precedence change.
This commit is contained in:
@@ -69,6 +69,7 @@ kube::test::find_dirs() {
|
||||
-o -path './vendor/k8s.io/client-go/*' \
|
||||
-o -path './vendor/k8s.io/apiserver/*' \
|
||||
-o -path './test/e2e_node/system/*' \
|
||||
-o -path './test/e2e_node/services/*' \
|
||||
-name '*_test.go' -print0 | xargs -0n1 dirname | sed "s|^\./|${KUBE_GO_PACKAGE}/|" | LC_ALL=C sort -u
|
||||
|
||||
# run tests for client-go
|
||||
|
Reference in New Issue
Block a user