Commit Graph

7660 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
a08084d475
Merge pull request #78571 from SataQiu/fix-golint-kubelet-20190531
Fix golint failures of pkg/kubelet/prober pkg/kubelet/secret
2019-06-14 05:32:51 -07:00
Kubernetes Prow Robot
08922a1399
Merge pull request #78148 from endyman/fix-golint-test/e2e/storage/utils
fix golint errors in test/e2e/storage/utils
2019-06-14 02:50:51 -07:00
Kubernetes Prow Robot
d30fbab4b8
Merge pull request #77915 from SataQiu/fix-golint-util-20190515
Fix golint failures of pkg/util/parsers pkg/util/sysctl pkg/util/system
2019-06-14 00:29:00 -07:00
Kubernetes Prow Robot
3b9c761212
Merge pull request #75928 from falcon78921/wip-k8s-cleanup
hack: refactored code in update_owners.py
2019-06-13 20:37:00 -07:00
Kubernetes Prow Robot
0f5650d68b
Merge pull request #75859 from k-toyoda-pi/fix_shellcheck_failure_make-rules
fix shellcheck failures in /hack/make-rules/test.sh
2019-06-13 20:36:47 -07:00
Kubernetes Prow Robot
8305729d7a
Merge pull request #74635 from xychu/fix-with-assert
Fix shellchecks follow the `${var:?}` pattern
2019-06-13 19:12:45 -07:00
Davanum Srinivas
e0821ca3dd
Remove ovirt/cloudstack/photon cloud providers
Change-Id: Iddb80bdc2a9d75d444b8a3cfe0b142acb78e9097
2019-06-10 12:50:53 -04:00
Kubernetes Prow Robot
c449dbf128
Merge pull request #78518 from dims/tolerate-missing-pyyaml-dependency
Bail out on missing pyyaml dependency
2019-06-01 08:00:32 -07:00
Kubernetes Prow Robot
bada1c6b1e
Merge pull request #78505 from caesarxuchao/dynamic-object-selector
Adding ObjectSelector to admission webhooks
2019-06-01 04:45:09 -07:00
Kubernetes Prow Robot
ebdae0b3b7
Merge pull request #78485 from oomichi/add-use-ExpectError
Check e2e test code to use ExpectError()
2019-06-01 02:54:42 -07:00
Davanum Srinivas
a1e511abda
Bail out on missing pyyaml dependency
Change-Id: Ib1e3b92f8e18ae554f77fede34917d5222c677af
2019-05-31 10:16:11 -04:00
Kubernetes Prow Robot
e87679cfaa
Merge pull request #74733 from wk8/wk8/misc_fixes
Not asking for sudo passwords for password-less sudo users any more
2019-05-31 07:12:43 -07:00
Kubernetes Prow Robot
fe37733a12
Merge pull request #73891 from taragu/plugin-manager
Add kubelet plugin manager
2019-05-31 07:12:29 -07:00
SataQiu
c6a0f820d8 fix golint failures of pkg/kubelet/prober pkg/kubelet/secret 2019-05-31 17:08:53 +08:00
wangqingcan
52f3380ef3 change preempting to PreemptionPolicy 2019-05-31 12:42:05 +08:00
wangqingcan
5c9438c691 non-preempting-priorityclass
Co-authored-by: Vallery Lancey <vallery@zeitgeistlabs.io>
Co-authored-by: Tan shanshan <tan.shanshan@zte.com.cn>
2019-05-31 12:37:07 +08:00
Tara Gu
5e18554442 Implement plugin manager - a controller that manages plugin registration/unregistration 2019-05-30 19:00:59 -04:00
Joe Betz
55ecc45455 split admissionregistration.v1beta1/Webhook into MutatingWebhook and ValidatingWebhook 2019-05-30 14:31:09 -07:00
Kubernetes Prow Robot
b8eecd671d
Merge pull request #69941 from miguelbernadi/fix-golint-issues-68026
Fix golint issues in plugin/pkg/admission
2019-05-30 08:38:26 -07:00
Kubernetes Prow Robot
6dfec4a2ec
Merge pull request #78386 from SataQiu/fix-test-golint-20190527
Fix golint failures of test/e2e/chaosmonkey
2019-05-29 22:54:45 -07:00
Jean Rouge
1bd3d8b929 Not asking for sudo passwords for password-less sudo users any more
Running hack/make-rules/test-e2e-node.sh or test/e2e_node/conformance/run_test.sh
with a password-less sudo user on a dev box right now requires to first
create a password for that user, and then type it every time one wants
to run these tests. This patch is fixing this by not asking for sudo
credentials if it seems the user can run any command without a
password.

Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-05-29 14:04:13 -07:00
Kubernetes Prow Robot
38468e4338
Merge pull request #70536 from mysunshine92/golint-hostpath
fix golint for pkg/volume/host_path
2019-05-29 11:25:46 -07:00
Kenichi Omichi
63e0507fd9 Check e2e test code to use ExpectError()
We can use framework.ExpectError() for checking the expected error
happens. However Expect(err).To(HaveOccurred()) can be used instead
and that makes the e2e test code unreadable.
This adds the check to use framework.ExpectError() for readable code.
2019-05-29 17:04:58 +00:00
Kubernetes Prow Robot
864e5e564a
Merge pull request #78354 from kaleocheng/fix-golint-pkg-apis-abac-latest
Fix golint issue in pkg/apis/abac/latest
2019-05-29 09:45:16 -07:00
Kubernetes Prow Robot
dcf2dd332a
Merge pull request #77612 from oomichi/add-check-test-code
Add hack/verify-test-code.sh
2019-05-29 05:33:00 -07:00
Kubernetes Prow Robot
501092c7d0
Merge pull request #78232 from SataQiu/fix-golint-20190523
Fix golint failures of pkg/controller/namespace/deletion pkg/controller/serviceaccount
2019-05-29 00:53:02 -07:00
James McClune
19fbb1356c hack: refactored code in update_owners.py
Introduced pathlib as an alternative to os.path. Updated the urllib2
module to urllib.request. Structured the code to align more with Python3.

Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2019-05-28 22:34:55 -04:00
Nils Domrose
cc93ec05e8 Merge branch 'master' of https://github.com/kubernetes/kubernetes into fix-golint-test/e2e/storage/utils 2019-05-28 22:18:42 +02:00
SataQiu
a6e0614dd9 fix golint failures of test/e2e/chaosmonkey 2019-05-27 18:30:12 +08:00
Kaleo
e672fb6b6a Fix golint issue in pkg/apis/abac/latest 2019-05-26 16:30:35 +08:00
Dr. Stefan Schimanski
ab6eae3621 hack/verify-symbols: add TrackStorageCleanup from storage testing 2019-05-24 10:20:07 +02:00
Miguel Bernabeu
f47da8a75d Fix golint violations in several plugins 2019-05-23 20:00:06 +02:00
Dr. Stefan Schimanski
c487eb3551 hack/verify-symbols: fix nm call through go tool 2019-05-23 18:45:23 +02:00
SataQiu
b87d006a50 fix golint failures of pkg/controller/namespace/deletion pkg/controller/serviceaccount 2019-05-23 12:09:01 +08:00
Kubernetes Prow Robot
5666982b27
Merge pull request #77793 from SataQiu/fix-golint-client-go-20190513
Fix golint failures of client-go/tools/auth client-go/tools/portforward
2019-05-22 18:44:24 -07:00
Kubernetes Prow Robot
25b0d2dbf4
Merge pull request #78216 from mtaufen/update-klog
Update klog to v0.3.1
2019-05-22 15:14:49 -07:00
Kubernetes Prow Robot
4f33b5f421
Merge pull request #77820 from dims/charrywanganthony-pr-71835-delete-kubelet-security-controls
Remove deprecated Kubelet security controls
2019-05-22 13:52:25 -07:00
Michael Taufen
ee7bcc53a2 Update klog to v0.3.1
Includes recent fixes, notably https://github.com/kubernetes/klog/pull/66
2019-05-22 10:55:37 -07:00
Kenichi Omichi
496a18febc Add hack/verify-test-code.sh
This script checks coding style for test code.
It is useful to enforce developers to use framework methods for
keeping readable test code for example.
2019-05-22 14:15:25 +00:00
Kubernetes Prow Robot
3371378506
Merge pull request #78096 from SataQiu/fix-golint-test-20190520
Fix golint failures of test/e2e/storage/drivers
2019-05-22 04:00:52 -07:00
Kubernetes Prow Robot
ec0f8b843f
Merge pull request #77913 from s-ito-ts/golint_test_e2e_autoscaling
Fix golint failures of test/e2e/autoscaling
2019-05-22 04:00:25 -07:00
Kubernetes Prow Robot
932d8031ab
Merge pull request #77756 from jpbetz/crd-conversion-tests
Add webhook converter integration test suite
2019-05-22 02:40:12 -07:00
Joe Betz
e23769f018 Add webhook converter integration test suite 2019-05-21 13:07:44 -07:00
s-ito-ts
992773a4d9 Add transforming of "pillar['dns_memory_limit']" to local-up-cluster.sh. 2019-05-21 10:31:38 +00:00
Nils Domrose
d14c2cca8a fix golint errors in test/e2e/storage/utils 2019-05-21 11:11:21 +02:00
SataQiu
b828e570b1 fix golint failures of test/e2e/storage/drivers 2019-05-20 13:12:38 +08:00
s-ito-ts
c101f40e18 Fix golint failures of test/e2e/autoscaling 2019-05-20 02:20:39 +00:00
hui luo
6c8aabc832 Check KUBE_SERVER_PLATFORMS existence
when compile kubectl on platform other than
linux/amd64, we need to check the KUBE_SERVER_PLATFORMS
array emptiness before assign it.

the example command is:
make WHAT=cmd/kubectl KUBE_BUILD_PLATFORMS="darwin/amd64 windows/amd64"
2019-05-18 09:17:22 -07:00
Christoph Blecker
b8481b62fc
Don't use declare -g in build 2019-05-17 12:22:42 -07:00
Kubernetes Prow Robot
d45cc1019e
Merge pull request #77985 from adisky/patch-2
fix unbound variable build/lib/release.sh bash 4.3
2019-05-17 10:12:21 -07:00