Commit Graph

7992 Commits

Author SHA1 Message Date
zouyee
11746bcc19 using short flags instead with validate
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-09-25 23:08:50 +08:00
Kubernetes Prow Robot
512eccac1f
Merge pull request #83008 from reith/local-cluster-webhook-conf
hack/local-up-cluster.sh: ability to configure auth webhooks
2019-09-24 08:58:34 -07:00
Kubernetes Prow Robot
6c9d3a6ea9
Merge pull request #83031 from Katharine/specify-coverage-dir
Add KUBE_COVER_REPORT_DIR to specify coverage output dir.
2019-09-24 00:25:52 -07:00
Mark Janssen
1a1b7001d6 Fix staticcheck failures for scheduler packages
Errors from staticcheck:
cmd/kube-scheduler/app/server.go:297:27: prometheus.Handler is deprecated: Please note the issues described in the doc comment of InstrumentHandler. You might want to consider using promhttp.Handler instead.  (SA1019)
pkg/apis/scheduling/v1alpha1/defaults.go:27:6: func addDefaultingFuncs is unused (U1000)
pkg/apis/scheduling/v1beta1/defaults.go:27:6: func addDefaultingFuncs is unused (U1000)
test/e2e/scheduling/predicates.go:757:6: func verifyReplicasResult is unused (U1000)
test/e2e/scheduling/predicates.go:765:6: func getPodsByLabels is unused (U1000)
test/e2e/scheduling/predicates.go:772:6: func runAndKeepPodWithLabelAndGetNodeName is unused (U1000)
test/e2e/scheduling/limit_range.go:172:3: this value of pod is never used (SA4006)
test/e2e/scheduling/limit_range.go:177:3: this value of pod is never used (SA4006)
test/e2e/scheduling/limit_range.go:196:3: this value of pod is never used (SA4006)
test/e2e/scheduling/limit_range.go:201:3: this value of pod is never used (SA4006)
test/e2e/scheduling/limit_range.go:240:3: this value of pod is never used (SA4006)
test/e2e/scheduling/taints.go:428:13: this value of err is never used (SA4006)
test/e2e/scheduling/ubernetes_lite.go:219:2: this value of pods is never used (SA4006)
test/integration/scheduler/extender_test.go:78:4: this value of resp is never used (SA4006)
test/integration/volumescheduling/volume_binding_test.go:529:15: this result of append is never used, except maybe in other appends (SA4010)
test/integration/volumescheduling/volume_binding_test.go:538:15: this result of append is never used, except maybe in other appends (SA4010)
2019-09-23 22:52:57 +02:00
Mark Janssen
345e528c86 Fix staticcheck failures for pkg/scheduler/... 2019-09-23 22:49:59 +02:00
Katharine Berry
a6e25d5e67 Add KUBE_COVER_REPORT_DIR to specify coverage output dir. 2019-09-23 10:36:00 -07:00
Amir Ghassemi
2550b31beb hack/local-up-cluster.sh: ability to configure auth webhooks
AUTHORIZATION_WEBHOOK_CONFIG_FILE and AUTHENTICATION_WEBHOOK_CONFIG_FILE
if set, will pass webhook configuration paths to API server
2019-09-23 10:43:47 +03:30
Kubernetes Prow Robot
dcf94c6d33
Merge pull request #82947 from notpad/master
Replace hyperkube with apiserver for binary path guess
2019-09-22 22:49:22 -07:00
Kubernetes Prow Robot
946df1a914
Merge pull request #81932 from palnabarun/fix-staticcheck-tests-e2e_node
Fixes static check failures in test/e2e_node/*
2019-09-20 22:55:37 -07:00
Kubernetes Prow Robot
3a55875465
Merge pull request #81512 from odinuge/preemptible-node-tests
Add support for preemptible instances in node-e2e
2019-09-20 22:55:24 -07:00
Kubernetes Prow Robot
23ec5b6e9e
Merge pull request #82357 from beautytiger/fix_shellcheck_config-common.sh
fix shellcheck in cluster/gce/config-common.sh
2019-09-20 16:17:24 -07:00
Kubernetes Prow Robot
a2760c9c13
Merge pull request #78110 from praseodym/fix-golint-pkg/kubelet/qos
Fix golint failures of pkg/kubelet/qos
2019-09-20 09:41:46 -07:00
liuweixuan
ce25cd7fca Replace hyperkube with apiserver for binary path guess 2019-09-20 23:28:58 +08:00
Kubernetes Prow Robot
d05183be41
Merge pull request #82858 from hwdef/del-unused-var
delete unused var
2019-09-19 11:05:49 -07:00
hwdef
4e7ef9ad36 delete unused var 2019-09-19 18:04:13 +08:00
Kubernetes Prow Robot
9ac74b2a92
Merge pull request #82273 from beautytiger/goreg_fix
fix regex for go file, make it more accurate
2019-09-18 20:43:13 -07:00
Kubernetes Prow Robot
257040c472
Merge pull request #81882 from phenixblue/master
Updates to resolve shellcheck issues in hack/lib/test.sh
2019-09-18 20:43:00 -07:00
Guangming Wang
cd929a98a0 fix shellcheck in cluster/gce/config-common.sh
add comment for exported values
2019-09-19 00:03:16 +08:00
Kubernetes Prow Robot
287f4629d8
Merge pull request #81268 from dims/remove-hyperkube-from-local-up-cluster
Drop hyperkube use from local-up-cluster.sh
2019-09-18 08:17:31 -07:00
Kubernetes Prow Robot
67d928acdc
Merge pull request #82096 from logicalhan/version-deletion
remove pkg/version and some of redundant copies of it
2019-09-17 14:27:16 -07:00
Kubernetes Prow Robot
41b3e60f0e
Merge pull request #82325 from RainbowMango/pr_cleanupup_staticcheck_for_client_cache
Cleanup staticcheck for package cache
2019-09-17 00:50:24 -07:00
Kubernetes Prow Robot
ce1f0c3faa
Merge pull request #82758 from tpepper/cherry_docs
reference cherry pick process in hack script
2019-09-16 18:06:22 -07:00
Han Kang
866ea74326 remove pkg/version and some of redundant copies of it
Change-Id: Ia58367c1b1274bfb49c8a4784051463abaf795de
2019-09-16 16:24:35 -07:00
Kubernetes Prow Robot
1bebaea417
Merge pull request #81061 from k-toyoda-pi/fix_shellcheck_flexvolume_node_setup
Fix shellcheck failure in gce/gci/flexvolume_node_setup.sh
2019-09-16 14:43:54 -07:00
Tim Pepper
a44ea7c8c7 reference cherry pick process in hack script
The documentation on the cherry pick process has seen improvements
lately, but that isn't highly discoverable.  This commit attempts to
make that information more visible.

Signed-off-by: Tim Pepper <tpepper@vmware.com>
2019-09-16 09:53:40 -07:00
Kubernetes Prow Robot
84d484bd2c
Merge pull request #81944 from carlory/fix-vendor
fix static check failures in staging  pkg
2019-09-16 06:48:39 -07:00
Kubernetes Prow Robot
ab88ff2398
Merge pull request #82571 from haoshuwei/fix-ineffassign-in-pkg-controller
add or fix some errors return statements and ineffassign
2019-09-16 04:50:37 -07:00
carlory
d3578f465d fix static check failures in staging pkg 2019-09-16 18:05:29 +08:00
haoshuwei
b752997036 add or fix some errors return statements and ineffassign
Signed-off-by: haoshuwei <haoshuwei24@gmail.com>
2019-09-14 09:26:17 +08:00
Nabarun Pal
83c443e728
Fixes static check failures in test/e2e_node/* 2019-09-14 00:39:45 +05:30
Joe Searcy
1b7ba643bb Updates to resolve shellcheck issues
Removed hack/lib/test.sh from /hack/shellcheck_failures
Removed  and }s to satisfy shellcheck SC2004
Added double quotes to satisfy shellcheck SC2086
Converted array reference to access all elements to satisfy shellcheck SC2128
Updates to satisfy shellcheck SC2143
Updates to satisfy shellcheck SC2178 & SC2124
Updates to satisfy shellcheck SC2128
Updates to satisfy shellcheck SC2207

Remove double quotes to allow expansion. Fixed piping to grep -q

Removed quotes to allow for expansion on flags
2019-09-13 11:32:54 -07:00
Kubernetes Prow Robot
16cde44e24
Merge pull request #81703 from RainbowMango/pr_fix_static_failure_for_staging_kube-aggregator
Fix static failure from package: staging/src/k8s.io/kube-aggregator
2019-09-12 20:44:31 -07:00
Kubernetes Prow Robot
9586c602f2
Merge pull request #82486 from haoshuwei/fix-ineffassign
Fix ineffassign
2019-09-11 21:23:19 -07:00
Kubernetes Prow Robot
5b496d2a25
Merge pull request #82477 from haoshuwei/add-missing-err-return
fix some missing errors return statements
2019-09-11 18:29:57 -07:00
Kubernetes Prow Robot
99c4f1301d
Merge pull request #81667 from mnogu/fix-static-check-in-controller-manager
Fix a static check failure in controller-manager
2019-09-11 18:26:39 -07:00
Kubernetes Prow Robot
54cae98f5f
Merge pull request #82240 from keerthigd/fmt-pythonfile
hack/boilerplate/bolierplate.py: format python file according to PEP8…
2019-09-11 10:41:33 -07:00
Kubernetes Prow Robot
252a7ecbe4
Merge pull request #82233 from SataQiu/fix-golint-kubelet
Fix golint failures of pkg/kubelet
2019-09-11 10:41:19 -07:00
Kubernetes Prow Robot
344054bf4a
Merge pull request #80742 from k-toyoda-pi/fix_shellcheck_image-util
Fix shellcheck failure in test/image/image-util.sh
2019-09-10 14:29:45 -07:00
haoshuwei
573dcd7364 remove packages in hack/.staticcheck_failures which are passing staticcheck
Signed-off-by: haoshuwei <haoshuwei24@gmail.com>
2019-09-10 11:01:32 +08:00
haoshuwei
ef0fe263aa remove packages in hack/.staticcheck_failures which are passing staticcheck
Signed-off-by: haoshuwei <haoshuwei24@gmail.com>
2019-09-09 18:57:44 +08:00
Kubernetes Prow Robot
c4c64673d7
Merge pull request #82199 from dims/update-to-etcd-3.3.15-0-image
Update default etcd server to 3.3.15 for kubernetes 1.16
2019-09-05 06:35:10 -07:00
RainbowMango
19e5c8565d Cleanup staticcheck from staging/src/k8s.io/client-go/tools/cache. 2019-09-04 18:35:24 +08:00
Guangming Wang
5855b175c4 fix regex for go file, make it more accurate 2019-09-03 22:37:14 +08:00
Maciej Szulik
786acdb668
Remove symlink support from kubectl cp 2019-09-03 10:42:30 +02:00
toyoda
5c724f6eaa fix shellcheck failure in gci/flexvolume_node_setup.sh 2019-09-03 16:56:25 +09:00
Keerthi Reddy
7ac394a5ea hack/boilerplate/bolierplate.py: format python file according to PEP8 guidelines 2019-09-02 19:06:14 +05:30
SataQiu
6d6b0be36b fix golint failures of pkg/kubelet 2019-09-02 17:47:08 +08:00
Muneyuki Noguchi
9f19665eb6 Fix a static check failure in controller-manager 2019-08-31 03:01:02 +00:00
Davanum Srinivas
8fbfdf8267
Update default etcd server to 3.3.15 for kubernetes 1.16
Change-Id: I68f1a5e5339d83077a1a9f312c4e6e33848886c5
2019-08-30 21:29:45 -04:00
Kubernetes Prow Robot
45522ebaca
Merge pull request #82087 from soltysh/cp_back
Move kubectl cp back to k/k
2019-08-30 06:25:58 -07:00