Hongwei Yu
7574f95f7d
optimize comments on exported constants ( #83875 )
...
* optimize comments on exported constants
* remove package in hack/.golint_failures are passing golint
2019-10-16 22:25:30 -07:00
Kubernetes Prow Robot
44674bf5d3
Merge pull request #83969 from yutedz/rm-update-storage
...
Remove update-storage-objects.sh
2019-10-16 11:37:55 -07:00
Kubernetes Prow Robot
d720a2269a
Merge pull request #83802 from seans3/rewrite-printer-tests
...
Rewrite printer tests
2019-10-16 09:33:42 -07:00
notpad
c13f2d4748
Change node name to env value of HOSTNAME_OVERRIDE
2019-10-16 22:39:52 +08:00
Kubernetes Prow Robot
99d40d3d44
Merge pull request #80137 from ialidzhikov/enh/better-naming
...
Rename dashboard-controller.yaml to dashboard-deployment.yaml
2019-10-16 05:51:41 -07:00
Kubernetes Prow Robot
63cf2e260b
Merge pull request #83819 from mrbobbytables/emeritus-jbeda
...
Move jbeda to emeritus status.
2019-10-15 23:06:20 -07:00
Sean Sullivan
30d8a93768
Cleanup printer test package.
...
Updates internalversion BUILD file dependencies
Removes pkg/printers/internalversion from staticcheck failures
2019-10-15 18:13:00 -07:00
Ted Yu
240546cb7f
Remove update-storage-objects.sh
2019-10-15 13:13:19 -07:00
Kubernetes Prow Robot
cb3b715de2
Merge pull request #83804 from jpbetz/etcd-3_3_17_server
...
Upgrade to etcd server 3.3.17
2019-10-15 12:50:09 -07:00
ialidzhikov
b3dcbbf98c
Rename dashboard-controller.yaml to dashboard-deployment.yaml
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-10-15 13:55:06 +03:00
guineveresaenger
82123dc261
Removes pkg/registry/core/secret/storage from golint failures
2019-10-14 14:28:32 -04:00
Joe Betz
c92bd5e7b5
Upgrade to etcd server 3.3.17
2019-10-13 17:17:15 -07:00
Lubomir I. Ivanov
db61aaa9d0
update staticcheck_failures
2019-10-12 22:53:09 +03:00
Kubernetes Prow Robot
457fa6b40d
Merge pull request #82413 from zhlhahaha/kube-proxy-error
...
local-up-cluster kube-proxy terminated error
2019-10-12 07:48:37 -07:00
tanjunchen
33dda68788
fix staticcheck in test/e2e/common directory
2019-10-12 11:30:47 +08:00
Bob Killen
e65d8bb11f
Move jbeda to emeritus status.
2019-10-11 17:46:18 -04:00
mattjmcnaughton
b92a51285b
Address staticcheck failures for test/e2e/lifecycle/bootstrap
...
Make small, non-functional changes to make the
`test/e2e/lifecycle/bootstrap` pass staticcheck.
2019-10-11 10:28:15 -04:00
Kubernetes Prow Robot
3db6d3abcf
Merge pull request #83551 from dims/move-external-facing-kubelet-apis-to-staging
...
Move external facing kubelet apis to staging
2019-10-10 13:41:36 -07:00
Kubernetes Prow Robot
4f1c5b8cac
Merge pull request #81940 from carlory/fix-appserver
...
fix static check failures
2019-10-10 12:07:21 -07:00
carlory
f6bb24129e
fix static check failures
2019-10-10 22:59:09 +08:00
mattjmcnaughton
69a473be38
Address staticcheck
failures for test/e2e/node/...
...
Fix the `staticcheck` failures for `test/e2e/node`. All of the
staticcheck errors were for variables which were never used. When these
values were `err`, we added processing for the errors. When they were
values that were just never used, we stopped giving them a name.
2019-10-09 10:26:11 -04:00
Jonathan Tomer
d34f49b913
Up minimum go version to 1.12.4
...
https://github.com/kubernetes/kubernetes/pull/77222 removed a workaround for a
Go standard library bug (https://github.com/golang/go/issues/31125 ) that was
not fixed until that version, so we need to require it.
2019-10-07 15:55:33 -07:00
Kubernetes Prow Robot
7c4ba5909f
Merge pull request #82968 from uzuku/fix-golint-failures
...
Fix golint failures of pkg/kubelet/status/...
2019-10-07 07:47:08 -07:00
Davanum Srinivas
1bc8ec2508
fix generated-kubelet-plugin-registration
...
Change-Id: I8c5b024a416293d01611d63a4a141bd90be52d9f
2019-10-06 20:23:55 -04:00
Davanum Srinivas
f29d2272c8
fix gofmt and golint failures
...
Change-Id: I6535b506f50558b31663a13cd270b15023afa2c6
2019-10-06 18:43:17 -04:00
Davanum Srinivas
d30c489c54
Move pkg/kubelet/pluginregistration and deviceplugin
...
Change-Id: I06adcb43bd278b430ffad2010869e1524c8cc4ff
2019-10-06 15:28:38 -04:00
Kubernetes Prow Robot
469d6db33a
Merge pull request #83297 from m3ngyang/controller-comment
...
fix golint errors for pkg/master
2019-10-05 15:25:11 -07:00
Kubernetes Prow Robot
7c540ecdac
Merge pull request #83454 from dims/cleanup-hyperkube-from-release-artifacts
...
Remove hyperkube from release artifacts
2019-10-05 10:33:12 -07:00
Kubernetes Prow Robot
e0cb1617db
Merge pull request #78357 from sbueringer/fix-golint-pkg-util
...
Fix golint issues in pkg/util/env
2019-10-05 08:41:10 -07:00
mengyang02
ed8767cded
fix golint errors for pkg/master, together with cheftako
2019-10-05 21:42:52 +08:00
mattjmcnaughton
bd6d411010
Fix test/integration/kubelet
staticcheck failures
...
`test/integration/kubelet` was failing staticcheck because it was
calling `t.Fatal` from the non-main Go routine. Address this by sending
errors causing t.Fatal back to a channel. The main thread can then
iterate through this channel, and call t.Fatal if there are any errors
in the channel.
2019-10-04 11:37:59 -04:00
Kubernetes Prow Robot
791bfac90f
Merge pull request #83084 from yutedz/ns-prune
...
Prune should respect namespace option
2019-10-04 02:46:12 -07:00
Kubernetes Prow Robot
8387de4b4f
Merge pull request #82237 from SataQiu/fix-shellcheck-20190902
...
Fix shellcheck failures of cluster/addons/addon-manager/kube-addons.sh
2019-10-04 02:45:59 -07:00
Hannes Hörl
6b1d1ccbf5
Allow users to use custom tags
...
When discovering the kube version we only consider tags that match the
glob 'v*'. By doing so users can create/use their custom tags as long as
they don't look like a version (starting with a 'v').
We already do a similar thing when building the pause container, see how
the `REV` is set in git.k8s.io/kubernetes/build/pause/Makefile.
2019-10-04 12:18:18 +03:00
shivi28
a0109f00df
nodeipam-controller:fix static check failures
2019-10-04 12:40:09 +05:30
Davanum Srinivas
138571b23f
Remove hyperkube from release artifacts
...
Change-Id: Ie09248d6fc688ffffbeb0271824817a5129346a0
2019-10-03 13:33:17 -04:00
Marek Siarkowicz
887e84e330
Remove Prometheus addon and it's tests
...
Prometheus addon was developed for exterimental and test purpose only.
As readme states it should not be used by anyone.
2019-10-03 14:15:58 +02:00
mattjmcnaughton
42f8596b13
Fix staticcheck failures in test/utils/...
...
The `err` return value was being overwritten in an unintended way, which
means the function may not return the proper error value. This diff
ensures it does.
2019-10-01 09:46:45 -04:00
toyoda
d9c7255ab4
Fix shellcheck failures in cluster/validate-cluster.sh
2019-10-01 15:35:39 +09:00
Kubernetes Prow Robot
3d40c4cea2
Merge pull request #83322 from wojtek-t/remove_scalability_tests
...
Remove deprecated scalability tests
2019-09-30 11:47:59 -07:00
wojtekt
59533f0cd1
Remove deprecated scalability tests
2019-09-30 16:04:09 +02:00
Kubernetes Prow Robot
2b795b9825
Merge pull request #83284 from odinuge/node-e2e-host-reuse
...
Fix host reuse for e2e tests
2019-09-29 16:47:50 -07:00
Kubernetes Prow Robot
7066107ae3
Merge pull request #83117 from zouyee/valid
...
using short flags instead of validate
2019-09-29 16:47:37 -07:00
Odin Ugedal
d17dc136a0
Fix host reuse for e2e tests
...
This will now filter the hosts in gcloud by project, instance name and
zone, to make sure we only reuse the correct hosts. Previously it would
try to reuse images outside the selected zone, resulting in a crash.
The resulting command will look like this:
$ gcloud compute instances list --project="my-project-123" --filter="name:'test-cos-beta-78-12499-16-0' AND zone:'europe-west6-b'"
2019-09-29 11:10:08 +02:00
Stefan Bueringer
fa36b19e79
Fix golint issues in pkg/util/env
2019-09-27 17:25:19 +02:00
Kubernetes Prow Robot
d82ab4054d
Merge pull request #81989 from RainbowMango/pr_cleanup_staticcheck_for_apiextension
...
Cleanup staticcheck issues for apiextension
2019-09-26 01:25:23 -07:00
Ted Yu
88e2f8e04f
Prune should respect namespace
2019-09-25 16:43:08 -07:00
Kubernetes Prow Robot
05588f769d
Merge pull request #82928 from chendotjs/simplify-regex
...
simplify regexp with raw string
2019-09-25 11:07:02 -07:00
Mahendra Kariya
3698100224
Fix golint errors in pkg/apis/core ( #82919 )
...
* Fix lint errors related to receiver name
Ref #68026
* Fix lint errors related to comments
Ref #68026
* Fix package name in comments
Ref #68026
* Rename Cpu to CPU
Ref #68026
* Fix lint errors related to naming convention
Ref #68026
* Remove deprecated field
DoNotUse_ExternalID has been deprecated and is not in use anymore.
It has been removed to fix lint errors related to underscores in field
names.
Ref #68026 , #61966
* Include pkg/apis/core in golint check
Ref #68026
* Rename var to fix lint errors
Ref #68026
* Revert "Remove deprecated field"
This reverts commit 75e9bfc168077fcb9346e334b59d60a2c997735b.
Ref #82919
* Remove math from godoc
Ref #82919 , #68026
* Remove underscore from var name
Ref #68026
* Rename var in staging core api type
Ref #68026
2019-09-25 11:06:51 -07:00
zouyee
11746bcc19
using short flags instead with validate
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-09-25 23:08:50 +08:00
RainbowMango
ea75ee32c0
Fix staticcheck issues:
...
Dealing with unused functions/variables/types. (staticcheck U1000)
Dealing with value never used issue. (staticcheck SA4006)
Dealing with concurrency issue. (staticcheck SA2002 SA4010)
Remove packages from staticcheck failure files: apiextensions-apiserver
2019-09-25 09:40:25 +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
Uzuku
5a2e6bd000
Fix golint failures of pkg/kubelet/status/...
2019-09-21 23:43:37 +08: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
chenyaqi01
3175c9e226
simplify regexp with raw string
2019-09-20 16:53:56 +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
RainbowMango
4a39b32fb0
Fix static failure for package: staging/src/k8s.io/code-generator
2019-09-18 09:46:03 +08: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
howard
6ca5e0ed4d
local-up-cluster kube-proxy terminated error
...
When using hack/local-up-cluster.sh deploy local cluster, it
failed with following message "kube-proxy terminated unexpectedly"
and "Failed to retrieve node info: nodes "127.0.0.1" not found" in
kube-proxy.log.
The root reason for this error is miss boot order of kubernetes
services in local-up-cluster.sh, kube-proxy and kubectl daemon.
When starting kube-proxy, it would check node information. And
these information are collected by kubelet daemon. However, in
the shell script, kube-proxy service start before kubelet daemon.
This patch changed the boot order of kubelet daemon and kube-proxy
and check if node stats ready for kube-proxy start.
Signed-off-by: Howard Zhang <howard.zhang@arm.com>
2019-09-16 10:36:42 +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
35a7924327
fix shellcheck failures of cluster/addons/addon-manager/kube-addons.sh
2019-09-02 19:18:51 +08:00
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
Kubernetes Prow Robot
b131b4b4ca
Merge pull request #81947 from RainbowMango/pr_cleanup_staticcheck_for_client_p1
...
Cleanup client-go static analysis issues-phase 1
2019-08-29 07:27:55 -07:00
Maciej Szulik
ab1c56ae87
Move kubectl cp back to k/k
2019-08-29 09:00:47 +02:00
Rob Scott
75f6c24923
Adding EndpointSlice controller
2019-08-28 21:13:27 -07:00
Kubernetes Prow Robot
6c9f26ca3a
Merge pull request #80766 from robscott/discovery-api
...
Adding Discovery API for EndpointSlice
2019-08-28 14:44:09 -07:00
RainbowMango
c8c055b316
Cleanup staticcheck issues for package in client-go.
2019-08-28 23:08:17 +08:00
Kubernetes Prow Robot
f0be447922
Merge pull request #81931 from RainbowMango/pr_cleanup_staticcheck_issues_for_vsphere
...
Cleanup vsphere staticcheck issue
2019-08-28 03:10:10 -07:00
toyoda
5563e20a56
fix shellcheck failure in test/image/image-util.sh
2019-08-28 13:56:44 +09:00
Tim Allclair
5a50b3f4a2
Fix toleration comparison & merging logic
2019-08-26 15:25:49 -07:00
Rob Scott
f80cee9280
Adding discovery/v1alpha1 API for EndpointSlices
2019-08-26 14:50:00 -07:00
Kubernetes Prow Robot
0d350d6e3e
Merge pull request #81359 from beautytiger/patch-9
...
v1beta1: bugfix in Event struct definition
2019-08-26 11:54:07 -07:00
RainbowMango
a36704b444
Clean up staticcheck issues.
2019-08-26 15:35:32 +08:00
Guangming Wang
c6791aa82b
v1beta1: bugfix in Event struct definition
...
rebase master, handle staticcheck error
2019-08-26 11:06:16 +08:00
Kubernetes Prow Robot
32d8b50fd8
Merge pull request #81812 from Huang-Wei/fix-bug-staticcheck
...
Tolerate ending slash when running staticcheck
2019-08-25 19:54:20 -07:00
Wei Huang
b2751cf821
Tolerate ending slash when running staticcheck
2019-08-25 11:10:40 -07:00
Kubernetes Prow Robot
ec344a1c77
Merge pull request #81771 from RainbowMango/pr_fix_static_error_for_gce
...
Cleanup gce static analysis issues
2019-08-24 00:04:25 -07:00
Kubernetes Prow Robot
448049927b
Merge pull request #81752 from dims/hack-pick-up-test-go-files-in-verify-import-boss
...
Pick up *_test.go in verify-import-boss
2019-08-23 20:56:38 -07:00
RainbowMango
4b6ac364f8
Clean up staticcheck issues for gce.
...
Dealing with deprecated issues. (staticcheck SA1019)
Dealing with error discard issue. (staticcheck SA4006)
Dealing with context overwritten issue. (staticcheck SA4009)
Dealing with unused functions. (staticcheck U1000)
Remove gce from staticcheck failure list
2019-08-24 10:14:39 +08:00
Davanum Srinivas
af739fd0bd
Add --include-test-files flag to verify-import-boss
2019-08-23 13:12:21 -04:00
Travis Rhoden
dde8a6f7f6
Remove nsenter impl from pkg/vol/util
...
With the removal of the `--containerized` flag from kubelet, nothing
uses this code anymore.
2019-08-23 10:09:49 -06:00
Kubernetes Prow Robot
18c3cf9a75
Merge pull request #81758 from SataQiu/add-myself-hack
...
Add SataQiu to hack/ approvers
2019-08-23 03:27:56 -07:00
Kubernetes Prow Robot
994bc115f9
Merge pull request #81510 from serathius/stable-metrics-analysis
...
Finish implementation of stable metrics static analysis
2019-08-23 03:27:17 -07:00
Kubernetes Prow Robot
9c736445f5
Merge pull request #79846 from aramase/fix-golint-pkg/proxy
...
Fix golint failures in pkg/proxy
2019-08-23 00:51:17 -07:00
Kubernetes Prow Robot
01d1748d10
Merge pull request #81718 from hwdef/fix-cluster-images-conformance-go-runner
...
fix cluster/images/conformance/go-runner/tar_test.go
2019-08-22 23:28:13 -07:00
Kubernetes Prow Robot
81c0febcd0
Merge pull request #81715 from SataQiu/fix-test-e2e-framework
...
Fix static check for test/e2e/framework
2019-08-22 23:27:55 -07:00
Kubernetes Prow Robot
39d5fc7501
Merge pull request #81656 from SataQiu/fix-kubeadm-static-20190820
...
kubeadm: fix static check failures
2019-08-22 23:27:28 -07:00
Kubernetes Prow Robot
b8f4f27eda
Merge pull request #81680 from sadlil/sadlil/fix-static-check-volume-controller
...
volume-controller: fix static check failures
2019-08-22 22:03:44 -07:00
Kubernetes Prow Robot
6754852a48
Merge pull request #81671 from tallclair/staticcheck
...
staticcheck follow-up to address late feedback
2019-08-22 20:07:46 -07:00
SataQiu
7a4cf591ea
kubeadm: fix static check failures
2019-08-23 10:51:12 +08:00
Kubernetes Prow Robot
c3d01571b6
Merge pull request #81569 from obitech/fix_golint_pkg_apis_apps
...
Fix golint issues in pkg/apis/apps and pkg/apis/apps/validation
2019-08-22 17:33:46 -07:00
Kubernetes Prow Robot
a3488b4cee
Merge pull request #81206 from tallclair/staticcheck-kubelet-push
...
Cleanup Kubelet static analysis issues
2019-08-22 15:09:43 -07:00
Kubernetes Prow Robot
fa9e1d2146
Merge pull request #81173 from logicalhan/shared-metrics
...
Migrate shared metrics into component base
2019-08-22 15:09:29 -07:00
obitech
905e7510c8
Fix golint issues in pkg/apis/apps and pkg/apis/apps/validation
2019-08-22 21:26:49 +02:00
hwdef
296705b9c0
fix cluster/images/conformance/go-runner/tar_test.go
2019-08-22 11:32:18 +08:00
SataQiu
6ac880f721
add SataQiu to hack/ approvers
2019-08-22 09:45:10 +08:00
Marek Siarkowicz
53fc6f9b58
Finish implementation of stable metrics static analysis
...
Handle "DeprecatedVersion" field
Fix kube metrics framework path
Implement handling prometheus util functions for generating buckets
2019-08-21 23:46:36 +02:00
Tim Allclair
b3f8671c61
Un-blacklist pkg/kubelet for staticcheck
2019-08-21 10:59:39 -07:00
Han Kang
b037203082
move version logic directly into the component-base, to simplify legacyregistry logic
...
add version to vendor
move version into component-base top-level
update bazel build files
fix import
2019-08-21 09:43:20 -07:00
Davanum Srinivas
26899c1e34
disable staticcheck on a few more packages
2019-08-21 08:16:35 -04:00
SataQiu
c60377c682
fix static check for test/e2e/framework
2019-08-21 17:28:36 +08:00
Sadlil Rhythom
7a8eaf4561
controller:volume fix static check failures
2019-08-21 09:37:42 +02:00
Kubernetes Prow Robot
ab1413ccb6
Merge pull request #81551 from odinuge/gce-typo
...
Fix GCE typo in test output
2019-08-21 00:30:03 -07:00
RainbowMango
9b34fb0b62
Fix static failure from package: vendor/k8s.io/kube-aggregator
2019-08-21 11:36:37 +08:00
Tim Allclair
e1a5637c41
staticcheck follow-up to address late feedback
2019-08-20 12:33:12 -07:00
Tim Allclair
76e40248a2
Add static analysis verify script
2019-08-19 17:34:02 -07:00
Odin Ugedal
4f31d322a4
Fix GCE typo in test output
2019-08-17 13:11:19 +02:00
Odin Ugedal
e20c2b1f32
Add support for preemptible instances in node-e2e
...
Preemptible instances are cheaper, and the small chanse of a vm being
killed doesn't matter when running during development. This is a
tradeoff the user should be able to decide on.
More info here:
https://cloud.google.com/compute/docs/instances/preemptible
The default setting is false, so unless setting
PREEMPTIBLE_INSTANCES=true, everything will behave as before.
Signed-off-by: Odin Ugedal <odin@ugedal.com>
2019-08-17 13:09:45 +02:00
Benjamin Elder
80e9004fa0
remove unused jenkins scripts
2019-08-16 23:47:43 -07:00
Benjamin Elder
54b422be96
update hack/jenkins/README.md
2019-08-16 23:47:43 -07:00
Kubernetes Prow Robot
ef397e5b36
Merge pull request #79604 from liggitt/crd-v1
...
promote CRD to v1
2019-08-16 21:44:08 -07:00
Kubernetes Prow Robot
d5173ef87e
Merge pull request #80971 from k-toyoda-pi/fix_shellcheck_test-e2e
...
Fix shellcheck failure in cluster/test-e2e.sh
2019-08-16 17:02:21 -07:00
Jordan Liggitt
f344ca9719
CRD v1: copy v1beta1 types to v1
2019-08-15 12:26:13 -04:00
Kubernetes Prow Robot
df9d3a8787
Merge pull request #81424 from xichengliudui/fix190915
...
fix shellcheck failures in hack/test-integration.sh and hack/verify-t…
2019-08-14 16:53:28 -07:00
Kubernetes Prow Robot
3526a6162e
Merge pull request #81390 from cblecker/go-1.12.8
...
Update to go 1.12.8
2019-08-14 16:53:15 -07:00
aaa
40bf494e3f
fix shellcheck failures in hack/test-integration.sh and hack/verify-test-featuregates.sh
2019-08-14 13:07:46 -04:00
Christoph Blecker
12dbfcbdf3
Fix up failing boilerplate test
2019-08-13 20:21:11 -07:00
Kubernetes Prow Robot
1e82e1ca1f
Merge pull request #81099 from oomichi/remove-golint-e2e-framework
...
Rename MetricsForE2E for golint failure
2019-08-13 19:36:24 -07:00
Kubernetes Prow Robot
d2eecfe2ef
Merge pull request #80785 from oomichi/add-expectequal-hack
...
Add code check for framework.ExpectEqual()
2019-08-13 14:16:19 -07:00
Davanum Srinivas
549492fbef
Drop hyperkube use from local-up-cluster.sh
...
We should just use the regular binaries used everywhere else and drop
hyperkube. Only the local-up-cluster related CI jobs use hyperkube at
the moment, so this will help deprecate and eliminate hyperkube at least
from the main kubernetes repository.
Change-Id: Ic53a4b56420565f546ac75be6cc23d214766c057
2019-08-11 10:54:05 -04:00
Kubernetes Prow Robot
46e6fd12bf
Merge pull request #80526 from rosti/remove-normalizer
...
Remove unused package //pkg/util/normalizer
2019-08-08 10:03:58 -07:00
Kubernetes Prow Robot
62f1c4065b
Merge pull request #81029 from dims/drop-cloud-controller-manager-from-release-artifacts
...
Drop cloud-controller-manager artifacts from k/k release
2019-08-08 06:27:31 -07:00
Kenichi Omichi
47a4d1a8ec
Rename MetricsForE2E for golint failure
...
This renames MetricsForE2E to ComponentCollection for solving golint
failure.
2019-08-08 04:15:36 +00:00
Kubernetes Prow Robot
2b7b6713b1
Merge pull request #79137 from qingsenLi/k8s-190618-golint
...
fix golint failures for pkg/volume/scaleio and pkg/volume/storageos
2019-08-07 20:09:28 -07:00
Kubernetes Prow Robot
a51d574596
Merge pull request #78113 from praseodym/fix-golint-pkg/registry/core/event
...
Fix golint failures of pkg/registry/core/event
2019-08-07 16:15:17 -07:00
Kubernetes Prow Robot
663796e624
Merge pull request #78345 from obitech/fix_golint_pkg_kubelet_stats_client
...
Fix golint pkg/kubelet/stats/client.go
2019-08-06 13:14:49 -07:00
Mark Janssen
231d2a9617
Fix golint failures of pkg/registry/core/event
2019-08-06 21:13:55 +02:00
Davanum Srinivas
adbd1800c8
Drop cloud-controller-manager artifacts from k/k release
2019-08-06 13:51:27 -04:00
Mark Janssen
e58b4d4324
Fix golint failures of pkg/kubelet/qos
2019-08-05 15:54:15 +02:00
toyoda
3582400e4f
fix shellcheck failure in cluster/test-e2e.sh
2019-08-05 13:24:05 +09:00
obitech
17d2ba0b3d
Re-import api/core/install for init function
2019-08-03 21:07:12 +02:00
obitech
a5bc997aa9
Fixed pull-kubernetes-verify issues
2019-08-03 21:07:12 +02:00
obitech
457972f1a4
Fix suggestions, track removed library in bazel
2019-08-03 21:07:12 +02:00
Christoph Blecker
61631bd204
Fix verify-generated-files to error on untracked files
2019-08-02 18:35:37 -07:00
Kubernetes Prow Robot
5de3cdb1d5
Merge pull request #80920 from seans3/unexport-kubectl-profiling
...
Unexport kubectl cmd profiling functions
2019-08-02 15:47:52 -07:00
Sean Sullivan
2621e6a0d6
Unexport kubectl cmd profiling
2019-08-02 12:45:15 -07:00
Kubernetes Prow Robot
48e3811952
Merge pull request #80505 from k-toyoda-pi/fix_shellcheck_verify-test-featuregates
...
Fix shellcheck failures in hack/verify-test-featuregates.sh
2019-08-02 12:40:09 -07:00
Kubernetes Prow Robot
81f021b7a5
Merge pull request #80876 from seans3/move-kubectl-cmd
...
Move /pkg/kubectl/cmd/{command} to staging
2019-08-02 02:36:07 -07:00
toyoda
eb0e064489
Fix shellcheck failures in hack/verify-test-featuregates.sh
2019-08-02 13:43:04 +09:00
Kubernetes Prow Robot
c981c65c90
Merge pull request #80231 from liggitt/admissionreview-v1
...
Promote admissionreview to v1
2019-08-01 17:20:05 -07:00
Sean Sullivan
4e64aaf27e
Update .golint_failures to reflect code move to staging
2019-08-01 16:38:19 -07:00
Kubernetes Prow Robot
933f9a469f
Merge pull request #80863 from liggitt/conditional-json
...
Only output json format from tests when building junit reports
2019-08-01 15:01:42 -07:00
Jordan Liggitt
44930fc939
AdmissionReview: Install/register
2019-08-01 17:17:42 -04:00
Kubernetes Prow Robot
8ad68ce414
Merge pull request #79827 from hainesc/wrong-indent
...
Fix wrong indentation in shell
2019-08-01 08:16:29 -07:00
Jordan Liggitt
c64d6a39aa
Only output json format from tests when building junit reports
2019-08-01 11:03:20 -04:00
Kubernetes Prow Robot
a1727472b2
Merge pull request #79195 from xychu/fix-shellchecks-d
...
Fix shellcheck failures in test/cmd/{d,l}.*.sh
2019-08-01 05:46:14 -07:00
YueHonghui
d29f194474
add flag concurrent-statefulset-syncs to kube-controller-manager ( #79169 )
...
* add flag `concurrent-statefulset-syncs` to set number of concurrent workers for statefulset controller
* change default value of ConcurrentStatefulSetSyncs from 1 to 5
* 1. fix doc comment of statefulset config types.go
2. add missing deps k8s.io/kubernetes/pkg/controller/statefulset/config
* add missing dep k8s.io/kubernetes/pkg/controller/statefulset/config/v1alpha1
* updated bazel BUILD files
* update kube-controller-manager options testcase
* fix codegen
* fix golint error
* fix testcase
2019-07-31 22:36:14 -07:00
Kubernetes Prow Robot
377104418d
Merge pull request #80822 from liggitt/test-json-output
...
switch go tests to json output
2019-07-31 18:20:14 -07:00
Jordan Liggitt
93c02e164f
Switch to json test output
2019-07-31 17:43:02 -04:00
Jordan Liggitt
7232c0fd0b
Fix license script to handle single-segment packages
2019-07-31 16:06:13 -04:00
Kenichi Omichi
ad988085f6
Add code check for framework.ExpectEqual()
...
This adds code check for using framework.ExpectEqual(foo, bar) in
e2e tests for keeping the test code simple.
2019-07-31 19:03:39 +00:00
Sean Sullivan
c011df28a4
Refactor pkg/kubectl/{scale.go|rollingupdater.go} for move to staging
2019-07-30 23:15:15 -07:00
Sean Sullivan
902789d375
Move pkg/kubectl/generate to staging
2019-07-30 16:18:39 -07:00
Sean Sullivan
9f3384f02f
Move pkg/kubectl/polymorphichelpers staging
2019-07-30 10:10:30 -07:00
Kubernetes Prow Robot
c1eff52435
Merge pull request #80561 from seans3/move-metricsutil-staging
...
Move pkg/kubectl/metricsutil to staging
2019-07-30 08:52:51 -07:00
Kubernetes Prow Robot
b4f6b0bf50
Merge pull request #79963 from RainbowMango/pr_fix_typo_for_informer
...
Fix go lint error for cache directory
2019-07-30 05:33:03 -07:00
Kubernetes Prow Robot
4c191fde89
Merge pull request #73829 from alculquicondor/fix/comment
...
Fix/Add comments on cadvisor implementations
2019-07-30 05:32:51 -07:00
Kubernetes Prow Robot
614aab80f5
Merge pull request #78740 from oomichi/extend-check
...
Make the check strict to use ExpectNoError()
2019-07-30 01:59:04 -07:00
Sean Sullivan
a1de0e9331
Move pkg/kubectl/metricsutil to staging
2019-07-29 16:26:10 -07:00
Sean Sullivan
6c96a059dd
Move pkg/kubectl/cmd/util and subdirs to staging
2019-07-29 13:08:41 -07:00
Aldo Culquicondor
a626a2972e
Fix/Add comments on cadvisor implementations
...
Fix lint issues.
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-07-29 09:31:35 -04:00
Kubernetes Prow Robot
12e462b21a
Merge pull request #80656 from seans3/move-kubectl-version
...
Move pkg/kubectl/version to staging
2019-07-27 07:33:56 -07:00
RainbowMango
0e0e1f7dab
1. Fix lint errors for the whole directory staging/src/k8s.io/client-go/tools/cache;
...
2. Remove staging/src/k8s.io/client-go/tools/cache from .golint_failures;
3. Fix some typo from comments.
2019-07-27 15:49:03 +08:00
Sean Sullivan
fb44be2d97
Move pkg/kubectl/version to staging
2019-07-26 15:48:09 -07:00
Sean Sullivan
49f5b423cf
Move pkg/kubectl/describe to staging
2019-07-26 10:41:49 -07:00
Sean Sullivan
70984d8385
Moves pkg/kubectl/util/i18n to staging
2019-07-25 23:09:34 -07:00
Kubernetes Prow Robot
b234dd06aa
Merge pull request #80548 from seans3/move-kubectl-history
...
Move some pkg/kubectl into polymorphichelpers
2019-07-25 20:48:49 -07:00
Kubernetes Prow Robot
a172e197b1
Merge pull request #77355 from apelisse/test-new-protoc
...
Use new reverse protobuf marshalling
2019-07-25 16:01:14 -07:00
Kubernetes Prow Robot
d793279dee
Merge pull request #80094 from ZP-AlwaysWin/dev03
...
Fix golint failure in pkg/quota/v1/evaluator/core
2019-07-25 14:34:24 -07:00
Antoine Pelisse
170bcd9262
Fix pkg-names script that doesn't select files properly
2019-07-25 11:54:00 -07:00
Sean Sullivan
775b670e8b
Move some pkg/kubectl into polymorphichelpers
2019-07-25 11:36:04 -07:00
Kubernetes Prow Robot
bf2dd03083
Merge pull request #80318 from davidxia/fix-err-caps
...
cleanup: fix some log and error capitalizations
2019-07-25 10:41:28 -07:00
Rostislav M. Georgiev
8157c4c4a8
Remove unused package //pkg/util/normalizer
...
Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2019-07-25 15:36:00 +03:00
Kubernetes Prow Robot
eb6bcfb345
Merge pull request #80096 from ZP-AlwaysWin/dev05
...
Fix golint failure in pkg/util/netsh/testing/
2019-07-23 17:14:41 -07:00
Kubernetes Prow Robot
0ba6ecca72
Merge pull request #77155 from draveness/feature/refactor-util-service
...
refactor: move service related functions in service pkg
2019-07-23 15:52:15 -07:00
David Xia
fabfd950b1
cleanup: fix some log and error capitalizations
...
Part of https://github.com/kubernetes/kubernetes/issues/15863
2019-07-20 18:26:16 -04:00
Kubernetes Prow Robot
3c332a9487
Merge pull request #80125 from sttts/sttts-bazel-openapi-fix
...
bazel: add openapi generation for non-main spec and fix main spec
2019-07-19 14:25:50 -07:00
ZP-AlwaysWin
a988719722
Fix golint failure in pkg/util/netsh/testing/
2019-07-19 16:03:44 +08:00
draveness
c38ae01f8e
feat: move service_util to separated package
2019-07-19 08:32:39 +08:00
Xiangyang Chu
313044abd7
Fix shellcheck failures in test/cmd/l.*.sh
2019-07-17 17:07:22 +08:00
Xiangyang Chu
3a344c7168
Fix shellcheck failures in test/cmd/d.*.sh
2019-07-17 17:07:22 +08:00
Kubernetes Prow Robot
8e3a2f2a5b
Merge pull request #80165 from SataQiu/fix-kubeadm-20190715
...
kubeadm: fix the bug that bazel build does not respect hack/print-workspace-status.sh
2019-07-16 03:55:24 -07:00
Kubernetes Prow Robot
7163dcbf3f
Merge pull request #80189 from wongma7/audit-local-up
...
Fix no audit policy by default in hack/local-up-cluster.sh
2019-07-15 21:51:37 -07:00
SataQiu
298909e20e
kubeadm: use local copy of kubectl's version package
2019-07-16 09:51:10 +08:00
Matthew Wong
e18f7a9ec6
Fix no audit policy by default in hack/local-up-cluster.sh
2019-07-15 23:52:32 +00:00
Kubernetes Prow Robot
b8a10b4e12
Merge pull request #79753 from alejandrox1/framework-metrics
...
Refactored metrics-related functions from framework/metrics_util.go
2019-07-15 14:54:02 -07:00
Dr. Stefan Schimanski
53a7dcdee9
bazel: add openapi generation for non-main spec and fix main spec
2019-07-13 16:18:32 +02:00
Kubernetes Prow Robot
25ab6d82ec
Merge pull request #79645 from wojtek-t/cleanup_etcd_dir_3
...
Move etcd/util to etcd3/
2019-07-12 22:39:04 -07:00
Dr. Stefan Schimanski
e920d9bc14
Makefile.generated_files: build code-generator+sample-apiserver OpenAPI schemas
2019-07-12 20:52:21 +02:00
ZP-AlwaysWin
c690591a60
Fix golint failure in pkg/quota/v1/evaluator/core
2019-07-12 21:25:04 +08:00
Kubernetes Prow Robot
3dd8add5d2
Merge pull request #79549 from liggitt/admission-webhooks-v1
...
Promote admission webhook API to v1
2019-07-11 17:01:34 -07:00
Kubernetes Prow Robot
f2093cc383
Merge pull request #79366 from yastij/dep-path-update-yaml
...
reference paths to bump dependencies
2019-07-10 18:49:06 -07:00
Clayton Coleman
bc89c37f32
Add fake client, informer factory, and lister to metadata client
...
These will be used by the garbage collector controller and others that
use higher level primitives.
2019-07-10 14:31:18 -04:00
Yassine TIJANI
4bed9b7046
reference paths to update to bump dependencies
...
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-07-10 20:11:40 +02:00
Mike Danese
b9c7007ca0
enable token review when openapi is generated
2019-07-09 13:45:41 -07:00
Kubernetes Prow Robot
5a7e336689
Merge pull request #79944 from liggitt/golang-deps
...
Allow hack/lint-dependencies.sh to skip golang.org/x/... deps, verify in verify-vendor.sh
2019-07-09 12:17:30 -07:00
Jordan Liggitt
dd2766251a
Allow hack/lint-dependencies.sh to skip golang.org/x/... deps, verify in verify-vendor.sh
2019-07-09 14:07:55 -04:00
Kubernetes Prow Robot
d228123ad6
Merge pull request #79840 from sttts/sttts-chain-prepare-run
...
apiserver: chain delegated PrepareRun
2019-07-08 20:30:14 -07:00
alejandrox1
348fd0805e
Refactored metrics-related functions from framework/metrics_util.go
...
This a refactoring of framework/metrics_utils.go into framework/metrics.
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2019-07-08 19:35:10 -04:00
Kubernetes Prow Robot
17e9b21001
Merge pull request #79790 from ramnar/master
...
Remove duplicate error messages
2019-07-08 16:00:27 -07:00
Anish Ramasekar
2878270f5b
Fix golint failures in pkg/proxy
...
Review feedback - remove alias from imports
fix comments
2019-07-08 11:48:33 -07:00
Jordan Liggitt
e24377f190
Install/register v1 admission registration types
2019-07-08 09:49:29 -04:00
Dr. Stefan Schimanski
f82bc712de
aggregator: wire OpenAPI correctly into PrepareRun flow
2019-07-08 13:59:00 +02:00
Haines Chan
2d3893d2c1
Fix wrong indentation in shell
2019-07-05 17:11:15 +08:00
Davanum Srinivas
543093e775
Add go-runner to the list of e2e test targets
...
Change-Id: I9c837d8f0a74014434308b46291ad1f81d67109a
2019-07-04 13:34:44 -04:00
ramnar
fd9dd13cc2
Remove duplicate error messages
...
Remove duplicate error messages when command fails
2019-07-04 17:25:33 +05:30
Kubernetes Prow Robot
8f7bb1fe71
Merge pull request #79321 from shufanhao/fix_golint_issue_for_network
...
Fix golint failure in pkg/kubelet/dockershim/network/cni
2019-07-03 13:52:26 -07:00
Kubernetes Prow Robot
3c38115a32
Merge pull request #79045 from odinuge/file-perms
...
Fix file permissions for non executable files
2019-07-03 09:12:45 -07:00
Benjamin Elder
675f4bb642
correct flag order in make-help
2019-07-02 23:42:01 -07:00
fanhao01
24a95a6c3e
Fix golint failure in pkg/kubelet/dockershim/network/cni
2019-07-03 12:57:24 +08:00
Kubernetes Prow Robot
e79dcc2174
Merge pull request #79284 from johnSchnake/conformanceGoRunner
...
Adds an optional golang runner to the conformance test image
2019-07-02 15:41:11 -07:00
wojtekt
23d9d6b1d0
Move etcd/util to etcd3/
2019-07-02 10:39:12 +02:00
Kubernetes Prow Robot
6d8dd21111
Merge pull request #79594 from wojtek-t/cleanup_etcd_dir_2
...
Cleanup etcd directory - part 2
2019-07-01 21:33:34 -07:00
John Schnake
b3f5a086ab
Adds an optional golang runner to the conformance test image
...
Adds a go app which runs the e2e tests with ginkgo.
- Supports all the existing env vars of the bash script
- Improved flow control to avoid and better report issues
regarding the process PID
- Adds flags for modifying where to find the test binary and
ginkgo binary so that you can run it locally
- Adds 3 flags for specifying extra args before the double-dash,
extra args after the double-dash, and the seperator to use between
values in those env vars. This allows setting arbitrary, complex
values for use on the command such as flags which include spaces
or other characters.
2019-07-01 16:26:13 -05:00
Odin Ugedal
65d93bbe48
Fix ordering settings in verify bazel
...
In coreutils LC_ALL=C is required to make sorting stable across
platoforms and locales.
$ echo "a-c\nabc" | LANG=C LC_ALL=C sort
a-c
abc
$ echo "a-c\nabc" | LANG=C sort
abc
a-c
2019-07-01 20:17:35 +02:00
wojtekt
7497260e54
Move etcd/testing to etcd3/testing
2019-07-01 15:02:49 +02:00
Kubernetes Prow Robot
6a2d0f67d1
Merge pull request #79527 from wojtek-t/cleanup_etcd_dir_1
...
Cleanup etcd code
2019-06-29 07:37:22 -07:00
wojtekt
cba13eb9ad
Autogenerate code
2019-06-29 15:26:09 +02:00
Kubernetes Prow Robot
5154a61325
Merge pull request #79374 from Huang-Wei/podpriority-cleanup
...
followup of 79262 to cleanup PodPriority leftover
2019-06-28 21:01:23 -07:00
Kubernetes Prow Robot
2837c32d60
Merge pull request #79543 from BenTheElder/bash-failure
...
fix hack/update-vendor.sh array expansion
2019-06-28 19:21:37 -07:00
Wei Huang
6f10758446
followup of 79262 to cleanup PodPriority leftover
2019-06-28 14:19:26 -07:00
Benjamin Elder
b388865c00
fix hack/update-vendor.sh array expansion
2019-06-28 14:01:38 -07:00
Kubernetes Prow Robot
7334492260
Merge pull request #79502 from BenTheElder/silent-errors
...
suppress libseccomp pkg-config errors
2019-06-28 13:57:54 -07:00
Kubernetes Prow Robot
9fbf364a13
Merge pull request #79506 from BenTheElder/auto-mark-integration
...
automatically tag tests in test/integration/* as integration
2019-06-28 10:03:38 -07:00
Kubernetes Prow Robot
ce9d4a947e
Merge pull request #79500 from BenTheElder/node-run-tests
...
fix shellcheck failures in test/e2e_node/conformance/run_test.sh
2019-06-28 08:05:51 -07:00
Andrea Nodari
1da7f0fc12
Remove tests/e2e/scalability from the list of golint failures
2019-06-28 12:33:06 +01:00
Benjamin Elder
5c6d68caba
automatically tag tests in test/integration/* as integration
2019-06-27 23:19:06 -07:00
Benjamin Elder
74939b6b17
supress libseccomp pkg-config errors
2019-06-27 22:52:48 -07:00
Kubernetes Prow Robot
9138fa5805
Merge pull request #79190 from falcon78921/wip-k8s-hack-fix
...
hack: fixed issues from previous refactor PR
2019-06-27 21:19:20 -07:00
Benjamin Elder
30bf22c10e
fix shellcheck failures in test/e2e_node/conformance/run_test.sh
2019-06-27 21:12:08 -07:00
Kubernetes Prow Robot
85aaf7ea36
Merge pull request #79407 from BenTheElder/super-minor-shellcheck
...
clarify elasticsearch script as bash
2019-06-27 18:53:45 -07:00
Kubernetes Prow Robot
d86823a75f
Merge pull request #79320 from BenTheElder/more-swagger
...
fix hack/lib/swagger.sh, hack/lib/init.sh, hack/lib/version.sh shellcheck failures
2019-06-27 18:53:33 -07:00
Kubernetes Prow Robot
e74f75a98b
Merge pull request #79448 from falcon78921/wip-k8s-boilerplate
...
hack/boilerplate: added regex to strip Python shebang
2019-06-27 17:43:59 -07:00
Kubernetes Prow Robot
22305274d3
Merge pull request #79410 from BenTheElder/always-restore-etcd-with-spooky-bash
...
fix shellcheck failures in cluster/restore-from-backup.sh
2019-06-27 17:43:46 -07:00
Kubernetes Prow Robot
dfb7748542
Merge pull request #78347 from obitech/fix_golint_pkg_kubelet_prober
...
Fix golint issues in pkg/kubelet/{prober,secret}
2019-06-27 17:43:21 -07:00
James McClune
452c7be40e
hack/boilerplate: added regex to strip Python shebang
...
Fixes Prow Build Error:
Boilerplate header is wrong for: /home/prow/go/src/k8s.io/kubernetes/hack/update_owners.py
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2019-06-26 21:10:44 -04:00
Benjamin Elder
59c4eb2a38
fix hack/lib/version.sh shellcheck failures
2019-06-26 09:20:17 -07:00
David Eads
c1f8f6230b
remove dead KUBE_TEST_API_VERSIONS from test-integration
2019-06-26 11:55:50 -04:00
Benjamin Elder
6fe891b737
fix shellcheck failures in cluster/restore-from-backup.sh
2019-06-25 23:45:07 -07:00
Benjamin Elder
1a28fbde4d
clarify elastisearch script as bash
2019-06-25 22:19:45 -07:00
Benjamin Elder
9b4b5098e1
fix hack/lib/init.sh shellcheck failures
2019-06-25 22:09:32 -07:00
Benjamin Elder
a101acc7eb
fix hack/lib/swagger.sh shellcheck failures
2019-06-25 22:09:31 -07:00
Kubernetes Prow Robot
c58f94caf1
Merge pull request #79318 from BenTheElder/old-skool
...
fix hack/make-rules/make-help.sh shellcheck failures
2019-06-25 18:16:04 -07:00
Kubernetes Prow Robot
4ca3974953
Merge pull request #79287 from BenTheElder/libseccomp
...
update Libseccomp to tagged release (0.9.1)
2019-06-25 11:44:23 -07:00
Benjamin Elder
0fad8eb36c
fix hack/make-rules/make-help.sh shellcheck failures
2019-06-25 09:49:45 -07:00
Kubernetes Prow Robot
38e95b1a78
Merge pull request #79317 from BenTheElder/yikeshell
...
fix test/e2e_node/gubernator.sh shellcheck failures
2019-06-25 01:15:29 -07:00
Kubernetes Prow Robot
dac0bd9029
Merge pull request #79316 from BenTheElder/shellll
...
fix vendor scripts shellcheck failures
2019-06-25 01:15:16 -07:00
James McClune
9c45e799ad
hack: fixed issues from previous refactor PR
...
Fixed pathlib definitions & print statements, thanks to another
GitHub member.
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2019-06-24 21:33:00 -04:00
Benjamin Elder
4aaa7b4da2
document KUBE_ROOT in util.sh
2019-06-24 11:43:04 -07:00
Benjamin Elder
7e96be30ca
fix hack/verify-no-vendor-cycles.sh shellcheck failures
2019-06-24 11:43:04 -07:00
Benjamin Elder
1741d9393d
fix hack/pin-dependency.sh shellcheck failures
2019-06-24 11:43:04 -07:00
Benjamin Elder
47daf195a4
fix hack/update-vendor.sh shellcheck failures
2019-06-24 11:43:04 -07:00
Benjamin Elder
29b7b2c4f8
add kube::util::list_staging_repos
2019-06-24 11:43:04 -07:00
Benjamin Elder
d596093925
automatically set clinkopts
2019-06-24 11:11:44 -07:00
Nikhita Raghunath
ab3cdd57b7
publishing: use deps in replace directive in rules
...
The list of dependencies for a repo right now is equal to the list of deps
mentioned in the require directive in the repo's go.mod file.
This means that we loose all transitive deps mentioned in the replace
directive in go.mod files.
So instead use all deps mentioned in the replace directive, and prune
any extra dependencies.
Also add a test for this in verify-publishing-bot.py
2019-06-24 14:01:20 +05:30
Benjamin Elder
21d1d273c8
fix test/e2e_node/gubernator.sh shellcheck failures
2019-06-23 17:01:54 -07:00
Benjamin Elder
c8a6a720c3
use kube::util::md5 for update-vendor-licenses.sh
2019-06-23 12:08:05 -07:00
Benjamin Elder
7b0ea99a3e
copy kube::release:md5 to kube::util::md5
2019-06-23 12:08:05 -07:00
Jordan Liggitt
6ca80760fd
Switch test manifests to apps/v1, remove beta workloads calls
2019-06-22 13:58:07 -07:00
Kubernetes Prow Robot
3c7e2a7221
Merge pull request #78718 from SataQiu/fix-golint-20190605
...
Fix some golint failures of pkg/registry
2019-06-21 18:52:37 -07:00
Kubernetes Prow Robot
2bb849fdc0
Merge pull request #79199 from k-toyoda-pi/local-up-cluster_change_sed_to_SED
...
use ${SED} variable in local-up-cluster.sh
2019-06-21 05:10:36 -07:00
Kubernetes Prow Robot
0f2b01ab33
Merge pull request #78022 from xychu/fix-shellchecks-g
...
Fix shellcheck failures in test/cmd/g.*sh
2019-06-20 20:46:35 -07:00
Kubernetes Prow Robot
5a7b978c74
Merge pull request #79192 from pswica/util-term
...
Move pkg/kubectl/util/term, pkg/kubectl/util/interrupt, pkg/kubectl/util/templates to staging
2019-06-20 17:14:47 -07:00
Peter Swica
123fa89f21
Moved pkg/kubectl/util/term, pkg/kubectl/util/templates, pkg/kubectl/util/interrupt, and pkg/kubectl/util/interrupt to staging
2019-06-20 15:50:16 -04:00
Aaron Crickenberger
72093011c4
add import-alias for k8s.io/kubernetes/pkg/scheduler/apis/config/v1alpha1
2019-06-20 11:41:30 -07:00
Aaron Crickenberger
946a90904f
add import-alias for k8s.io/kubernetes/pkg/proxy/apis/config/v1alpha1
2019-06-20 11:41:28 -07:00
Aaron Crickenberger
f03781c8b1
add import-alias for k8s.io/kubernetes/pkg/kubelet/apis/stats/v1alpha1
2019-06-20 11:41:25 -07:00
Aaron Crickenberger
cb88d87dab
add import-alias for k8s.io/kubernetes/pkg/kubelet/apis/resourcemetrics/v1alpha1
2019-06-20 11:41:23 -07:00
Aaron Crickenberger
4ca8821154
add import-alias for k8s.io/kubernetes/pkg/kubelet/apis/podresources/v1alpha1
2019-06-20 11:41:21 -07:00
Aaron Crickenberger
6f141d879e
add import-alias for k8s.io/kubernetes/pkg/kubelet/apis/pluginregistration/v1beta1
2019-06-20 11:41:19 -07:00
Aaron Crickenberger
e8f5f399f4
add import-alias for k8s.io/kubernetes/pkg/kubelet/apis/pluginregistration/v1alpha1
2019-06-20 11:41:16 -07:00
Aaron Crickenberger
833a4aaf6b
add import-alias for k8s.io/kubernetes/pkg/kubelet/apis/pluginregistration/v1
2019-06-20 11:41:14 -07:00
Aaron Crickenberger
4d5d5b71d2
add import-alias for k8s.io/kubernetes/pkg/kubelet/apis/deviceplugin/v1beta1
2019-06-20 11:41:12 -07:00
Aaron Crickenberger
d448651e9d
add import-alias for k8s.io/kubernetes/pkg/kubelet/apis/deviceplugin/v1alpha
2019-06-20 11:41:09 -07:00
Aaron Crickenberger
339a0506e0
add import-alias for k8s.io/kubernetes/pkg/kubelet/apis/config/v1beta1
2019-06-20 11:41:07 -07:00
Aaron Crickenberger
44367bfc14
add import-alias for k8s.io/kubernetes/pkg/controller/apis/config/v1alpha1
2019-06-20 11:41:04 -07:00
Aaron Crickenberger
efe97e4b0a
add import-alias for k8s.io/api/storage/v1beta1
2019-06-20 11:41:02 -07:00
Aaron Crickenberger
b6fbfbbb57
add import-alias for k8s.io/api/storage/v1alpha1
2019-06-20 11:40:59 -07:00
Aaron Crickenberger
9a6600f9f4
add import-alias for k8s.io/api/storage/v1
2019-06-20 11:40:57 -07:00
Aaron Crickenberger
35cef7369e
add import-alias for k8s.io/api/settings/v1alpha1
2019-06-20 11:40:54 -07:00
Aaron Crickenberger
73287fa721
add import-alias for k8s.io/api/scheduling/v1beta1
2019-06-20 11:40:51 -07:00
Aaron Crickenberger
20675803b3
add import-alias for k8s.io/api/scheduling/v1alpha1
2019-06-20 11:40:49 -07:00
Aaron Crickenberger
9d5aac1845
add import-alias for k8s.io/api/scheduling/v1
2019-06-20 11:40:47 -07:00
Aaron Crickenberger
e4716f397a
add import-alias for k8s.io/api/rbac/v1beta1
2019-06-20 11:40:44 -07:00
Aaron Crickenberger
4228000e60
add import-alias for k8s.io/api/rbac/v1alpha1
2019-06-20 11:40:42 -07:00
Aaron Crickenberger
32f8aef97b
add import-alias for k8s.io/api/rbac/v1
2019-06-20 11:40:39 -07:00
Aaron Crickenberger
1d0d98dbc5
add import-alias for k8s.io/api/policy/v1beta1
2019-06-20 11:40:37 -07:00
Aaron Crickenberger
9c02d21d2d
add import-alias for k8s.io/api/node/v1beta1
2019-06-20 11:40:34 -07:00
Aaron Crickenberger
0ba9e9144a
add import-alias for k8s.io/api/node/v1alpha1
2019-06-20 11:40:31 -07:00
Aaron Crickenberger
40d0fbd682
add import-alias for k8s.io/api/networking/v1beta1
2019-06-20 11:40:29 -07:00
Aaron Crickenberger
9d6a045bf1
add import-alias for k8s.io/api/networking/v1
2019-06-20 11:40:27 -07:00
Aaron Crickenberger
9d90a0231f
add import-alias for k8s.io/api/imagepolicy/v1alpha1
2019-06-20 11:40:24 -07:00
Aaron Crickenberger
2a8bee4b37
add import-alias for k8s.io/api/extensions/v1beta1
2019-06-20 11:40:21 -07:00
Aaron Crickenberger
6b39285307
add import-alias for k8s.io/api/events/v1beta1
2019-06-20 11:40:18 -07:00
Aaron Crickenberger
b8d0ce4019
add import-alias for k8s.io/api/core/v1
2019-06-20 11:40:15 -07:00
Aaron Crickenberger
f3fd3cff8e
add import-alias for k8s.io/api/coordination/v1beta1
2019-06-20 11:40:12 -07:00
Aaron Crickenberger
ee6e6179da
add import-alias for k8s.io/api/coordination/v1
2019-06-20 11:40:09 -07:00
Aaron Crickenberger
291658725b
add import-alias for k8s.io/api/certificates/v1beta1
2019-06-20 11:40:06 -07:00
Aaron Crickenberger
4b38206230
add import-alias for k8s.io/api/batch/v1beta1
2019-06-20 11:40:04 -07:00
Aaron Crickenberger
03ad7d2d6f
add import-alias for k8s.io/api/batch/v1
2019-06-20 11:40:01 -07:00
Aaron Crickenberger
9a9f224ba5
add import-alias for k8s.io/api/autoscaling/v1
2019-06-20 11:39:59 -07:00
Aaron Crickenberger
b36ee2bff1
add import-alias for k8s.io/api/authorization/v1beta1
2019-06-20 11:39:57 -07:00
Aaron Crickenberger
a4d08ada9c
add import-alias for k8s.io/api/authorization/v1
2019-06-20 11:39:54 -07:00
Aaron Crickenberger
43d27a6422
add import-alias for k8s.io/api/authentication/v1beta1
2019-06-20 11:39:52 -07:00
Aaron Crickenberger
d3b2f4c514
add import-alias for k8s.io/api/authentication/v1
2019-06-20 11:39:49 -07:00
Aaron Crickenberger
426ffe0913
add import-alias for k8s.io/api/auditregistration/v1alpha1
2019-06-20 11:39:47 -07:00
Aaron Crickenberger
f38e47dd9d
add import-alias for k8s.io/api/apps/v1beta2
2019-06-20 11:39:45 -07:00