k3s/hack
Kubernetes Submit Queue d7a96d5e88
Merge pull request #56097 from mtaufen/kc-file-e2e-test
Automatic merge from submit-queue (batch tested with PRs 51494, 56097, 56072, 56175). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

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:
https://docs.google.com/document/d/18-MsChpTkrMGCSqAQN9QGgWuuFoK90SznBbwVkfZryo/

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.

fixes #56171

Related: https://github.com/kubernetes/features/issues/281


```release-note
CLI flags passed to the Kubelet now take precedence over Kubelet config files and dynamic Kubelet config. This helps ensure backwards compatible behavior across Kubelet binary updates.
```
2017-11-21 19:49:27 -08:00
..
boilerplate update BUILD files 2017-10-15 18:18:13 -07:00
cmd/teststale update BUILD files 2017-10-15 18:18:13 -07:00
e2e-internal Remove all traces of federation 2017-10-26 13:37:37 -07:00
gen-swagger-doc generated files 2017-11-18 20:05:40 +00:00
jenkins Stop running unit tests outside of Bazel. 2017-11-07 16:48:56 -08:00
lib manual fix required to run hack/update-all.sh 2017-11-21 13:00:40 -08:00
make-rules Kubelet flags take precedence over config from files/ConfigMaps 2017-11-21 16:02:27 -08:00
testdata add apply --force --overwrite deployment lables e2e test enhance 2017-11-01 00:21:14 +08:00
verify-flags some small fix in verify-flags-underscore 2017-08-14 14:55:42 +08:00
.golint_failures Merge pull request #55812 from deads2k/admission-17-external 2017-11-21 17:57:29 -08:00
BUILD update BUILD files 2017-10-15 18:18:13 -07:00
OWNERS Adding vishh as an Owner for hack directory 2017-10-16 13:12:36 -07:00
autogenerated_placeholder.txt
benchmark-go.sh
build-cross.sh
build-go.sh
build-ui.sh
cherry_pick_pull.sh Make doc generation on cherry-picks optional 2017-06-26 16:54:11 -04:00
dev-build-and-push.sh
dev-build-and-up.sh
dev-push-hyperkube.sh
e2e-node-test.sh Fix typo in e2e-node-test.sh 2017-09-19 18:10:21 +05:30
e2e.go Add signal handler for catching Ctrl-C on hack/e2e 2017-08-23 16:05:46 -07:00
e2e_test.go Fix e2e_test.go 2017-07-05 14:24:25 -07:00
generate-bindata.sh Use cos-stable-59-9460-64-0 instead of cos-beta-59-9460-20-0. 2017-06-16 13:48:50 -07:00
generate-docs.sh Remove all traces of federation 2017-10-26 13:37:37 -07:00
get-build.sh
ginkgo-e2e.sh Fix influxdb e2e test failure. 2017-11-10 09:16:45 +01:00
godep-restore.sh Clean up godep scripts to be self-contained 2017-09-29 15:16:03 -07:00
godep-save.sh Vendor godep v79 and use it 2017-09-29 15:16:09 -07:00
grab-profiles.sh
import-restrictions.yaml Add VolumeType api to PV and PVC 2017-11-18 11:25:27 -05:00
install-etcd.sh
list-feature-tests.sh Fix list-features script 2017-08-27 22:20:04 -04:00
local-up-cluster.sh fix hack/local-cluster-up.sh 2017-11-21 13:00:40 -08:00
lookup_pull.py update url information to prevent http 304 redirection 2017-05-25 14:05:02 +08:00
print-workspace-status.sh Convert go_binary linkstamp to x_defs 2017-06-08 14:59:55 -07:00
run-in-gopath.sh
test-cmd.sh
test-go.sh
test-integration.sh Remove unnecessary wrapper flags 2017-06-07 12:31:01 -04:00
test-update-storage-objects.sh etcd: update version to 3.1.10 2017-10-02 12:27:46 -07:00
update-all.sh Remove all traces of federation 2017-10-26 13:37:37 -07:00
update-api-reference-docs.sh
update-bazel.sh Merge pull request #54001 from cblecker/sed-func 2017-10-31 03:09:46 -07:00
update-codegen.sh Remove unused pkg/apis/policy/v1alpha1 2017-11-14 13:47:29 +01:00
update-generated-device-plugin-dockerized.sh bump device plugin version to v1alpha2 to reflect the change to AllocateResponce API 2017-10-19 10:35:24 -07:00
update-generated-device-plugin.sh Added script to generate the Device Plugin API 2017-08-15 14:59:42 -07:00
update-generated-docs.sh Remove all traces of federation 2017-10-26 13:37:37 -07:00
update-generated-protobuf-dockerized.sh manual fix required to run hack/update-all.sh 2017-11-21 13:00:40 -08:00
update-generated-protobuf.sh
update-generated-runtime-dockerized.sh Fixup after k8s.io/{kube-gen -> code-generator} rename 2017-08-17 17:55:12 +02:00
update-generated-runtime.sh
update-generated-swagger-docs.sh Remove all traces of federation 2017-10-26 13:37:37 -07:00
update-godep-licenses.sh Update godep-licenses script to work on darwin 2017-09-01 13:55:16 -07:00
update-gofmt.sh
update-openapi-spec.sh
update-staging-godeps-dockerized.sh Clean up godep scripts to be self-contained 2017-09-29 15:16:03 -07:00
update-staging-godeps.sh Dockerize update-staging-godeps 2017-07-25 12:26:57 -07:00
update-swagger-spec.sh hack/update-swagger-spec.sh: use posix regex syntax 2017-05-31 11:57:03 +02:00
update-translations.sh
update_owners.py Remove myself from a bunch of places 2017-07-20 12:10:46 +02:00
verify-all.sh
verify-api-groups.sh Fixup after k8s.io/{kube-gen -> code-generator} rename 2017-08-17 17:55:12 +02:00
verify-api-reference-docs.sh Ignore OWNERS files in hack/verify-api-reference-docs.sh 2017-10-18 11:15:08 -07:00
verify-bazel.sh Use -proto=legacy with gazelle, and manually fix staging/ import paths 2017-10-15 18:13:56 -07:00
verify-boilerplate.sh
verify-cli-conventions.sh More cli sanity verifications 2017-05-18 15:44:49 -03:00
verify-codegen.sh Add sample CustomResourceDefinition controller 2017-10-19 00:21:57 +01:00
verify-description.sh pkg/apis/core: fixup package names 2017-11-09 12:14:07 +01:00
verify-flags-underscore.py some small fix in verify-flags-underscore 2017-08-14 14:55:42 +08:00
verify-generated-device-plugin.sh bump device plugin version to v1alpha2 to reflect the change to AllocateResponce API 2017-10-19 10:35:24 -07:00
verify-generated-docs.sh Remove all traces of federation 2017-10-26 13:37:37 -07:00
verify-generated-files-remake.sh Add debugging to the codegen process 2017-08-25 14:08:42 -07:00
verify-generated-protobuf.sh Remove packages which aren't relied on by heapster anymore. 2017-08-12 23:50:22 +08:00
verify-generated-runtime.sh Update hack scripts 2017-06-09 10:13:34 +08:00
verify-generated-swagger-docs.sh Ignore .import-restrictions when checking against generated docs 2017-10-13 07:09:38 -04:00
verify-godep-licenses.sh
verify-godeps.sh Target godep script change verifications 2017-08-09 22:34:13 -04:00
verify-gofmt.sh Fixed the issue with formatting issues not being reported when verification fails. 2017-06-12 17:59:08 +02:00
verify-golint.sh Invert .linted_packages into .golint_failures. 2017-07-17 14:37:40 -07:00
verify-govet.sh Run hack/verify-govet.sh as part of verify make target 2017-06-21 11:10:25 -07:00
verify-import-boss.sh Fixup after k8s.io/{kube-gen -> code-generator} rename 2017-08-17 17:55:12 +02:00
verify-imports.sh import-verifier: use yaml for inline comments 2017-10-25 16:53:26 +02:00
verify-linkcheck.sh
verify-no-vendor-cycles.sh Bugfix: verify-no-vendor-cycles.sh detects wrong cycles 2017-08-01 21:09:53 -07:00
verify-openapi-spec.sh Add OpenAPI README file 2017-06-05 13:18:07 -07:00
verify-pkg-names.sh remove reference to v1alpha1 2017-11-21 13:00:40 -08:00
verify-readonly-packages.sh
verify-staging-godeps.sh Don't clobber KUBE_VERBOSE in verify script 2017-11-10 12:42:15 -08:00
verify-swagger-spec.sh
verify-symbols.sh
verify-test-images.sh
verify-test-owners.sh