feranwq
ddba6a79d4
fix vendor/k8s.io/cli-runtime/pkg/printers staticcheck
2021-01-12 19:03:13 +08:00
帝俊
7c487f9964
set GOOS=linux for the staticcheck tool
2021-01-12 18:00:36 +08:00
Haleygo
b2796cea93
fix:replace cfssl resources and upgrade them to 1.5.0
...
Signed-off-by: Haleygo <hui.wang@daocloud.io>
2021-01-12 14:05:20 +08:00
JieJhih Jhang
f1829a7744
fix golint in volume fs
2021-01-12 06:35:52 +08:00
Sascha Grunert
9428ad78fd
Make parallel build memory threshold configurable
...
The amount of memory required to build binaries in parallel is right now
set to 40GiB. We now make this variable to be able to build artifacts in
parallel even with a lower amount of memory.
This enables SIG Release to speed-up the build time drastically in
Google Cloud Build (GCB).
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2021-01-11 11:59:57 +01:00
ialidzhikov
5771ea733f
Fix staticcheck in staging/src/k8s.io/apiserver/pkg/authentication/request/x509
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2021-01-10 00:32:42 +02:00
pacoxu
aaa7084a4a
fix static check for vendor/k8s.io/apiserver/pkg/storage/etcd3/
2021-01-07 11:27:03 +08:00
Kubernetes Prow Robot
9c894e23ef
Merge pull request #97618 from jherrera123/issue-94091-remove-docker-remote-build
...
Remove docker remote / docker-machine from build scripts
2021-01-06 10:55:52 -08:00
Kubernetes Prow Robot
6af5fdcf98
Merge pull request #94396 from habibrosyad/patch-92402-10
...
fix vendor/k8s.io/apimachinery/pkg/runtime staticcheck
2021-01-06 08:43:52 -08:00
Kubernetes Prow Robot
b39494ce35
Merge pull request #97374 from geegeea/golint
...
Fix golint issues in pkg/kubelet/types
2021-01-05 17:10:03 -08:00
Kubernetes Prow Robot
3209dabb0d
Merge pull request #97466 from geegeea/lint-kubelet
...
Fix golint issues in api/admission and api/admissionregistration
2021-01-05 09:01:59 -08:00
ialidzhikov
8a0bce0021
Fix staticcheck in staging/src/k8s.io/apiserver/pkg/admission/initializer
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2021-01-02 22:41:13 +02:00
Jesus Herrera
d8bedb3980
Remove docker remote/docker-machine from build scripts
2020-12-30 12:37:51 -05:00
Gurleen Grewal
2414bce4c3
Fix golint issues in pkg/kubelet/types
2020-12-23 19:21:31 -08:00
Gurleen Grewal
73f24d6beb
Fix golint issues in api/admission and api/admissionregistration
2020-12-22 12:13:41 -08:00
Kubernetes Prow Robot
81e82b8453
Merge pull request #97167 from geegeea/golint-cleanup-events
...
Fix golint issues in pkg/credentialprovider/plugin
2020-12-16 13:04:31 -08:00
tiloso
3cbdc711de
Fix staticcheck in test/integration/{examples,framework}
...
Part of #92402 , fixes staticcheck failures SA1006, SA1019 and SA2002 in
test/integration/examples and test/integration/framework.
2020-12-14 21:54:37 +01:00
Qiming Teng
e1ec14162f
Fix OpenAPI spec generator script
2020-12-14 10:10:33 +08:00
Kubernetes Prow Robot
58a1f1658d
Merge pull request #96997 from PurelyApplied/update-levee-config
...
[KEP-1933] Update config for go-flow-levee analysis
2020-12-10 14:53:22 -08:00
Patrick Rhomberg
42fb39f116
Use full aliases. Add sig/security label.
2020-12-09 23:43:48 +00:00
Patrick Rhomberg
3559d752e3
Transfer ownership of logging analysis configuration to sig-security.
2020-12-09 19:15:46 +00:00
Kubernetes Prow Robot
018942a92a
Merge pull request #96903 from JornShen/local_up_resume_readonly_port
...
local-up-cluster kubelet option opening readonly port
2020-12-08 20:04:32 -08:00
Kubernetes Prow Robot
58287f3cb6
Merge pull request #96660 from KobayashiD27/staticcheck_in_endpoints_request
...
fix staticchekc failer in apiserver/pkg/endpoints/request
2020-12-08 18:34:57 -08:00
Kubernetes Prow Robot
cb8ad64243
Merge pull request #96632 from sbueringer/pr-fix-staticcheck-apiserver-server
...
fix staticcheck: vendor/k8s.io/apiserver/pkg/server/{options,storage}
2020-12-08 17:30:07 -08:00
Kubernetes Prow Robot
5664482714
Merge pull request #96402 from lala123912/cc_4
...
fix staticcheck:vendor/k8s.io/kubectl/pkg/cmd/scale
2020-12-08 17:28:35 -08:00
Gurleen Grewal
7a0b5acf00
Fix golint issues in pkg/credentialprovider/plugin
2020-12-08 15:11:44 -08:00
Patrick Rhomberg
a3d483e965
Update cross-referencing for PRs.
2020-12-04 22:42:18 +00:00
Patrick Rhomberg
66c54ffc43
Refer to KEP rather than directly to documentation link.
2020-12-04 22:39:36 +00:00
jornshen
da808767b7
local-up-cluster kubelet option opening readonly port
2020-12-02 09:46:24 +08:00
Patrick Rhomberg
6488e89f96
Update config for go-flow-levee analysis
...
* Remove \b boundary for sinks; Unicode backspace \b != regexp boundary \b.
* Specify those source type fields that have not yet been tagged.
* Add exclusions for current false-positive set.
2020-12-01 23:35:32 +00:00
Stephen Augustus
1c89ce14c0
[go1.15] hack/tools: Update to k/repo-infra@v0.1.3 (supports go1.15.5)
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-11-23 20:40:44 -05:00
Kobayashi Daisuke
fa68cda13f
fix staticchekc failer in apiserver/pkg/endpoints/request
2020-11-18 15:28:35 +09:00
Stefan Bueringer
6190b87927
rollback httplog change
2020-11-17 12:56:47 +01:00
Stefan Bueringer
ed0adcb65e
fix staticcheck: vendor/k8s.io/apiserver/pkg/server
2020-11-17 11:58:13 +01:00
tanjing2020
3398401c06
fix staticcheck:pkg/volume/testing
...
pkg/volume/testing/testing.go:417:16: possible nil pointer derefence (SA5011)
2020-11-17 14:45:13 +08:00
lala123912
5710e1b162
fix staticcheck:vendor/k8s.io/kubectl/pkg/cmd/scale
...
vendor/k8s.io/kubectl/pkg/cmd/scale/scale.go:212:2: this value of err is never used (SA4006)
2020-11-14 12:17:11 +08:00
Kubernetes Prow Robot
36f571404f
Merge pull request #96527 from adtac/apfbeta
...
promote API priority and fairness types and APIs to beta
2020-11-13 19:33:04 -08:00
yue9944882
849be447f5
APF: graduate API and types to beta
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-13 23:20:39 +00:00
Kubernetes Prow Robot
3b2746c9ea
Merge pull request #95614 from wilsonehusin/golint-client-go-transport
...
Fix golint failures in client-go/transport
2020-11-13 07:34:31 -08:00
Kubernetes Prow Robot
e38b1b94f8
Merge pull request #96399 from andrewsykim/service-config
...
move service controller config to k8s.io/cloud-provider/controllers/service/config
2020-11-12 11:21:57 -08:00
Kubernetes Prow Robot
9d2a2263cd
Merge pull request #96387 from mrunalp/cri_add_beta
...
Add CRI v1 proto
2020-11-12 11:21:31 -08:00
Kubernetes Prow Robot
d1c41e70ff
Merge pull request #96331 from mithuns/fix-lint-runtime-serializer-protobuf
...
Fix go lint on folder apimachinery/pkg/runtime/serializer/protobuf
2020-11-12 05:32:49 -08:00
Kubernetes Prow Robot
12d9183da0
Merge pull request #95718 from SergeyKanzhelev/runtimeClass2
...
RuntimeClass GA
2020-11-12 00:44:51 -08:00
Kubernetes Prow Robot
d233111f5b
Merge pull request #94196 from andrewsykim/registry-creds
...
kubelet: add alpha credential provider plugins
2020-11-11 19:59:11 -08:00
Sergey Kanzhelev
06da0e5e74
GA of RuntimeClass feature gate and API
2020-11-11 19:22:32 +00:00
Alay Patel
8d7dd4415e
add cronjob_controllerv2.go
2020-11-10 17:32:06 -05:00
Mrunal Patel
9fcede9d5b
Add CRI v1 proto
...
Add CRI v1 proto and generated code.
We need both v1 and v1alpha2 side by side so that
containerd and CRI-O could be updated. Once the runtimes
are updated and in the CI, we can switch the kubelet
to use v1 in 1.21 .
We are jumping to v1, so we have to avoid multiple hops to get
to GA. The package could stay v1 and declare CRI support to
be at beta and eventually GA.
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2020-11-10 14:17:17 -08:00
Andrew Sy Kim
b1e0decce1
move service controller config to k8s.io/cloud-provider/controllers/service/config
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-10 14:59:44 -05:00
Andrew Sy Kim
91aae6ea48
hack/.golint: ignore golint for new kubelet and credentialprovider APIs package
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-10 13:44:07 -05:00
Kubernetes Prow Robot
26f09b77a8
Merge pull request #96028 from masap/local_up_cluster2
...
local-up-cluster.sh: Pass CLUSTER_CIDR to kube-proxy
2020-11-10 07:17:00 -08:00
Kubernetes Prow Robot
6e95025994
Merge pull request #92165 from RenaudWasTaken/v1-pod-resources
...
Graduate the Pod Resources API to G.A
2020-11-09 18:24:41 -08:00
Kubernetes Prow Robot
995e531a63
Merge pull request #93764 from cici37/ccmwrap
...
Adding flexibility to CCM
2020-11-09 13:44:28 -08:00
Mithun Singh
d4cbad8256
Fix go lint on folder apimachinery/pkg/runtime/serializer/protobuf
2020-11-09 11:26:49 -08:00
Kubernetes Prow Robot
55f95bc893
Merge pull request #96323 from msscaroso/fix-lint-runtime-serializer-json
...
Fix go lint on folder apimachinery/pkg/runtime/serializer/json
2020-11-09 10:32:27 -08:00
Kubernetes Prow Robot
2343b8a68b
Merge pull request #95872 from 22dm/kube-proxy-comment-fix
...
Fix the kube-proxy document
2020-11-08 19:23:37 -08:00
liuhongyu
d38ff93e4b
remove kube-proxy/config/v1alpha1 from .golint_failures
2020-11-07 11:02:16 +08:00
Marcio Caroso
4b8b9c92bf
Fix go lint on folder apimachinery/pkg/runtime/serializer/json
2020-11-06 20:45:27 -03:00
Javier Diaz-Montes
c8da7128eb
Ensuring default DNS cluster-domain of Kubelet is cluster.local
...
Currently e2e tests run under test-e2e-node have a cluster-domain
equals to "". This change makes test-e2e-node consistent with other
e2e tests. For example, in hack/ginkgo-e2e.sh, cluster-domain
defaults to cluster.local and it can be changed by defining KUBE_DNS_DOMAIN.
2020-11-06 13:42:13 -05:00
cici37
895a0a8d5e
Adding config extension to CCM.
2020-11-06 02:42:44 -08:00
Kubernetes Prow Robot
226ea6b49d
Merge pull request #96231 from deads2k/clean-up-feature
...
update features to indicate beta in comment
2020-11-05 15:17:04 -08:00
Kubernetes Prow Robot
38f14f3874
Merge pull request #95876 from saschagrunert/proto
...
Propose seccomp/apparmor protobuf type definitions for CRI graduation
2020-11-05 06:31:08 -08:00
David Eads
73f7a9b394
update features to indicate beta in comment
2020-11-05 07:21:19 -05:00
Kubernetes Prow Robot
1328d8c8c6
Merge pull request #96235 from PurelyApplied/exclude-levee-in-verify-all
...
Exclude KEP-1933 from verify-all.sh until after alpha status.
2020-11-04 18:11:25 -08:00
Kubernetes Prow Robot
ff225efc10
Merge pull request #96095 from masap/local_up_cluster4
...
local-up-cluster.sh: Use config file instead of flags for kubelet
2020-11-04 13:25:30 -08:00
Patrick Rhomberg
e67ab309b7
Exclude KEP-1933 from verify-all.sh until after alpha status.
2020-11-04 20:18:57 +00:00
Kubernetes Prow Robot
6a3fd8f3d7
Merge pull request #96204 from knight42/fix/curl-bearer-token
...
fix: pass bearer token to curl using --header instead of --oauth2-bearer
2020-11-04 10:38:53 -08:00
knight42
00e4234cc9
fix: pass bearer token to curl using -H instead of --oauth2-bearer
...
The flag `--oauth2-bearer` might have no effect in some environment.
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-11-05 01:15:19 +08:00
Kubernetes Prow Robot
792b4b1e32
Merge pull request #94661 from PurelyApplied/PoC-bazel-analysis-rebased
...
[KEP-1933] Provide hack/ testing target for static analysis.
2020-11-04 01:58:03 -08:00
Kubernetes Prow Robot
b00665c61b
Merge pull request #96073 from masap/local_up_cluster3
...
local-up-cluster.sh: Remove ineffective parameters
2020-11-03 14:58:04 -08:00
Masashi Honma
29c9fb6102
local-up-cluster.sh: Use config file instead of flags for kubelet
...
Because /tmp/kubelet.log shows trailing log twice.
Flag --address has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --rotate-certificates has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --feature-gates has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cpu-cfs-quota has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --enable-controller-attach-detach has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cgroups-per-qos has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cgroup-driver has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cgroup-root has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --eviction-hard has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --eviction-soft has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --eviction-pressure-transition-period has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --pod-manifest-path has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --fail-swap-on has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --authorization-mode has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --authentication-token-webhook has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --client-ca-file has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cluster-dns has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cluster-domain has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --runtime-request-timeout has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --port has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
2020-11-04 07:42:31 +09:00
Patrick Rhomberg
90b85bf3fa
KEP-1933: add static analysis target to hack/
...
* Add static analysis to hack/verify-govet-levee.sh for defense against
accidental logging of credentials.
* Add binary dependency to hack/tools/tools.go and associated go.mod, go.sum.
* Add analysis configuration to hack/testdata/levee/
2020-11-03 20:03:26 +00:00
Sascha Grunert
7b9d7fd953
Propose seccomp/apparmor protobuf type definitions for CRI graduation
...
With the graduation of the Container Runtime Interface (CRI) we will
have a unique chance to change the protobuf protocol. We now use native
types for seccomp and AppArmor to make the API more clear and concise to
be used.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-11-03 20:17:17 +01:00
Kubernetes Prow Robot
cf4a33c549
Merge pull request #95761 from ingvagabund/move-rbac-under-component-helpers
...
Move pkg/registry/rbac code imported by kubectl under component helpers
2020-11-02 11:56:29 -08:00
Kubernetes Prow Robot
8e6a98992d
Merge pull request #93859 from habibrosyad/patch-92402-2
...
fix vendor/k8s.io/apimachinery/pkg/api/meta staticcheck
2020-11-02 10:24:14 -08:00
Jan Chaloupka
a5920f7edb
Move helpers from pkg/registry/rbac/reconciliation and pkg/registry/rbac/validation under k8s.io/component-helpers
2020-11-02 17:51:16 +01:00
Kubernetes Prow Robot
d1c296431e
Merge pull request #96059 from knight42/refactor/migrate-health-check
...
refactor: migrate health checks of control-plane off insecure port in tests
2020-11-02 08:21:08 -08:00
M. Habib Rosyad
979fba1cb0
fix vendor/k8s.io/apimachinery/pkg/api/meta staticcheck
2020-11-01 15:38:57 +07:00
Kubernetes Prow Robot
b2e1165da8
Merge pull request #96063 from thockin/fix-96015-extra-dirs-conversion-gen
...
Pass all packages to conversion-gen
2020-10-31 03:38:51 -07:00
Masashi Honma
0cfb6a16e7
local-up-cluster.sh: Remove ineffective parameters
...
Because kube-apiserver shows these warnings, this patch removes parameters
which has no effect.
Flag --insecure-bind-address has been deprecated, This flag has no effect now and will be removed in v1.24.
Flag --insecure-port has been deprecated, This flag has no effect now and will be removed in v1.24.
2020-10-31 16:04:32 +09:00
Tim Hockin
54e2748e13
Pass all packages to conversion-gen
...
As per #96015 and other reports, conversion-gen does the wrong thing if
dependent packages are not ALSO being re-generated. It creates new
versions of generated files that have missing conversions.
This change passes all packages as "extras" which will be parsed but not
regenerated (default already does exactly this).
2020-10-30 22:22:57 -07:00
knight42
3c4d6859c8
refactor: migrate health checks of control-plane off insecure port in tests
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-10-31 11:39:25 +08:00
Kubernetes Prow Robot
bf67247124
Merge pull request #93258 from zshihang/token
...
mv TokenRequest and TokenRequestProjection to GA
2020-10-30 16:36:51 -07:00
Kubernetes Prow Robot
4b65f70652
Merge pull request #95740 from cici37/moveCCM
...
Move cloud-controller-manager to staging k8s.io/cloud-provider
2020-10-30 13:48:51 -07:00
Kubernetes Prow Robot
3662e1e344
Merge pull request #96025 from haircommander/fix-API_PORT
...
hack/local-up-cluster.sh: fix API_PORT
2020-10-29 21:04:15 -07:00
cici37
9465d95ea6
Move CCM to staging k8s.io/cloud-provider
2020-10-29 20:50:23 -07:00
Shihang Zhang
ff641f6eb2
mv TokenRequest and TokenRequestProjection to GA
2020-10-29 20:47:01 -07:00
Masashi Honma
181a724dc3
local-up-cluster.sh: Pass CLUSTER_CIDR to kube-proxy
...
This patch fixes the local-up-cluster.sh to pass CLUSTER_CIDR to kube-proxy.
Previously, CLUSTER_CIDR was passed only to controller manager and cloud
controller manager.
2020-10-30 09:50:02 +09:00
Kubernetes Prow Robot
4d4570979a
Merge pull request #95982 from masap/local_up_cluster1
...
local-up-cluster.sh: Pass SERVICE_CLUSTER_IP_RANGE to controller manager
2020-10-29 17:40:36 -07:00
Peter Hunt
174548659f
hack/local-up-cluster.sh: fix API_PORT
...
commit kubernetes/kubernetes@cfc2b33 causes a local cluster to not come up because it sets the default insecure port to 8080, which is no longer valid
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2020-10-29 17:17:58 -04:00
Kubernetes Prow Robot
1968e96165
Merge pull request #95856 from knight42/refactor/disable-apiserver-insecure-port
...
refactor(apiserver): disable insecure port
2020-10-29 10:47:58 -07:00
knight42
cfc2b330a7
refactor(apiserver): ignore the insecure flags
...
Leave the insecure flags intact but stop serving on insecure port.
2020-10-29 23:20:17 +08:00
Masashi Honma
8e84f3d78d
local-up-cluster.sh: Pass SERVICE_CLUSTER_IP_RANGE to controller manager
...
Previously, SERVICE_CLUSTER_IP_RANGE was passed only to kube-apiserver.
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
2020-10-29 17:47:19 +09:00
Kubernetes Prow Robot
ec0ef23599
Merge pull request #95923 from deads2k/remove-deprecated
...
remove the deprecated client that we stopped generating
2020-10-28 12:50:11 -07:00
Kubernetes Prow Robot
17312ea4a9
Merge pull request #95810 from ruiwen-zhao/staticcheck_fix
...
Fix staticcheck failures on apiserver/plugin/pkg/{authenticator, auth…
2020-10-28 07:45:55 -07:00
David Eads
1f349b5d05
remove the deprecated client that we stopped generating
2020-10-28 10:43:31 -04:00
Joakim Roubert
434611b3fb
Fix shellcheck issues in cluster/gce/gci/master-helper.sh
...
Based on PR 88582 by gavinfish that was closed due to inactivity.
Contains a few updates.
Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
2020-10-27 08:58:48 +01:00
Renaud Gaubert
a989bece00
Add podresources v1 API
2020-10-26 12:10:18 -07:00
Ben Hu
4e62298c1b
Fix static checks for pkg/controller/podautoscaler
2020-10-23 18:53:07 +00:00
ruiwen-zhao
bdedc4ce34
Fix staticcheck failures on apiserver/plugin/pkg/{authenticator, authorizer}
2020-10-22 21:47:17 +00:00
Wilson Husin
889ffb04d0
Fix golint failures in client-go/transport
...
Signed-off-by: Wilson Husin <whusin@vmware.com>
2020-10-21 01:01:29 -07:00
Abhisek Banerjee
462326afba
Support cross compilation only on amd64.
...
Based on a patch to Bottlerocket by Ben Cressey <bcressey@amazon.com>
41a72fe214/packages/kubernetes-1.17/0001-always-set-relevant-variables-for-cross-compiling.patch
2020-10-21 00:13:01 +00:00
bnrjee
6b672863c7
Always set relevant variables for cross compiling
...
Based on a patch to Bottlerocket by Ben Cressey <bcressey@amazon.com>
41a72fe214/packages/kubernetes-1.17/0001-always-set-relevant-variables-for-cross-compiling.patch
2020-10-21 00:13:01 +00:00
Kubernetes Prow Robot
a8a779133a
Merge pull request #95502 from suramrit/lintCorrection
...
Fix golint errors by adding definition comments for pkg/apis/apiserverinternal
2020-10-20 12:56:33 -07:00
Kubernetes Prow Robot
e0f7d0ce3e
Merge pull request #95659 from makhov/fix-verify-sh
...
fix unbound variable issue in verify.sh
2020-10-20 11:22:44 -07:00
Kubernetes Prow Robot
3b868e1a71
Merge pull request #92829 from marload/patch-0706-04
...
Refactoring: Reduce unnecessary lines
2020-10-19 19:12:07 -07:00
Kubernetes Prow Robot
a5dceab0ce
Merge pull request #95580 from jayunit100/jayunit100/pillarnodelocal
...
support multiple bind records (fie nodelocaldns test regression)
2020-10-16 22:24:12 -07:00
Kubernetes Prow Robot
c913d4ed2a
Merge pull request #95640 from lala123912/staticcheck_2
...
vendor/k8s.io/metrics/pkg/client/custom_metrics: fix static check
2020-10-16 16:00:12 -07:00
Aleksei Makhov
1777a356c8
fix unbound variable issue in verify.sh
2020-10-16 21:39:25 +03:00
jayunit100
aefe930562
support multiple bind records (fie nodelocaldns test regression), by
...
first replacing PILLAR_ and then replacing other vars.
2020-10-16 14:28:55 -04:00
Kubernetes Prow Robot
23e5a85648
Merge pull request #93627 from hasheddan/verify-py3
...
run make verify with python3 to fix publishing bot issue
2020-10-16 08:01:25 -07:00
lala123912
324e969a6c
fix staticcheck
...
vendor/k8s.io/metrics/pkg/client/custom_metrics/multi_client.go:49:4: ineffective break statement. Did you mean to break out of the outer loop? (SA4011)
vendor/k8s.io/metrics/pkg/client/custom_metrics/versioned_client.go:38:2: var codecs is unused (U1000)
2020-10-16 16:08:53 +08:00
Kubernetes Prow Robot
297b021f49
Merge pull request #95230 from Git-Jiro/fix_vendor_client_go
...
Fix staticchecks in vendor/k8s.io/client-go
2020-10-15 06:04:37 -07:00
Martin Schimandl
13c017056c
Fix staticchecks in vendor/k8s.io/client-go
2020-10-15 07:27:02 +02:00
Kubernetes Prow Robot
7ff41c1ba0
Merge pull request #94588 from MaXinjian/shellcheck-typo
...
Fix typo in comment of hack/verify-shellcheck.sh
2020-10-14 11:15:49 -07:00
Kubernetes Prow Robot
8647eece9c
Merge pull request #95113 from Git-Jiro/lint_ttlcontroller
...
Lint ttl_controller
2020-10-13 22:51:53 -07:00
Kubernetes Prow Robot
ea896a2e64
Merge pull request #95224 from Git-Jiro/lint_endpoint
...
Fix lint errors in pkg/contoller/endpoint
2020-10-13 12:06:27 -07:00
Kubernetes Prow Robot
01f3f67989
Merge pull request #92663 from AndersonQ/68026-golint-/pkg/kubelet/stats
...
cleanup: fix golint errors in /pkg/kubelet/stats
2020-10-12 23:48:26 -07:00
Kubernetes Prow Robot
1dff024e64
Merge pull request #91014 from cici37/apiConfig
...
Move cmd/controller-manager to k8s.io/controller-manager
2020-10-12 15:17:22 -07:00
Suramrit Singh
e0249c4b0b
- fix golint errors by adding defition comments
...
- remove /pkg/apiserverinternal from .golint_failures
2020-10-12 15:03:53 -07:00
Kubernetes Prow Robot
c1e5e6a556
Merge pull request #93836 from jayunit100/salt_cleanup_92835
...
remove __pillar__ refs
2020-10-11 17:58:47 -07:00
cici37
ae8ce0d190
Move cmd/controller-manager to k8s.io/controller-manager and cloud specific configs to k8s.io/cloud-provider.
2020-10-08 13:23:16 -07:00
Anderson Queiroz
8c724d7933
cleanup: fix golint errors in /pkg/kubelet/stats
2020-10-08 21:59:42 +02:00
Kubernetes Prow Robot
b53ba30c6a
Merge pull request #94762 from joakimr-axis/joakimr-axis_log-dump-array
...
log-dump.sh: Fix shellcheck issues
2020-10-08 10:10:55 -07:00
Joakim Roubert
d4dd0ad53c
log-dump.sh: Fix shellcheck issues
...
Mitigate the shellcheck warning for the assignment of local variable.
Add rest of shellcheck fixes from #88349
Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
2020-10-08 13:58:00 +02:00
Kubernetes Prow Robot
777e84e184
Merge pull request #95101 from a1k24/patch-92402-staticcheck
...
fixes test/integration/ttlcontroller staticcheck
2020-10-07 02:16:42 -07:00
cici37
33e23c4005
Move cloud related feature gates to controller-manager
2020-10-05 10:19:08 -07:00
Kubernetes Prow Robot
267ba6781e
Merge pull request #95098 from phunziker/92402-memcache_test
...
Fix vendor/k8s.io/client-go/discovery/cached/memory staticcheck
2020-10-04 11:23:05 -07:00
Kubernetes Prow Robot
c87dd9c512
Merge pull request #95275 from ProZsolt/golint-pkg-registry-core-replicationcontroller
...
Fix golint failures in pkg/registry/core/replicationcontroller
2020-10-04 03:35:05 -07:00
Kubernetes Prow Robot
0d1ac16ca4
Merge pull request #95180 from SaiHarshaK/staticcheck_kubectl_get
...
fix staticcheck for kubectl pkg files
2020-10-03 10:47:05 -07:00
Zsolt Prontvai
c244e175e2
Fix golint failures in pkg/registry/core/replicationcontroller
2020-10-03 12:56:14 +01:00
Sai Harsha Kottapalli
f6b3c5fb3f
fix staticcheck for kubectl pkg files
2020-10-03 13:50:53 +05:30
Martin Schimandl
104ad794e5
Fix lint errors in pkg/contoller/endpoint
...
Also mark reason for lint errors in:
pkg/controller/endpoint/config/v1alpha1,
pkg/controller/endpointslice/config/v1alpha1
pkg/controller/endpointslicemirroring/config/v1alpha1
2020-10-01 09:11:00 +02:00
a1k24
8854924e65
fixes test/integration/ttlcontroller staticcheck
2020-09-30 11:54:23 +05:30
Martin Schimandl
600d621ce6
Lint ttl_controller
2020-09-28 14:22:37 +02:00
Patrick Hunziker
b08e36eeb9
Fix staticcheck failure for vendor/k8s.io/client-go/discovery/cached/memory
2020-09-27 18:31:46 +02:00
Kubernetes Prow Robot
8eda21ea3f
Merge pull request #94950 from dashpole/empty_package_vendor
...
Fix empty package license generation
2020-09-23 10:14:39 -07:00
Kubernetes Prow Robot
d19aec8bf1
Merge pull request #92985 from serathius/summary
...
Move Kubelet Summary API to staging directory
2020-09-22 22:30:08 -07:00
Kubernetes Prow Robot
f728fbaa62
Merge pull request #94501 from ialidzhikov/nit/labels-staticcheck
...
Fix staging/src/k8s.io/apimachinery/pkg/labels golint findings
2020-09-22 12:23:51 -07:00
Kubernetes Prow Robot
100fe77b38
Merge pull request #86582 from mlmhl/local-up-cluster
...
do not wait for node ready when starting kube-proxy in 'nokubelet' mode
2020-09-22 12:21:09 -07:00
Marek Siarkowicz
7d309e0104
Move Kubelet Summary API to staging repo
2020-09-22 18:23:28 +02:00
David Ashpole
cbdf84a374
handle longer vendor paths without go files
2020-09-21 14:48:19 -07:00
Kubernetes Prow Robot
3fd5f367d6
Merge pull request #94820 from roycaihw/conversion-gen-clean-build
...
verify-generated-swagger-docs: remove unnecessary build
2020-09-16 00:17:19 -07:00
Haowei Cai
1ad3ba35ff
verify-generated-swagger-docs: remove unnecessary build
2020-09-15 19:30:58 -07:00
Kubernetes Prow Robot
3e8e0dbf4a
Merge pull request #94482 from oomichi/expect_no_error-2
...
Use ExpectNoError(err) for some e2e tests
2020-09-15 18:27:19 -07:00
Kubernetes Prow Robot
aed5ffd195
Merge pull request #94449 from justaugustus/go115
...
[go1.15] Update to go1.15.2
2020-09-15 15:15:19 -07:00
Kubernetes Prow Robot
e7b9453972
Merge pull request #93537 from timuthy/enhancement.move-resourcequota
...
Move ResourceQuota admission to k8s.io/apiserver lib
2020-09-15 12:26:58 -07:00
Kubernetes Prow Robot
fd9828b02a
Merge pull request #92632 from RenaudWasTaken/move-podresources-api
...
Move external facing podresources apis to staging
2020-09-15 10:04:07 -07:00
Renaud Gaubert
60304452ff
Move podresources api to k8s.io/kubelet/pkg/apis
...
Signed-off-by: Renaud Gaubert <rgaubert@nvidia.com>
2020-09-15 05:13:33 -07:00
Kubernetes Prow Robot
4378481172
Merge pull request #94768 from justaugustus/aug-hack
...
hack: Add justaugustus as reviewer
2020-09-14 11:48:58 -07:00
David Eads
82ed033ec9
clean up podpreset deprecated client
2020-09-14 09:24:41 -04:00
David Eads
c7911a384c
remove pod presets
2020-09-14 09:24:40 -04:00
Stephen Augustus
8d665d8863
hack: Add justaugustus as reviewer
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-14 09:06:38 -04:00
Mike Danese
bdadb2a187
make kube::util::find-binary not dependent on bazel-out/ structure
...
Implement an aspect that outputs go_build_mode metadata for go binaries,
and use that during binary selection.
2020-09-11 13:19:38 -07:00
Mike Danese
5a72bb001f
hack/lib/util.sh: some bash cleanups
...
* switched one spot to use kube::logging
* make kube::util::find-binary return an error when it doesn't find
anything so that hack scripts fail fast instead of with '' binary not
found errors.
* this required deleting some genfeddoc stuff. the binary no longer
exists in k/k repo since we removed federation/, and I don't see it
in https://github.com/kubernetes-sigs/kubefed/ either. I'm assuming
that it's gone for good now.
2020-09-11 13:19:37 -07:00
Stephen Augustus
01a0c45f4a
[go1.15] hack/tools: Update to k/repo-infra@v0.1.1 (supports go1.15.2)
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-11 13:15:08 -07:00
Kubernetes Prow Robot
360659102c
Merge pull request #94702 from huikang/fix-minor-comment
...
Fix minor comment in a script
2020-09-11 10:48:23 -07:00
Hui Kang
8f2c29635c
Fix minor comment in a script
...
The variable API_HOST is defined below the comment
Signed-off-by: Hui Kang <kangh@us.ibm.com>
2020-09-10 20:53:46 +00:00
ialidzhikov
88fadb24c1
Fix staging/src/k8s.io/apimachinery/pkg/labels golint findings
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2020-09-10 18:55:17 +03:00
Kubernetes Prow Robot
1c6057b59c
Merge pull request #94605 from yttan/lint
...
fix golint failures for staging/src/k8s.io/client-go/examples/workqueue
2020-09-08 21:35:52 -07:00
Haowei Cai
d7ff169552
fix import paths
2020-09-08 14:34:55 -07:00
Haowei Cai
b71252a0ab
add internal.apiserver.k8s.io/v1alpha1 to known gvs
2020-09-08 14:34:55 -07:00
Kubernetes Prow Robot
8728450be1
Merge pull request #94179 from ddymko/golint-fix-azuredd
...
fix golint for pkg/volume/azure_dd
2020-09-08 12:29:53 -07:00
yttan
d3db1ec12d
fix golint failures for staging/src/k8s.io/client-go/examples/workqueue
2020-09-08 15:02:40 +08:00
Matt Matejczyk
67f9d69eaf
Revert "fix cluster/log-dump/log-dump.sh shellcheck failures"
...
This reverts commit 742701622a
.
It broke log dumping, see https://github.com/kubernetes/kubernetes/pull/88349#issuecomment-688385378
2020-09-07 17:13:33 +02:00
Ma Xinjian
a451e2ec3d
Fix typo in comment of hack/verify-shellcheck.sh
...
Signed-off-by: Ma Xinjian <maxj.fnst@cn.fujitsu.com>
2020-09-07 16:25:44 +08:00
David Dymko
cda0070f28
fix golint for pkg/volume/azure_dd
2020-09-05 09:44:27 -04:00
Tim Usner
70d440bc7e
Move ResourceQuota admission to k8s.io/apiserver
2020-09-04 14:53:52 +02:00
M. Habib Rosyad
558b31a5e9
fix vendor/k8s.io/apimachinery/pkg/runtime staticcheck
2020-09-04 11:46:45 +07:00
Kenichi Omichi
12c0eaef25
Use ExpectNoError(err)
...
We missed another pattern to check error doesn't happen on e2e tests.
This covers the pattern for consistent test implementation.
2020-09-03 23:29:07 +00:00
M. Habib Rosyad
19060e312f
fix vendor/k8s.io/apimachinery/pkg/runtime/serializer/versioning staticcheck
2020-09-03 21:44:32 +07:00
Kubernetes Prow Robot
8296643fad
Merge pull request #94371 from bbyrne5/bmb-resourcequota-staticcheck-errorfix
...
fix staticcheck errors in resourcequota
2020-09-03 03:41:41 -07:00
Kubernetes Prow Robot
0455c2d5e7
Merge pull request #94407 from lavalamp/big-rename
...
Control Plane is a better name
2020-09-02 14:49:55 -07:00
Kubernetes Prow Robot
09851c014f
Merge pull request #91596 from brahmaroutu/mount-utils
...
Mount utils
2020-09-02 14:49:41 -07:00
Kubernetes Prow Robot
e2c5387d3f
Merge pull request #93164 from roycaihw/fix/clientgen-use-canonical-import-path
...
Use canonical import path in client-gen input-base
2020-09-02 13:37:21 -07:00
Daniel Smith
9eb664f88a
fix a few missed references
...
```
grep -RIl pkg/master . | xargs -n 1 sed -i 's|pkg/master|pkg/controlplane|g'
LC_ALL=C sort -o hack/.golint_failures hack/.golint_failures
```
2020-09-02 11:45:10 -07:00
Kubernetes Prow Robot
cc14d5f3a1
Merge pull request #94338 from JeremyShih/fix-golint-error-in-admissionregistration
...
fixed golint error in pkg/apis/admissionregistration/validation
2020-09-02 10:37:19 -07:00
Kubernetes Prow Robot
80ada96466
Merge pull request #88349 from BenTheElder/shell-dump
...
fix cluster/log-dump/log-dump.sh shellcheck failures
2020-09-02 09:03:07 -07:00
Kubernetes Prow Robot
eb1fa66aac
Merge pull request #94387 from habibrosyad/patch-92402-9
...
fix vendor/k8s.io/apimachinery/pkg/conversion staticcheck
2020-09-02 06:59:07 -07:00
Srini Brahmaroutu
5db0ae548f
moving files from k8s.io/util/mount into staging/src/k8s.io/mount-utils
2020-09-01 23:25:28 -07:00
Kubernetes Prow Robot
dd6c53d035
Merge pull request #93946 from alexzimmer96/68026-pkg-controller-resourcequota
...
Refactor pkg/controllers/resourcequota to fix golint errors
2020-09-01 19:41:06 -07:00
M. Habib Rosyad
9444a2f2f6
fix vendor/k8s.io/apimachinery/pkg/conversion staticcheck
2020-09-02 05:58:41 +07:00
Kubernetes Prow Robot
b49724d5fc
Merge pull request #94287 from jingyih/update_etcd_server_3p4p13
...
Update default etcd server to 3.4.13
2020-09-01 15:35:20 -07:00
Brian Byrne
a820a82785
fix staticcheck errors in resourcequota
2020-08-31 12:27:23 -04:00
Jeremy Shih
a39f502fc0
fix golint failures
...
some packages under staging/src/k8s.io/sample-apiserver/
2020-08-31 17:19:01 +08:00
Jeremy Shih
4ee5cdc838
fixed golint error in pkg/apis/admissionregistration
2020-08-31 09:43:51 +08:00
jay vyas
1693c111be
Getting rid of the Salt DNS replacements, addded / back.
2020-08-30 09:11:27 +00:00
Kubernetes Prow Robot
3e8bc58cce
Merge pull request #91970 from SergeyKanzhelev/criLinterIssuesFix
...
fix linter issues for kubelet/cri/remote and ri-api/pkg/apis/testing
2020-08-28 10:39:49 -07:00
Kubernetes Prow Robot
a53285feb1
Merge pull request #93733 from adtac/jenkins/KUBE_ROOT
...
benchmark-dockerized.sh: set KUBE_ROOT
2020-08-28 08:04:46 -07:00
Kubernetes Prow Robot
eae3294b8d
Merge pull request #93101 from yiduyangyi/fix-golint
...
fix golint failures in pkg/kubeapiserver/options
2020-08-28 08:03:50 -07:00
Kubernetes Prow Robot
9ff9e8798a
Merge pull request #93498 from luigibk/use-ebtables-from-utils
...
Update k8s.io/utils dependency and use ebtables from there
2020-08-28 06:37:21 -07:00
Kubernetes Prow Robot
7abc47d315
Merge pull request #93136 from donggangcj/fix-static-check-error
...
fix(staticcheck): fix static error of package `/pkg/volume/gcepd`
2020-08-28 06:35:21 -07:00
jingyih
c96b93fbd4
Update default etcd server to 3.4.13
2020-08-28 21:19:24 +08:00
Benjamin Elder
742701622a
fix cluster/log-dump/log-dump.sh shellcheck failures
2020-08-28 00:35:11 -07:00
Sergey Kanzhelev
df2f67daf8
fix linter issues for pkg/kubelet/cri/remote and staging/src/k8s.io/cri-api/pkg/apis/testing
2020-08-28 04:15:39 +00:00
Kubernetes Prow Robot
d8937faf23
Merge pull request #92917 from maryamklabib/staticcheck_fix
...
Resolves staticcheck failures for component-base/metrics
2020-08-27 20:15:02 -07:00
Kubernetes Prow Robot
fd20de89d9
Merge pull request #90433 from joakimr-axis/joakimr-axis_configure-helper.sh
...
Fix shellcheck w/e in cluster/gce/gci/configure-helper.sh
2020-08-27 19:05:47 -07:00
Kubernetes Prow Robot
aa084d4919
Merge pull request #92491 from BenTheElder/fuzz-only-test
...
compile out gofuzz from prod binaries
2020-08-27 17:57:36 -07:00
Kubernetes Prow Robot
67a7509ef3
Merge pull request #92430 from wangkai1994/fix/garbagecollector-staticcheck
...
Fix staticcheck failures for pkg/controller/garbagecollector/garbagecollector_test.go
2020-08-27 17:57:22 -07:00
Kubernetes Prow Robot
99d645d3f3
Merge pull request #92418 from panpan0000/static-check-server-healthz
...
Fix static check failures for staging/src/k8s.io/apiserver/pkg/server/healthz
2020-08-27 17:57:08 -07:00
Kubernetes Prow Robot
5ec83bc973
Merge pull request #91181 from zvier/master
...
fix golint errors for `pkg/kubelet/dockershim`
2020-08-27 17:54:45 -07:00
Kubernetes Prow Robot
02838bde69
Merge pull request #93817 from habibrosyad/patch-92402-test/e2e_node
...
fix test/e2e_node staticcheck
2020-08-27 16:07:37 -07:00
Kubernetes Prow Robot
274e33b691
Merge pull request #93581 from SergeyKanzhelev/nameOfPortMappingIsNotNeeded
...
Clean up in port mapping functionality
2020-08-27 16:06:11 -07:00
Kubernetes Prow Robot
42f1b278a3
Merge pull request #93414 from nikhita/publishing-cm-goversion
...
publishing: disallow specifying go version for master branch in rules
2020-08-27 16:05:29 -07:00
M. Habib Rosyad
ef56177df5
fix vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructuredscheme staticcheck
2020-08-27 19:37:23 +07:00
Kubernetes Prow Robot
72f355a97e
Merge pull request #94036 from saschagrunert/bash
...
Use /usr/bin/env bash in Makefiles and scripts
2020-08-27 04:49:35 -07:00
Kubernetes Prow Robot
9f14b1c89c
Merge pull request #93960 from habibrosyad/patch-92402-5
...
fix vendor/k8s.io/apimachinery/pkg/util/framer staticcheck
2020-08-27 04:48:48 -07:00
Kubernetes Prow Robot
07110b7b34
Merge pull request #93871 from habibrosyad/patch-92402-4
...
fix vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured staticcheck
2020-08-27 04:47:30 -07:00
Kubernetes Prow Robot
b9f25004c3
Merge pull request #93860 from habibrosyad/patch-92402-3
...
fix vendor/k8s.io/apimachinery/pkg/labels staticcheck
2020-08-27 04:47:03 -07:00
Alexander Zimmermann
86dc0364f4
Refactored pkg/controllers/resourcequota
...
* Fixed golint issues
* Removed redundant package import names
* Improved some variables and names
Co-authored-by: Mike Danese <mikedanese@gmail.com>
2020-08-20 14:37:27 +02:00
Sascha Grunert
975b8d352e
Use /usr/bin/env bash in Makefiles and scripts
...
This allows the execution of the Makefiles from distributions which do
have `bash` in a different path.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-08-16 21:13:18 +02:00
Odin Ugedal
1524794231
Fix building with GOFLAGS=-v
...
With go1.15 running go version with "-v" fails, and we should support
it.
2020-08-15 17:44:07 +02:00
M. Habib Rosyad
1e780605a9
fix vendor/k8s.io/apimachinery/pkg/util/framer staticcheck
2020-08-14 09:50:30 +07:00
Jordan Liggitt
bdcffdced3
[go115] Require go1.15 in build helper scripts
2020-08-13 13:46:52 -04:00
Stephen Augustus
5d1e299230
[go1.15] hack/tools: Update to k/repo-infra@v0.0.12 (supports go1.15.0)
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-12 14:19:59 -04:00
M. Habib Rosyad
42c68c303b
fix test/e2e_node staticcheck
2020-08-11 22:11:22 +07:00
M. Habib Rosyad
445cd35b5c
fix vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured staticcheck
2020-08-11 10:19:42 +07:00
M. Habib Rosyad
9436c5f8b3
fix vendor/k8s.io/apimachinery/pkg/labels staticcheck
2020-08-10 21:56:29 +07:00
Odin Ugedal
6dfdf05eaa
Add timeout config for node_e2e tests
...
Some test suits use more than the default 45m, resulting in the test to
crash.
2020-08-09 15:45:56 +02:00
Stephen Augustus
6733a9c470
generated: hack/update-hack-tools.sh && hack/update-vendor.sh
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-09 02:31:05 -04:00
Stephen Augustus
c3d1099205
[go1.15] hack/tools: Update to k/repo-infra@v0.0.11 (supports go1.15rc2)
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-09 02:23:47 -04:00
Adhityaa Chandrasekar
1edb5a892a
benchmark-dockerized.sh: set KUBE_ROOT
...
See https://testgrid.k8s.io/sig-scalability-benchmarks#scheduler for an
example of this script failing.
2020-08-05 20:28:34 +00:00
Jordan Liggitt
4d1b34a582
Speed up update-swagger-docs
...
Only build genswaggertypedocs once per run instead of per-package
Speeds up the script from ~1:10 to ~0:18
2020-08-02 10:56:46 -04:00
Jordan Liggitt
f411880c73
Stop installing all commands before vetting
2020-08-02 10:56:46 -04:00
Jordan Liggitt
d8b0f6fc50
Build code-generator tools directly
2020-08-02 10:56:46 -04:00
Jordan Liggitt
a8ae7aefd0
Lower default log verbosity
2020-08-02 01:22:59 -04:00
Kubernetes Prow Robot
353903b154
Merge pull request #93603 from liggitt/lint
...
Remove golang.org exception for preferring latest minimal version
2020-08-01 20:22:13 -07:00
Kubernetes Prow Robot
e8f58be5a7
Merge pull request #93448 from hasheddan/vendor-deps
...
Add dependencycheck tool to address long running no-vendor-cycles test
2020-08-01 16:13:40 -07:00
hasheddan
8accd354b0
Run make verify with python3 to fix publishing bot issue
...
verify-publishing-bot is experiencing errors importing pyyaml since
python3 was added to kubekins-e2e image. This changes make verify to run
verify-publishing-bot with python3.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-08-01 09:46:13 -05:00
hasheddan
89bfeb5fb4
Update verify-no-vendor-cycles to use dependencycheck
...
verify-no-vendor-cycles currently routinely takes 3-4 minutes to run due
to the way that it checks for cyclical imports in vendored packages.
Moving to using the new dependencycheck tool makes this test much faster.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-08-01 08:11:05 -05:00
Jordan Liggitt
19b636bc84
Remove golang.org exception for preferring latest minimal version
2020-07-31 10:57:07 -04:00
Sergey Kanzhelev
d20fd40884
remove legacy leftovers of portmapping functionality that was moved to CNI
2020-07-30 23:12:16 +00:00
Luigi Bitonti
19793bd3fa
Update k8s.io/utils dependency and use ebtables from there
2020-07-30 08:58:21 +01:00
Kubernetes Prow Robot
5a4aa2026c
Merge pull request #92679 from RainbowMango/pr_etcd_debug_parameter
...
remove etcd deprecated parameters in scripts
2020-07-26 19:52:17 -07:00
Jordan Liggitt
2257f46cac
[go1.15] fix pin-dependency.sh to only use module info
2020-07-25 16:45:02 -04:00
Jordan Liggitt
247fcdfda5
[go1.15] go.mod: update to go1.15
2020-07-25 16:45:02 -04:00
Jordan Liggitt
f33dc28094
generated: hack/update-hack-tools.sh && hack/update-vendor.sh
2020-07-25 16:45:02 -04:00
Stephen Augustus
ed5a62f220
[go1.15] tools: Update to k/repo-infra@v0.0.10 (supports go1.15rc1)
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-25 16:45:01 -04:00
Stephen Augustus
05ffc95347
[go1.15] Remove client support for darwin/386
...
Removed in go1.15 (GH/golang/go/issues/37610).
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-25 16:45:01 -04:00
Nikhita Raghunath
1dffb87037
hack: ensure go version is not specified for master in publishing rules
...
The go version for all master branches is defined in `default-go-version`
locally.
Note that this validation isn't added to publishing-bot directly because
we still want to give users of the publishing-bot the ability to specify
specific go versions for the master branch if they need, but we want to
explicitly disallow this for kubernetes repos.
2020-07-24 14:33:05 +05:30
Dong Gang
b30f6f30ed
fix(staticcheck): fix static error of package /pkg/volume/gcepd
...
Signed-off-by: Dong Gang <dong.gang@daocloud.io>
2020-07-18 10:54:10 +08:00
Kubernetes Prow Robot
f9ad7db9a6
Merge pull request #92349 from jingyih/update_etcd_server_3p4p9
...
Update default etcd server to 3.4.9
2020-07-17 07:53:01 -07:00
Haowei Cai
5de47de7cf
use canonical import path in client-gen so that package comments are
...
honored
2020-07-16 14:54:06 -07:00
Kubernetes Prow Robot
fbbc3ed359
Merge pull request #92490 from neolit123/1.19-increase-kubeadm-cmd-test-timeout
...
kubeadm: increase the timeout for cmd integration tests
2020-07-16 12:18:14 -07:00
yiduyangyi
e2838df7c7
fix golint failures in pkg/kubeapiserver/options
2020-07-15 16:03:08 +08:00
Lubomir I. Ivanov
b086fad508
kubeadm: increase the timeout for kubeadm cmd integration tests
2020-07-13 02:21:57 +03:00
Kubernetes Prow Robot
79ee122c18
Merge pull request #92854 from coderanger/patch-2
...
Make sure the _output folder exists before using it from module-graph.sh
2020-07-11 20:56:53 -07:00
Kubernetes Prow Robot
d20c5ed626
Merge pull request #92832 from marload/patch-0706-03
...
Refactoring: Change Inf Loop Condition (1 -> True)
2020-07-10 23:03:20 -07:00
Kubernetes Prow Robot
4efed03276
Merge pull request #91637 from robscott/endpointslice-mirroring
...
Adding new EndpointSlice Mirroring Controller
2020-07-10 10:19:48 -07:00
Maryam Labib
ac8abb7ac2
Resolves staticcheck failures for component-base/metrics
2020-07-09 20:05:15 -07:00
Kubernetes Prow Robot
fe43b104ba
Merge pull request #91745 from Bisnode/gh-87369
...
Presence of bearer token should cancel exec action
2020-07-09 09:07:00 -07:00
Kubernetes Prow Robot
896da2253c
Merge pull request #92611 from liggitt/go1.13
...
Tolerate go 1.13 builds
2020-07-09 00:05:50 -07:00
jingyih
e9bf1c3c90
Update default etcd server to 3.4.9
2020-07-08 14:16:40 +08:00
Noah Kantrowitz
a1fb2f9c7a
Make sure the _output folder exists before using it from module-graph.sh
2020-07-07 01:19:59 -07:00
Kubernetes Prow Robot
aaf40adcd0
Merge pull request #92461 from Haleygo/001
...
update static check failed from pkg/volume/rbd
2020-07-07 00:57:58 -07:00
wangkai1994
b3b95f5ab5
add defer
2020-07-07 10:20:19 +08:00
Rob Scott
e701cb0205
Enabling the EndpointSliceMirroring controller, adding related config
2020-07-06 12:43:34 -07:00
Jeff Grafton
089a1af421
Move ixdy to emeritus
2020-07-06 10:39:56 -07:00
Jordan Liggitt
ae43f87954
Move go.mod back to go1.13
2020-07-06 10:38:39 -04:00
marload
429672037c
Refactoring: Reduce unnecessary lines
2020-07-06 21:19:35 +09:00
marload
b602ddf901
Refactoring: Change Inf Loop Condition (1 -> True)
2020-07-06 21:15:03 +09:00
Kubernetes Prow Robot
393f9e94e4
Merge pull request #92417 from wawa0210/ipam-staticcheck
...
Ipam staticcheck
2020-07-04 00:30:48 -07:00
Kubernetes Prow Robot
5da9ba51cd
Merge pull request #92750 from wawa0210/e2e-app-staticcheck
...
fix test/e2e/apps staticcheck
2020-07-03 05:04:12 -07:00
Kubernetes Prow Robot
7f78c330c0
Merge pull request #92421 from wawa0210/deployment-staticcheck
...
fix pkg/controller/deployment staticcheck
2020-07-02 06:41:29 -07:00
Kubernetes Prow Robot
2fd2d1b911
Merge pull request #92729 from liggitt/fix-root-license
...
Fix searching for licenses in single-segment modules
2020-07-02 04:18:26 -07:00
Kubernetes Prow Robot
1b871091b9
Merge pull request #91645 from chelseychen/event-api
...
Promote new Event API to v1
2020-07-02 04:16:46 -07:00
wawa0210
444cdc2944
fix pkg/controller/nodeipam staticcheck
2020-07-02 18:32:13 +08:00
wawa0210
9d1948a2f5
fix test/e2e/apps staticcheck
2020-07-02 18:14:12 +08:00
Anders Eknert
b423216a3b
Presence of bearer token should cancel exec action
...
If a bearer token is present in a request, the exec credential plugin should accept that as the chosen method of authentication. Judging by an [earlier comment in exec.go](c18bc7e9f7/staging/src/k8s.io/client-go/plugin/pkg/client/auth/exec/exec.go (L217)
), this was already intended. This would however not work since UpdateTransportConfig would set the GetCert callback which would then get called by the transport, triggering the exec plugin action even with a token present in the request. See linked issue for further details.
See #87369 for further details.
Signed-off-by: Anders Eknert <anders.eknert@bisnode.com>
2020-07-02 12:12:32 +02:00
Kubernetes Prow Robot
94e1c54735
Merge pull request #92655 from BenTheElder/cleanup-some-owners
...
Cleanup some owners
2020-07-01 23:14:08 -07:00
Kubernetes Prow Robot
406671910a
Merge pull request #92415 from wawa0210/statefulset-staticcheck
...
fix pkg/controller/statefulset staticcheck
2020-07-01 23:12:58 -07:00
Jordan Liggitt
49b78b88dc
Fix searching for licenses in single-segment modules
2020-07-01 16:12:36 -04:00
Chelsey Chen
75612c1746
Promote new Event API to v1
2020-07-01 10:50:28 -04:00
Kubernetes Prow Robot
d114b5e542
Merge pull request #92445 from cheftako/graph
...
Added script to generate module level dependency graph.
2020-07-01 00:07:17 -07:00
RainbowMango
23613a90aa
remove etcd deprecated parameters
2020-07-01 11:48:27 +08:00
Benjamin Elder
42acb51e2c
disable goffuzz in binaries
2020-06-30 20:30:59 -07:00
Benjamin Elder
2abc8afece
eparis to emeritus
2020-06-30 09:50:44 -07:00
Benjamin Elder
960ef085e9
zmerlynn to emeritus
2020-06-30 09:43:59 -07:00
Kubernetes Prow Robot
908847c01e
Merge pull request #91526 from maciaszczykm/dashboard-v2.0.1
...
Bump Dashboard to v2.0.1
2020-06-30 05:28:06 -07:00
Kubernetes Prow Robot
2c964aee15
Merge pull request #92536 from jherrera123/fix-issue-92488
...
Suppress expected error messages in verify-generated-files-remake.sh which cause confusion
2020-06-30 00:03:06 -07:00
Kubernetes Prow Robot
850080c41f
Merge pull request #91867 from yan-dblinf/fix_golint_failures_pkg_kubelet_lifecycle
...
Fix golint failures in pkg/kubelet/lifecycle
2020-06-30 00:02:42 -07:00
Kubernetes Prow Robot
c664611f5a
Merge pull request #92462 from Haleygo/vspherevolume-staticcheck
...
fix pkg/volume/vspherevolume static check
2020-06-29 18:34:49 -07:00
Joakim Roubert
80a8566a8c
Fix shellcheck w/e in cluster/gce/gci/configure-helper.sh
...
Change-Id: Ic8fca2509a7cb07f4170eaf25a878036d18ba51c
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2020-06-29 08:43:55 +02:00
Kubernetes Prow Robot
fe4fae0343
Merge pull request #92212 from thockin/verify-typecheck-no-gopath
...
Make verify-typecheck not depend on GOPATH
2020-06-26 20:16:14 -07:00
Jesus Herrera
9f2480208b
Supress expected errors
2020-06-26 20:10:57 -04:00
haleygo
d6cf8d3e57
update static check failed from pkg/volume/rbd
...
remove field from staticcheck_failures
2020-06-27 02:21:51 +08:00
Tim Hockin
d187d7effa
Rewrite typecheck against x/tools/go/packages
...
This runs much faster than before. This change removes all of the
async status output because all of the compute time is spent inside
go/packages, with no opportunity to update the status.
Adds testdata code to prove it fails when expected.
2020-06-26 11:12:06 -07:00
haleygo
a5b7ce1bfd
fix static check failed from pkg/volume/vspherevolume
...
remove field from staticcheck_failures
2020-06-27 02:03:13 +08:00
Kubernetes Prow Robot
a03db636da
Merge pull request #91366 from giuseppe/cgroupfs-cgroupv2
...
vendor: update google/cadvisor and opencontainers/runc
2020-06-26 04:17:31 -07:00
Tim Hockin
734f27d980
Add a reminder to add/rm files
2020-06-25 13:40:17 -07:00
Tim Hockin
15df3d6042
Make verify-typecheck not depend on GOPATH
...
This script fails if not under a GOPATH because we use go/types, which
is not modules aware.
2020-06-25 13:39:51 -07:00
wfender
9e354b2a16
Added script to generate module level dependency graph.
...
Added comments and switched to _output for bentheelder.
Added error checking for logicalhan.
Fixed egrep error.
Added dedupe logic.
Added staging only option.
Fixed ls -> find.
2020-06-25 13:24:15 -07:00
wawa0210
d360be0f7c
fix pkg/controller/statefulset staticcheck
2020-06-26 00:00:41 +08:00
Kubernetes Prow Robot
ad021a88b0
Merge pull request #92408 from BenTheElder/coverage-staticcheck
...
fix pkg/util/coverage staticcheck
2020-06-24 17:52:37 -07:00
Kubernetes Prow Robot
3fbe8c09ef
Merge pull request #92148 from oomichi/block-tests-in-e2e-framework
...
Add check for blocking tests in e2e framework
2020-06-24 13:31:07 -07:00
Kubernetes Prow Robot
67afc8ea3c
Merge pull request #91625 from pancernik/v1beta1-extender-encoding
...
Fix API encoding inconsistencies in KubeSchedulerConfig
2020-06-24 10:31:58 -07:00
Giuseppe Scrivano
78d295d168
hack/update-vendor-licenses.sh: skip empty packages
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-06-24 18:39:49 +02:00
Rafal Wicha
d7c84e11f5
Fix API encoding inconsistencies in KubeSchedulerConfig
2020-06-24 09:03:35 +01:00
Benjamin Elder
d1ec9b3f9c
fix pkg/util/coverage staticcheck
2020-06-23 18:30:32 -07:00
Jordan Liggitt
660c290bbf
go1.14: set -mod=mod while rebuilding/linting vendor and building licenses, preserve explicit imports in modules.txt
2020-06-23 19:04:43 -04:00
Jordan Liggitt
becd9f4a2e
go1.14: update staticcheck for go 1.14, ignore new staticcheck warnings
2020-06-23 19:04:43 -04:00
Jordan Liggitt
c82fe149a6
go1.14: update minimum required go version
2020-06-23 16:40:22 -04:00
wawa0210
7d8aae51df
fix pkg/controller/deployment staticcheck
2020-06-23 19:32:20 +08:00
panpan0000
16c42fffb0
Fix static check failures for staging/src/k8s.io/apiserver/pkg/server/healthz/healthz_test.go
2020-06-23 07:18:04 -04:00
Mark Janssen
e3a0ca2731
Fix staticcheck failures for pkg/registry/...
...
Errors from staticcheck:
pkg/registry/autoscaling/horizontalpodautoscaler/storage/storage_test.go:207:7: this value of err is never used (SA4006)
pkg/registry/core/namespace/storage/storage.go:256:5: options.OrphanDependents is deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional (SA1019)
pkg/registry/core/namespace/storage/storage.go:257:11: options.OrphanDependents is deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional (SA1019)
pkg/registry/core/namespace/storage/storage.go:266:5: options.OrphanDependents is deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional (SA1019)
pkg/registry/core/namespace/storage/storage.go:267:11: options.OrphanDependents is deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional (SA1019)
pkg/registry/core/persistentvolumeclaim/storage/storage_test.go:165:2: this value of err is never used (SA4006)
pkg/registry/core/resourcequota/storage/storage_test.go:202:7: this value of err is never used (SA4006)
pkg/registry/core/service/ipallocator/allocator_test.go:338:2: this value of other is never used (SA4006)
pkg/registry/core/service/portallocator/allocator_test.go:199:2: this value of other is never used (SA4006)
pkg/registry/core/service/storage/rest_test.go:1843:2: this value of location is never used (SA4006)
pkg/registry/core/service/storage/rest_test.go:1849:2: this value of location is never used (SA4006)
pkg/registry/core/service/storage/rest_test.go:3174:20: use net.IP.Equal to compare net.IPs, not bytes.Equal (SA1021)
pkg/registry/core/service/storage/rest_test.go:3178:20: use net.IP.Equal to compare net.IPs, not bytes.Equal (SA1021)
pkg/registry/core/service/storage/rest_test.go:3185:20: use net.IP.Equal to compare net.IPs, not bytes.Equal (SA1021)
pkg/registry/core/service/storage/rest_test.go:3189:20: use net.IP.Equal to compare net.IPs, not bytes.Equal (SA1021)
2020-06-21 17:23:42 +02:00
Yan Yao
cef7876952
Fix golint failures in pkg/kubelet/lifecycle
...
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2020-06-20 18:44:54 -07:00
Kubernetes Prow Robot
219c856ce2
Merge pull request #91555 from daixiang0/scr
...
*.sh: cleanup all white noise
2020-06-20 05:26:53 -07:00
Tim Hockin
4842cb6339
Make verify-api-groups.sh not depend on GOPATH
...
This script quiently depended on being under a GOPATH, and failed
completely when it was not. This change sorts the input (to make
comparing results easier) and operates on files, rather than packages
until the last moment when we add back the package prefix.
Verified by instrumenting the code and comparing runs inside and outside
of GOPATH.
2020-06-16 21:40:09 -07:00
Kubernetes Prow Robot
3be451d4d1
Merge pull request #91936 from SataQiu/fix-update-bazel-20200609
...
Fix bazel BUILD rule and suppress pkg-config errors
2020-06-15 14:18:13 -07:00
Kenichi Omichi
f7fb21c394
Add check for blocking tests in e2e framework
...
e2e test framework provides useful functions for implementing e2e tests,
but the framework itself should not contain e2e tests theirself.
This adds hacking check for blocking implementing e2e tests in the
framework.
2020-06-15 18:08:19 +00:00
Kubernetes Prow Robot
7ac6b15ee4
Merge pull request #91479 from ZhiFeng1993/ZF--add-comments-in-hack-update-scripts
...
Add usage in some hack/update scripts
2020-06-15 05:28:26 -07:00
SataQiu
2281e57e2c
fix bazel BUILD rule and suppress pkg-config errors
...
Signed-off-by: SataQiu <1527062125@qq.com>
2020-06-14 17:47:08 +08:00
Kubernetes Prow Robot
47e79c73cb
Merge pull request #91684 from dims/use-containerd-as-default-in-cluster-kube-up
...
Use containerd as default in kube-up.sh
2020-06-09 14:49:21 -07:00
Kubernetes Prow Robot
416e0576d6
Merge pull request #91525 from bjrara/standalone-aggregator
...
Improve the standalone kube-aggregator
2020-06-09 14:48:33 -07:00
Kubernetes Prow Robot
0e93436ce1
Merge pull request #90976 from andrewsykim/move-cloud-controllers
...
Move cloud provider controllers to k8s.io/cloud-provider
2020-06-09 06:31:18 -07:00
bjrara
c8ac95321d
Enhance kube-aggregator in standalone mode
2020-06-09 13:29:27 +08:00
Kubernetes Prow Robot
77fb14464e
Merge pull request #91537 from bjrara/kube-aggregator-openapi
...
Add openapi generation for the kube-aggregator
2020-06-08 21:43:18 -07:00
Andrew Sy Kim
41dc075a85
move pkg/controller/cloud/node_lifecycle_controller.go to k8s.io/cloud-provider/controllers/nodelifecycle for easier external consumption
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-06-08 17:34:01 -04:00
Andrew Sy Kim
6d4a19b31c
move pkg/controller/cloud/node_controller.go to k8s.io/cloud-provider/controllers/node for easier external consumption
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-06-08 17:34:01 -04:00
Andrew Sy Kim
99d9dda5a7
move pkg/controller/route to k8s.io/cloud-provider/controllers/route for easier external consumption
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-06-08 17:34:01 -04:00
Davanum Srinivas
1731cb30f5
Use containerd as default in kube-up.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-06-07 14:34:50 -04:00
Kubernetes Prow Robot
3f8bb1bf50
Merge pull request #91685 from liggitt/csr-v1
...
CertificateSigningRequest v1 API
2020-06-05 15:30:14 -07:00
Jordan Liggitt
e0f5cca410
Copy CSR v1beta1 to v1
...
* Remove prerelease tags
* Update copyright, package, imports to v1
* Remove signerName, usages, and condition status defaulting
2020-06-05 00:47:24 -04:00
bjrara
5e0bd8a44c
Add openapi generation for the kube-aggregator
2020-06-05 11:10:08 +08:00
Kubernetes Prow Robot
ae2422ae15
Merge pull request #91617 from jqmichael/vendorMd
...
Added link to vendor.md in go.mod
2020-06-04 13:52:12 -07:00
Kubernetes Prow Robot
1bc526aa6c
Merge pull request #88607 from caesarxuchao/add-storage-version-api
...
Add the storage version API
2020-06-03 19:20:43 -07:00
Walter Fender
a47b8d0a3c
Handle clean up of read only files.
...
verify-bazel seems to create read only files under its tmp dir.
When it then goes to clean up the tmp dir it fails.
Adding a command prior to delete to make sure we have perms.
2020-06-03 13:31:18 -07:00
Kubernetes Prow Robot
6dbb92de3d
Merge pull request #91504 from pohly/local-up-cluster-snapshotter
...
local-up-cluster.sh: install CSI snapshotter
2020-06-03 07:30:18 -07:00
Chao Xu
a2ad36f1e5
Add the StorageVersion API
2020-06-02 23:13:46 -07:00
Patrick Ohly
2a31764ba7
local-up-cluster.sh: install CSI snapshotter
...
This cluster add-on is required for snapshotting of CSI volumes and
must be installed when bringing up a cluster because CSI driver
installations depend on that.
It is unclear how many users of the script need CSI snapshotting,
therefore it is disabled by default (= the previous behavior).
2020-06-02 16:15:53 +02:00
Qing Ju
fe8ecb18b0
Added link to vendor.md in go.mod
2020-06-01 17:20:47 -07:00
Kubernetes Prow Robot
d1586ea3f9
Merge pull request #91502 from deads2k/dyn-audit-removal-00
...
remove --feature-gates=DynamicAuditing
2020-05-29 11:56:20 -07:00
Xiang Dai
e09bc312cb
*.sh: cleanup all white noise
...
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
2020-05-29 09:56:00 +08:00
Kubernetes Prow Robot
c682b313d9
Merge pull request #91420 from pancernik/scheduler-config-v1beta1
...
Promote kubescheduler.config.k8s.io to v1betav1
2020-05-28 12:24:39 -07:00
Marcin Maciaszczyk
e5af792ad2
Bump Dashboard to v2.0.1
2020-05-28 13:08:53 +02:00
David Eads
e857adbdfd
remove-api
2020-05-27 16:58:05 -04:00
ZhiFeng1993
4ad6ae83ae
Add usage in some hack/update scripts
2020-05-26 21:49:38 -07:00
Kubernetes Prow Robot
f097cee156
Merge pull request #90960 from zhouya0/fix_kubectl_create_secret_docker_registry
...
Fix kubectl create secret docker-registry --from-file
2020-05-26 05:39:12 -07:00
Rafal Wicha
852442c0ff
Promote kubescheduler.config.k8s.io to v1betav1
2020-05-25 22:25:57 +01:00
Kubernetes Prow Robot
779f875243
Merge pull request #91180 from PengJi/fix_golint_failures
...
fix golint errors in pkg/controller/volume/events/event
2020-05-25 06:27:12 -07:00
zvier
d43817b5ec
fix golint errors for pkg/kubelet/dockershim
...
Signed-off-by: zvier <zvier20@gmail.com>
2020-05-24 23:45:17 +08:00
Kubernetes Prow Robot
4e8b56e667
Merge pull request #91116 from liggitt/local-up-cluster-rotation
...
Enable kubelet client-cert bootstrap/rotation in local-up-cluster
2020-05-23 13:23:10 -07:00
Davanum Srinivas
c7e79d2048
fix import restrictions and BUILD
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-20 10:57:47 -04:00
Kubernetes Prow Robot
ba2855eaa5
Merge pull request #91213 from dims/support-for-banning-incompatible-deps-klog-v1
...
Support for banning incompatible dependencies - start with klog v1
2020-05-18 13:34:17 -07:00
Kubernetes Prow Robot
ee8731a385
Merge pull request #91012 from justaugustus/verify-external
...
verify: Exclude verify-external-dependencies from make verify
2020-05-18 13:33:37 -07:00
Davanum Srinivas
8fd27f62ca
Support for banning incompatible dependencies - start with klog v1
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-18 11:55:01 -04:00
pengji
69999a6d54
fix golint in pkg/controller/volume/events/event.go
2020-05-17 23:34:02 +08:00
QianChenglong
9372e80ec6
fix: golint errors in staging/src/k8s.io/apimachinery/pkg/api/validation
...
Signed-off-by: QianChenglong <qian_cheng_long@163.com>
2020-05-16 21:23:13 +08:00
zhouya0
bbf41448f6
Fix kubectl create secret docker-registry
2020-05-15 12:14:03 +08:00
Jordan Liggitt
734de1bf8c
Enable kubelet client-cert bootstrap/rotation in local-up-cluster
...
Change-Id: Ifea64abbc0b78b12b8aaa5885fd7c4b09c31c98e
2020-05-15 00:22:20 +00:00
Stephen Augustus
edb98fb493
verify: Exclude verify-external-dependencies from make verify
...
Also adds verify-external-dependencies to QUICK_PATTERNS
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-05-12 18:07:14 -04:00
Kubernetes Prow Robot
2260d97d74
Merge pull request #90994 from thockin/fix_license_again
...
Fix umask better
2020-05-12 08:25:18 -07:00
Tim Hockin
8d7adb7d94
Fix umask better
...
While the umask was previously set for builds (and in fact `docker run`
sets it to 0022 by default), the release pipeline `cp`'s files (with
`-a`) which respect the user's umask, and is outside of the build path.
This sets the umask in a common function called by all build tools,
which Stephen agreed was the simplest and most complete fix. The
`verify-prereqs` function is already poorly named for what it does, and
this only makes it epsilon worse.
2020-05-11 13:23:54 -07:00
Kubernetes Prow Robot
b5f67110ed
Merge pull request #87746 from mattjmcnaughton/mattjmcnaughton/poc-compiling-kubelet-wo-docker
...
Support compiling Kubelet w/o docker/docker
2020-05-09 12:01:51 -07:00
Tim Hockin
b450001983
Let verify-vendor operate on a dirty repo
...
Several hours of wasted debug because of this.
2020-05-07 22:36:14 -07:00
Tim Hockin
7cbef7b26f
Fix truncated logfile in verify-vendor
...
Writing to /dev/stderr causes a new FD to be opened. If this is a
literal file, that file can get truncated. `>&2` does not suffer the
same problem.
2020-05-07 21:49:06 -07:00
Tim Hockin
04c2b1fbdc
Purge almost all memories of godep
2020-05-07 21:49:00 -07:00
Tim Hockin
fad9e0650a
Generate new LICENSES tree with revised scripts
2020-05-07 21:49:00 -07:00
Tim Hockin
325ea6e3c2
Restructure licenses again (revert cd4474a
)
...
This moves licenses of vendored code from one monolith file into a tree
of individual files for easier reviews. This fixes both the bash and
bazel paths.
2020-05-07 21:48:59 -07:00
mattjmcnaughton
4a8da5e7b4
Add typecheck-dockerless
...
Ensure that k8s still passes the typecheck when the `dockerless` tag is
enabled. We perform a similar verify step for `providerless`.
2020-05-07 17:18:50 -04:00
Kubernetes Prow Robot
eec809aa93
Merge pull request #90779 from thockin/umask-for-builds
...
Set umask 0022 when building
2020-05-07 14:01:57 -07:00
Tim Hockin
dff449ee9e
Set umask 0022 when building
...
Some binaries now run as non-root (kube-scheduler). When umask is 0027,
for example, the container image we build has the binary 0750, which is
not executable by the non-root UID.
2020-05-05 16:28:43 -07:00
David Eads
8e43b5e5ea
add prerelease-lifecycle verification to all beta APIs
2020-05-05 09:47:31 -04:00
Cecile Robert-Michon
7d6ba67da0
Update find-binary-for-platform to work with non-GNU versions of find
2020-05-01 16:19:00 -07:00
Jie Shen
c71a25e912
Fix shellcheck warnings/errors in cluster/gce/upgrade.sh ( #88576 )
...
* Fix shellcheck warnings/errors in cluster/gce/upgrade.sh
* Update cluster/gce/upgrade.sh
Co-Authored-By: Slava Semushin <slava.semushin@gmail.com>
Co-authored-by: Slava Semushin <slava.semushin@gmail.com>
2020-04-30 21:26:06 -07:00
Davanum Srinivas
14a0e86d1d
Avoid running files-remake in verify-all
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-30 11:35:35 -04:00
Aaron Crickenberger
c2e7ccf2d4
default import-boss --include-test-files=true
2020-04-28 08:41:36 -07:00
Joakim Roubert
bf77061cb1
Fix shellcheck failures in cluster/pre-existing/util.sh
...
This is merely bringing PR #82059 back to life in a contemporary
context, so all cred should go to k-toyoda-pi (and BenTheElder).
Change-Id: I7cf33e50adabbd23d18348448c21c6255502c1ba
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2020-04-23 16:02:48 +02:00
Kubernetes Prow Robot
653396da21
Merge pull request #87405 from gavinfish/kubectl_pkg_cmd_set
...
Staticcheck: vendor/k8s.io/kubectl/pkg/cmd/set and .../edit
2020-04-22 23:09:44 -07:00
Davanum Srinivas
6974d32755
Add Makefile and a note in README.md
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-20 13:45:47 -04:00
Davanum Srinivas
ff6a888180
generate LICENSES used in tools
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-20 13:45:46 -04:00
Davanum Srinivas
ad70acf018
add update/verify for go.mod/sum files in hack/tools
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-20 13:45:46 -04:00
Davanum Srinivas
f981628ce8
move linting dependencies to hack/tools/tools.go
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-20 13:45:38 -04:00
Davanum Srinivas
12146cb4df
Do not include bazel related deps in root go.mod
...
- add ./hack/tools/go.mod, this makes ./hack/tools a distinct module
- hack/tools/tools.go undescore imports bazel related tools, over time we
can add others.
- hack/*.sh scripts will cd to hack/tools and go install tools from there
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-19 22:01:50 -04:00
toyoda
a01b1dada5
Fix shellcheck failure in cluster/gce/config-default.sh
2020-04-17 16:11:58 +09:00
Kubernetes Prow Robot
b4a088f1cf
Merge pull request #88217 from gkarthiks/master
...
fix: golint failures
2020-04-16 08:38:46 -07:00
Kubernetes Prow Robot
1df63e7dc7
Merge pull request #88510 from steveazz/steveazz/68026-rlimit
...
Fix golint issues for `pkg/util/rlimit`
2020-04-15 15:22:45 -07:00
Kubernetes Prow Robot
b7a6d53f5e
Merge pull request #88924 from dims/add-support-for-listing-conformance-tests-in-e2e.test
...
Add support for listing conformance tests in e2e.test
2020-04-15 13:14:45 -07:00
Kubernetes Prow Robot
aed3f05495
Merge pull request #88459 from joakimr-axis/joakimr-axis_config-test.sh
...
Fix shellcheck warnings/errors in cluster/gce/config-test.sh
2020-04-14 15:38:02 -07:00
Kubernetes Prow Robot
ea2d784545
Merge pull request #89895 from jingyih/update_etcd_server_3p4p7
...
Update default etcd server to 3.4.7 in k8s v1.19
2020-04-14 12:34:06 -07:00
Steve Azzopardi
4936cd476b
Fix golint issues for pkg/util/rlimit
...
pkg/util/rlimit/rlimit_linux.go:25:1: exported function RlimitNumFiles should have comment or be unexported
pkg/util/rlimit/rlimit_linux.go:25:6: func name will be used as rlimit.RlimitNumFiles by other packages, and that stutters; consider calling this NumFiles
pkg/util/rlimit/rlimit_unsupported.go:25:1: exported function RlimitNumFiles should have comment or be unexported
pkg/util/rlimit/rlimit_unsupported.go:25:6: func name will be used as rlimit.RlimitNumFiles by other packages, and that stutters; consider calling this NumFiles
Ref: https://github.com/kubernetes/kubernetes/issues/68026
2020-04-14 21:00:41 +02:00
jingyih
394df132bd
Update default etcd server to 3.4.7
2020-04-13 14:37:56 -07:00
Kubernetes Prow Robot
b17ddac4df
Merge pull request #78944 from avorima/golint_fix_job
...
Fix golint errors in pkg/controller/job
2020-04-12 21:57:47 -07:00
Kubernetes Prow Robot
c7297a4498
Merge pull request #87646 from SataQiu/staticcheck-20200129
...
Fix staticcheck failures of pkg/probe/http
2020-04-10 14:39:48 -07:00
Kubernetes Prow Robot
95c3a69b19
Merge pull request #89980 from agadelshin/68026-pkg-registry-apps-golint
...
Fix goling issues for pkg/registry/apps
2020-04-10 09:29:47 -07:00
Kubernetes Prow Robot
5bfe8fe2b9
Merge pull request #88940 from tianhongw/master
...
fix golint errors in staging/src/k8s.io/client-go/plugin/pkg/client/a…
2020-04-10 08:09:47 -07:00
Kubernetes Prow Robot
b0ed3cdd24
Merge pull request #90015 from serathius/visible_to
...
Move prometheus visibility rules to build/visible_to
2020-04-09 22:28:01 -07:00
SataQiu
68ba2fecc1
fix staticcheck failures of pkg/probe/http
2020-04-10 12:14:25 +08:00
Kubernetes Prow Robot
3d350d86d6
Merge pull request #81892 from praseodym/fix-staticcheck-pkg/volume
...
Fix staticcheck failures for pkg/volume/...
2020-04-09 20:03:48 -07:00
Mark Janssen
2c61627f8c
Fix staticcheck failures for pkg/volume/...
...
Errors from staticcheck:
pkg/volume/azure_dd/azure_common.go:68:2: var winDiskNumFormat is unused (U1000)
pkg/volume/csi/csi_block.go:97:2: field volumeInfo is unused (U1000)
pkg/volume/csi/csi_block_test.go:56:6: func prepareBlockUnmapperTest is unused (U1000)
pkg/volume/csi/csi_client.go:108:2: const initialDuration is unused (U1000)
pkg/volume/csi/csi_client.go:109:2: const factor is unused (U1000)
pkg/volume/csi/csi_client.go:110:2: const steps is unused (U1000)
pkg/volume/csi/csi_client_test.go:83:8: this value of err is never used (SA4006)
pkg/volume/csi/csi_mounter.go:76:2: field options is unused (U1000)
pkg/volume/csi/csi_mounter_test.go:454:13: this value of err is never used (SA4006)
pkg/volume/csi/csi_plugin_test.go:766:16: this value of err is never used (SA4006)
pkg/volume/csi/csi_plugin_test.go:861:13: this value of err is never used (SA4006)
pkg/volume/csi/csi_plugin_test.go:1186:13: this value of err is never used (SA4006)
pkg/volume/csi/csi_plugin_test.go:1249:13: this value of err is never used (SA4006)
pkg/volume/csi/csi_test.go:305:5: the goroutine calls T.Fatalf, which must be called in the same goroutine as the test (SA2002)
pkg/volume/flexvolume/probe_test.go:67:10: this value of err is never used (SA4006)
pkg/volume/iscsi/iscsi_test.go:95:2: field attachCalled is unused (U1000)
pkg/volume/iscsi/iscsi_test.go:96:2: field detachCalled is unused (U1000)
pkg/volume/iscsi/iscsi_test.go:501:24: this value of err is never used (SA4006)
pkg/volume/iscsi/iscsi_util_test.go:159:2: this value of exist is never used (SA4006)
pkg/volume/local/local.go:351:57: argument devicePath is overwritten before first use (SA4009)
pkg/volume/plugins_test.go:119:2: this value of plug is never used (SA4006)
pkg/volume/plugins_test.go:125:2: this value of plug is never used (SA4006)
pkg/volume/quobyte/quobyte.go:474:23: this result of append is never used, except maybe in other appends (SA4010)
pkg/volume/quobyte/quobyte.go:477:23: this result of append is never used, except maybe in other appends (SA4010)
pkg/volume/quobyte/quobyte.go:480:23: this result of append is never used, except maybe in other appends (SA4010)
pkg/volume/rbd/rbd.go:886:2: field adminSecret is unused (U1000)
pkg/volume/rbd/rbd.go:887:2: field adminID is unused (U1000)
pkg/volume/rbd/rbd.go:888:2: field imageFormat is unused (U1000)
pkg/volume/rbd/rbd.go:889:2: field imageFeatures is unused (U1000)
pkg/volume/storageos/storageos.go:302:2: field secretName is unused (U1000)
pkg/volume/storageos/storageos_util_test.go:43:2: field apiAddr is unused (U1000)
pkg/volume/storageos/storageos_util_test.go:44:2: field apiUser is unused (U1000)
pkg/volume/storageos/storageos_util_test.go:45:2: field apiPass is unused (U1000)
pkg/volume/storageos/storageos_util_test.go:46:2: field apiVersion is unused (U1000)
pkg/volume/util/atomic_writer_test.go:756:49: argument err is overwritten before first use (SA4009)
pkg/volume/util/fsquota/common/quota_linux_common.go:37:2: const acct is unused (U1000)
pkg/volume/util/fsquota/common/quota_linux_common.go:38:2: const enforcing is unused (U1000)
pkg/volume/util/fsquota/project.go:168:31: identical expressions on the left and right side of the '==' operator (SA4000)
pkg/volume/util/fsquota/quota_linux.go:306:50: argument poduid is overwritten before first use (SA4009)
pkg/volume/util/fsquota/quota_linux_test.go:558:16: this value of err is never used (SA4006)
pkg/volume/util/subpath/subpath_linux.go:232:81: argument err is overwritten before first use (SA4009)
pkg/volume/util/subpath/subpath_linux_test.go:579:73: argument err is overwritten before first use (SA4009)
2020-04-09 22:08:07 +02:00
Marek Siarkowicz
62d010d6ac
Move prometheus visibility rules to build/visible_to
2020-04-09 20:18:26 +02:00
Joakim Roubert
21bef7536c
Fix shellcheck warnings/errors in cluster/gce/config-test.sh
...
Change-Id: I3760337aa345ca5b801587ea12c971a95168f7d7
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2020-04-09 08:30:13 +02:00
Lubomir I. Ivanov
9bbd321fec
remove /cluster/kubeadm.sh and /test/cmd/kubeadm.sh
...
/cluster/kubeadm.sh is used to find the kubeadm binary.
This file is legacy and is removed.
Remove /test/cmd/kubeadm.sh. This file contains a function that is used
to build kubeadm and invoke "make test". Move the function contents
to hack/make-rules/test-cmd.cmd.
Stop sourcing /test/cmd/kubeadm.sh in /test/cmd/legacy-script.sh.
Also remove the --kubeadm-path invocation as this can be handled
with an env. variable directly.
2020-04-09 00:47:15 +03:00
Artur Gadelshin
3ab5ea09ed
Fix goling issues for pkg/registry/apps
2020-04-08 23:12:29 +02:00
Kubernetes Prow Robot
8cdf21ab4c
Merge pull request #86409 from sshukun/fix-golint
...
Fix go-lint issues in package pkg/kubelet/checkpointmanager/testing/example_checkpoint_formats/v1
2020-04-06 15:42:01 -07:00
Kubernetes Prow Robot
9c3b5887d2
Merge pull request #89821 from wojtek-t/cleanup_apimachinery_tests
...
Cleanup apimachinery tests and stop relying on default conversions
2020-04-06 13:48:00 -07:00
Sean R. Sullivan
748ad74245
Even with build error, kubectl apply should apply all valid resources
2020-04-04 15:48:31 -07:00
wojtekt
8eb60c2474
Remove k8s.io/apimachinery/pkg/runtime/serializer/testing directory
2020-04-03 17:45:02 +02:00
Kubernetes Prow Robot
dd35908c7f
Merge pull request #89298 from gavinfish/scheuler-config-alph1
...
Remove kubescheduler.config.k8s.io/v1alpha1
2020-04-02 21:39:59 -07:00
Kubernetes Prow Robot
821ebaf0c6
Merge pull request #87448 from YuikoTakada/fix_81657_t_integ_dep
...
Fix static check failures in test/integration/deployment
2020-04-02 21:39:45 -07:00
Davanum Srinivas
b6a07b92fc
add conformance testdata/ and make it available from bindata
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-01 10:48:01 -04:00
Kubernetes Prow Robot
1b7f5662e1
Merge pull request #89215 from k-toyoda-pi/use_expectnotequal_service
...
Use ExpectNotEqual in test/e2e/network/
2020-03-31 14:15:28 -07:00
Kubernetes Prow Robot
7b621d82d5
Merge pull request #89620 from dims/fix-mismatch-between-pod-resources-verify/update-scripts
...
fix mismatch between pod resources verify/update scripts
2020-03-31 09:26:40 -07:00
Kenichi Omichi
03c7bdcacc
Enable import-boss check for integration test
...
Integration tests imported e2e test code and the dependency made two drawbacks:
- Hard to move test/e2e/framework into staging (#74352 )
- Need to run integration tests always even if PRs are just changing e2e test code
This enables import-boss check for blocking such dependency.
2020-03-30 21:09:15 +00:00
Davanum Srinivas
62269f5e6e
fix mismatch between pod resources verify/update scripts
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-03-28 20:25:36 -04:00
SataQiu
590f0f345b
fix the bug that update-vendor.sh reports error when grep match failed
2020-03-28 15:50:24 +08:00
Kubernetes Prow Robot
2d4253077d
Merge pull request #89539 from seans3/kubectl-apply-fix
...
Fixes problem where kubectl apply stops after first error
2020-03-27 17:11:53 -07:00
Kubernetes Prow Robot
4e9dd8fd36
Merge pull request #89454 from gavinfish/import-aliases
...
Update .import-aliases for e2e test framework
2020-03-27 14:35:54 -07:00
Kubernetes Prow Robot
119660098b
Merge pull request #89550 from Huang-Wei/sched-cc-over-individual-config-args
...
Use sched ComponentConfig over individual command line args
2020-03-27 00:38:22 -07:00
Sean R. Sullivan
1083c0fe05
Adds integration test for apply failures when applying multiple resources
2020-03-26 22:33:04 -07:00
Wei Huang
33ea82227e
Use sched ComponentConfig over individual command line args
2020-03-26 17:11:17 -07:00
Jordan Liggitt
07e512bb6b
Detect transitive dependencies on k8s.io/kubernetes
2020-03-26 13:58:28 -04:00
Kubernetes Prow Robot
295b53f7b4
Merge pull request #89214 from jingyih/update_etcd_server_3p4p4
...
Update default etcd server to 3.4.4 in k8s v1.19
2020-03-26 01:14:24 -07:00
li-ang
fe0f38839a
Use correct path when installing go-bindata
2020-03-25 16:10:19 +08:00
drfish
dfab6b637f
Update .import-aliases for e2e test framework
2020-03-25 11:40:02 +08:00
gavinfish
2b8e60bb21
Staticcheck: vendor/k8s.io/pkg/cmd/set|edit
2020-03-21 23:20:02 +08:00
gavinfish
1865a104a9
Remove kubescheduler.config.k8s.io/v1alpha1
2020-03-21 15:11:48 +08:00
Kubernetes Prow Robot
80d56220be
Merge pull request #89136 from dims/zero-out-build-id-for-reproducible-build
...
zero out the build id for reproducible builds
2020-03-18 22:24:38 -07:00
zzde
a95d04993a
Fix golint failures in pkg/credentialprovider ( #88860 )
...
* Fix golint failures in pkg/credentialprovider
* improve Comment
* test
2020-03-18 20:10:43 -07:00
toyoda
7499d80fd8
Use ExpectNotEqual in test/e2e/network/
2020-03-18 16:30:56 +09:00
jingyih
f9e0e4c6b4
Update default etcd server to 3.4.4
2020-03-18 00:27:46 -07:00
Kubernetes Prow Robot
359f39c215
Merge pull request #88531 from claudiubelu/tests/configurable-private-image-pull
...
tests: Adds configurable docker conf for test
2020-03-17 16:21:19 -07:00
Kubernetes Prow Robot
1827fe444e
Merge pull request #87895 from alexzimmer96/68026-lint-pkg-controller-autoscaler
...
Fix Golint errors in pkg/controller/podautoscaler
2020-03-17 16:19:53 -07:00
Davanum Srinivas
d70d04f92b
zero out the build id for reproducible builds
...
We have been having issues with making builds reproducible, especially
with the `.note.go.buildid` ELF section. One tip from a golang issue was
to set `-ldflags=-buildid=` which seems to work well. You can confirm
that the buildid is set to empty by inspecting the binaries with the go
command example `go tool buildid _output/local/go/bin/kubectl`
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-03-15 20:43:19 -04:00
tianhongw
50de627302
fix golint errors in staging/src/k8s.io/client-go/plugin/pkg/client/auth/oidc
2020-03-07 22:35:10 +08:00
Davanum Srinivas
e93c6a67d5
Use go-bindata built from vendor/
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-03-06 13:53:12 -05:00
Kubernetes Prow Robot
f605ab0b08
Merge pull request #88502 from caesarxuchao/make-egress-api-beta
...
Promote the egressSelector API to beta
2020-03-05 20:04:02 -08:00
Kubernetes Prow Robot
55bfdc6024
Merge pull request #88004 from verb/cli-debug
...
Add kubectl debug alpha command
2020-03-05 07:18:37 -08:00
Lee Verberne
e5b655938e
Add kubectl debug alpha command
...
This first version of `kubectl alpha debug` is an import of the existing
kubectl-debug plugin, which supports adding ephemeral containers to
running pods. This attempts to follow patterns used by other kubectl
commands such as run, exec and scale.
2020-03-04 19:20:04 +01:00
Kubernetes Prow Robot
0535520f6e
Merge pull request #88758 from soltysh/hide_last_applied
...
Hide kubectl.kubernetes.io/last-applied-configuration in describe
2020-03-03 21:06:01 -08:00
Kubernetes Prow Robot
aeb88b6ecd
Merge pull request #88587 from cmluciano/cml/v1beta1paths
...
Adding PathType to Ingress
2020-03-03 18:13:47 -08:00
Kubernetes Prow Robot
62dc3ea6d1
Merge pull request #87368 from 928234269/fix_staticcheck01
...
fix staticcheck errors in pkg/controller/daemon.
2020-03-03 12:15:28 -08:00
Rob Scott
f38904d6f4
Adding PathType to Ingress
...
Co-authored-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-03-03 11:11:16 -08:00
Maciej Szulik
02cd65d7bb
Squash pkg/describe/versioned/ into pkg/describe/
2020-03-03 19:20:06 +01:00
pohsienshih
9bfe818229
Fixed golint issues in RBD code
2020-02-29 23:36:58 +08:00
Kubernetes Prow Robot
665c6648eb
Merge pull request #87485 from gavinfish/kubectl_pkg_config
...
Staticcheck: vendor/k8s.io/kubectl/pkg/cmd/exec|config|certificates
2020-02-29 02:26:39 -08:00
Chao Xu
3fbb549fb7
Promote the egressselector API to beta
2020-02-28 11:29:45 -08:00
Kubernetes Prow Robot
1799706bdd
Merge pull request #88399 from chendave/arm_etcd
...
Fix etcd issues on ARM
2020-02-27 00:15:33 -08:00
Dave Chen
2543598628
Fix etcd issues on ARM
...
- On unstable arch like ARM, etcd needs the "ETCD_UNSUPPORTED_ARCH" to be set
`# etcd --version
etcd on unsupported platform without ETCD_UNSUPPORTED_ARCH=arm64 set`
- `tail -n +1 | head -n 1` is unnecessary, `head -n 1` is enough.
2020-02-27 12:55:53 +08:00
Kubernetes Prow Robot
5cc572f798
Merge pull request #88329 from claudiubelu/promoter/sed-fix
...
test images: Image Promoter sed fix
2020-02-26 03:54:40 -08:00
Kubernetes Prow Robot
418afb7607
Merge pull request #88476 from ingvagabund/allow-to-override-test-benchtime
...
scheduler_perf: allow to override the default benchtime
2020-02-24 21:38:48 -08:00
Steve Azzopardi
4eb06577dc
Fix golint issues for core/v1/validation
...
reference https://github.com/kubernetes/kubernetes/issues/68026
2020-02-24 20:50:39 +01:00
Jan Chaloupka
b50f60c98f
scheduler_perf: allow to override the default benchtime
...
The new benchmark requires the benchtime to be set to a very small number
so each test is run at most once. Some machines can have too powerfull resources
and decrease running time of some tests under the default 1s. Also, the old suite
expects the benchtime to be set to 1s. Allow to override the benchtime for the
new test suite will allow to run the same script from both suites.
2020-02-24 19:22:41 +01:00
Claudiu Belu
1a8183d262
tests: Adds configurable docker conf for test
...
The image "gcr.io/authenticated-image-pulling/windows-nanoserver:v1" is not a
manifest list, and it is only useful for Windows Server 1809, which means that the
test "should be able to pull from private registry with secret" will fail for
environments with Windows Server 1903, 1909, or any other future version we might
want to test.
This commit adds the the ability to have an alternative private image to pull by
using a configurable docker config file which contains the necessary credentials
needed to pull the image.
2020-02-22 22:21:28 -08:00
Kubernetes Prow Robot
23045f9247
Merge pull request #88057 from julianvmodesto/remove-deprecated-rolling-update
...
Remove deprecated rolling-update command
2020-02-21 18:31:30 -08:00
Kubernetes Prow Robot
d1361c5a91
Merge pull request #87903 from oomichi/e2eskipper
...
Update conformance requirement check
2020-02-21 18:31:15 -08:00
Kubernetes Prow Robot
ddd6d668f6
Merge pull request #87880 from k-toyoda-pi/add_some_aliases
...
Add some aliases into import-aliases for e2e framework
2020-02-19 04:46:25 -08:00
Claudiu Belu
6d3a18b0be
test images: Image Promoter sed fix
...
The image used by the Image Promoter (gcr.io/k8s-testimages/gcb-docker-gcloud:v20190906-745fed4)
is based on busybox, and thus, the sed binary is actually busybox. image-util.sh calls
kube::util::ensure-gnu-sed several times, which ensures that a GNU sed binary exists
(it checks by greping GNU in its --help output). Obviously, it won't match the busybox sed
binary. But the sed usage in image-util.sh is fairly simple, and the busybox sed is sufficient.
This was previously fixed in: #87188 , but it was reverted by #87653 as it was failing
on Mac (sed does not exist). This commit fixes that issue as well.
2020-02-18 19:58:35 -08:00
Kubernetes Prow Robot
d58216a253
Merge pull request #88181 from BenTheElder/healthier-monitor
...
fix shellcheck failures in health-monitor.sh
2020-02-18 15:32:37 -08:00
gkarthiks
8853a985fd
fix: golint failures
...
Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>
2020-02-16 15:09:45 -08:00
Kubernetes Prow Robot
1c60045db0
Merge pull request #88173 from BenTheElder/gives-a-whole-new-pause
...
upgrade pause everywhere
2020-02-15 02:11:27 -08:00
Kubernetes Prow Robot
3e3a3599ca
Merge pull request #87711 from alena1108/jan30volume
...
Ineffassign fixes for pkg/volume
2020-02-14 21:53:28 -08:00
Benjamin Elder
4454ce6f37
fix shellcheck failures in health-monitor.sh
2020-02-14 16:12:18 -08:00
Benjamin Elder
53da837872
bump pause to 3.2 in hack/
2020-02-14 14:03:19 -08:00
Kubernetes Prow Robot
b290e0b7ab
Merge pull request #88162 from ingvagabund/scheduler-perf-metrics-report-under-artifacts-dir
...
Report scheduler_perf integration test kube-scheduler metrics into artifacts dir
2020-02-14 13:11:51 -08:00
Kubernetes Prow Robot
4a45ae3236
Merge pull request #87645 from fromanirh/topomgr-e2e-tests
...
e2e-topology-manager: single-NUMA-node test
2020-02-14 08:06:19 -08:00
Jan Chaloupka
51120d133c
Report scheduler_perf integration test kube-scheduler metrics into artifacts dir
...
make test-integration ran within jenkins job does not collect json file with generated metrics
from kube-scheduler. The artifacts dir needs to be set explicitly through new -data-items-dir
test flag. The metrics are required to provide more comphrehensive information about
kube-scheduler internals.
2020-02-14 15:11:50 +01:00
Kubernetes Prow Robot
81b6980d7f
Merge pull request #87285 from joakimr-axis/joakimr-axis_release.sh
...
Fix shellcheck warnings/errors in /build/lib/release.sh
2020-02-14 03:08:17 -08:00
Julian V. Modesto
932500c015
Remove deprecated rolling-update command
2020-02-13 23:52:53 -05:00
Benjamin Elder
becc4b7d57
remove unused manifest-tool rules
2020-02-13 14:58:26 -08:00
Kubernetes Prow Robot
de9bbcc9cd
Merge pull request #87403 from gavinfish/kubectl_pkg
...
Staticcheck: vendor/k8s.io/kubectl/pkg/scale etc.
2020-02-12 07:48:52 -08:00
Kubernetes Prow Robot
d5ea2f15b5
Merge pull request #87234 from KobayashiD27/fix-golint
...
fix golint error in plugin/pkg/auth/authorizer/rbac/bootstrappolicy
2020-02-12 02:23:05 -08:00
Kubernetes Prow Robot
ba10669143
Merge pull request #87595 from hase1128/add-comment-hack-script
...
Add comments in several hack/*.sh
2020-02-11 23:14:20 -08:00
Kubernetes Prow Robot
f9244a5223
Merge pull request #87417 from hase1128/add-comment-to-several-verify-scripts_4
...
Add comments in several hack/verify-*.sh(s-v)
2020-02-11 23:14:07 -08:00
Francesco Romani
cd7e3d626c
e2e: topomgr: add test infra
...
This patch all the testing infra and utilities needed
to run e2e topology manager tests. This include setup
a guaranteed pod which needs some devices.
The simplest real device available for the purpose
are the SRIOV devices, hence we use them.
This patch pulls the SRIOV device plugin from
the official, yet external, repository.
We do it as close as possible for the nvidia GPU plugin.
This patch also performs minor refactoring for some
test framework utilities, needed to support the new
e2e tests.
Finally, we add an empty e2e topology manager test,
to be completed by the next patch.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:53 +01:00
Mike Danese
119f220832
remove authn/z.CreateContext expansions
2020-02-10 13:17:59 -08:00
Kubernetes Prow Robot
ca1514d03b
Merge pull request #80651 from odinuge/kubectl-proxy-handle-error
...
Add error check in kubectl proxy on server setup
2020-02-09 11:23:52 -08:00
Kubernetes Prow Robot
eb2d1fd19b
Merge pull request #87914 from RainbowMango/pr_support_providerid
...
Support config kubelet provider id for local cluster
2020-02-09 07:27:53 -08:00
Kubernetes Prow Robot
7c1dfd1b83
Merge pull request #83546 from Asalle/fix-golint-passwordfile
...
Fix golint in staging/src/k8s.io/apiserver/plugin/pkg/authenticator/password/passwordfile
2020-02-08 10:15:54 -08:00
gavinfish
f4940cf55f
Staticcheck: vendor/k8s.io/kubectl/pkg/scale|describe/versioned|cmd/top|cmd/util/editor|cmd/top
2020-02-08 11:09:28 +08:00
Kubernetes Prow Robot
6d4e2d722e
Merge pull request #87381 from yuxiaobo96/k8s-staticcheck3
...
staticcheck: pkg/volume/fc, pkg/volume/portworx and pkg/volume/vspher…
2020-02-07 18:32:58 -08:00
Kubernetes Prow Robot
2c0fad1bc7
Merge pull request #87503 from liggitt/remove-alpha-node-api
...
Drop k8s.io/node-api packages
2020-02-07 15:20:12 -08:00
Kubernetes Prow Robot
77de56994e
Merge pull request #87885 from alexzimmer96/68026-lint-pkg-registry-core-pod
...
Fix Golint errors in pkg/registry/core/pod
2020-02-07 12:32:41 -08:00
Jordan Liggitt
0b32e142d4
Drop k8s.io/node-api packages
2020-02-07 10:07:14 -05:00
Kubernetes Prow Robot
f6abf820fd
Merge pull request #87874 from 928234269/fix_staticcheck07
...
fix staticcheck errors in vendor/k8s.io/legacy-cloud-providers/aws.
2020-02-07 05:57:30 -08:00
Kubernetes Prow Robot
db1ee8add7
Merge pull request #87653 from JieJhih/shell/util
...
fix command variable exited with status 1
2020-02-07 05:56:50 -08:00
Kubernetes Prow Robot
1f147a4cf5
Merge pull request #87734 from mikedanese/ctxsnap
...
snapshot clientsets pending context migration
2020-02-07 00:08:10 -08:00
RainbowMango
99c15d2828
Support config kubelet provider id for local cluster.
2020-02-07 14:12:48 +08:00
Kubernetes Prow Robot
c493dd9542
Merge pull request #87826 from mikedanese/owner
...
add myself to hack/OWNERS
2020-02-06 17:47:42 -08:00
Kubernetes Prow Robot
9c1e124b15
Merge pull request #87823 from tallclair/test-tokens
...
Ensure testing credentials are labeled as such
2020-02-06 17:47:29 -08:00
Kenichi Omichi
7b44ad0606
Update conformance requirement check
...
After solving the issue https://github.com/kubernetes/kubernetes/issues/87047
skip functions have been moved to e2eskipper from e2e framework.
This updates the conformance requirement check to follow the move.
2020-02-06 20:09:00 +00:00
Alexander Zimmermann
a1c837022c
Fixed Golint errors in pkg/controller/podautoscaler
2020-02-06 17:16:38 +01:00
Alexander Zimmermann
026ba54961
Fixed Golint errors in pkg/registry/core/pod
2020-02-06 11:40:37 +01:00
toyoda
f185c474e0
Add some aliases into import-aliases for e2e framework
2020-02-06 17:40:56 +09:00
Sakura
d5edfc9817
fix staticcheck errors in vendor/k8s.io/legacy-cloud-providers/aws.
...
Signed-off-by: Sakura <longfei.shang@daocloud.io>
2020-02-06 11:08:45 +08:00
Kubernetes Prow Robot
9f6f608816
Merge pull request #87492 from 928234269/fix_staticcheck05
...
fix static check errors in vendor/k8s.io/apimachinery/pkg/api/resource
2020-02-05 12:11:55 -08:00
Mike Danese
ca7a456a6b
add myself to hack/OWNERS
...
I have 140 commits in this directory and I get a lot of cleanup reviews
and want to be able to approve changes to hack/.golint_failures.
0e69316b
delete unused cache
b9c7007c
enable token review when openapi is generated
d5bbc35d
make deps-approvers the approvers of sample-cli-plugin/Godeps
4186abf7
bzl: fix update-bazel.sh
7b472296
remove deprecated /proxy paths
b9738404
gke-certificates-controller: rm -rf
49610655
cluster: remove unused functions
1e2b6442
cluster: move logging library to hack/
bef68f7d
cluster: build gci mounter like other go binaries
fe7ba9e7
kubeadm: use kubelet bootstrap instead of reimplementing
3c39173e
fixit: break sig-cluster-lifecycle tests into subpackage
64f77ebf
enable race detection on integration tests
cdcfa35c
promote tls-bootstrap to beta
ff4a814c
migrate set generation to go genrule
3600d495
delete benchmark integration tests that don't work at all
21617a60
don't use build tags to mark integration tests
59fc948a
bump rules_go and go version for bazel builds
ba5c2855
bazel: implement git build stamping
ad42b429
move kubeadm api group testing to kubeadm package
c8ce55fe
Revert "Merge pull request #41132 from kubernetes/revert-40893-kubelet-auth"
cbe5bd97
bump gazel to v14
86d94937
remove second CA used for kubelet auth in favor of webhook auth
04a7880b
update repo local config to allow redirects from gopkg.in
44b72465
autogenerated
96c146c8
promote certificates.k8s.io to beta
087016dd
update gazel to v8
837eee43
pin gazel to v3
e225625a
add a configuration for kubelet to register as a node with taints
584689f1
implement kubectl procelain csr commands
93f737ea
fix verify-bazel.sh on mac and windows
5dc7554a
bazel: implement set-gen as a bazel genrule
61bd6aa6
remove docs/user-guide from bindata search path
224e32bc
make godep licenses/copyright check case insensitive
1cd29689
godep: vendor go-bindata
d380cb1d
fix realpath issue on mac
ea632fa8
Revert "disable bazel build"
27116c68
rename build/ to build-tools/
ee15c80d
disable bazel build
999c9677
ignore BUILD in the flags-underscore.py validation
b250a880
don't check BUILD file when verifying godeps
a2eec91a
add bazel presubmits to verify BUILD files are up to date
c17a8a77
kubectl: apply prune should fallback to basic delete when a resource has no reaper
25e4dcce
kubeadm: fix conversion macros and add kubeadm to round trip testing
6d17a878
kubectl: add two more test of kubectl apply --prune
62960aac
add a test for kubectl apply --prune
6339d915
add a test to test-cmd.sh for apply -f with label selector
b421bf43
build kube-discovery and kubeadm with release
0c76cf5c
fix hack/verify-codegen.sh
9f379df7
add an option to controller-manager to auto approve all CSRs
95e2e299
move kube-dns to the cluster/addons/ directory
f3de21bd
move integration tests into individual pacakges
af0177ef
cleanup hack/verify-govet.sh to throttle process creation
2c93ea5d
Merge pull request #27289 from mikedanese/split-verify
ee34c769
split verify out of unit/integration suite
d046275a
now that go test runs iteration loops, use that instead of custom executor
1ef19062
Merge pull request #26197 from wonderfly/update_default_master_image
fbf6bbc4
Merge pull request #25596 from derekparker/inotify
3e1c0b59
run kube-addon-manager in a pod
c5cc0c34
Merge pull request #24277 from ihmccreery/upgrade-timeout
132c4271
add linux fastbuild option to ./build/release.sh
2857baa7
use defaults in test-dockerized for etcd prefix and api versions
695211e2
Merge pull request #21105 from caesarxuchao/watchCacheForIntegration
2172e0de
Merge pull request #21108 from mml/slow-flake
1478cf34
Merge pull request #21090 from ihmccreery/feature-reboot
b3172a4c
kubelet: add a pidfile
b1743a68
this is a manual reversion of #20702
5b270551
Merge pull request #19378 from ihmccreery/remove-update-jobs
b7438274
Merge pull request #19659 from ihmccreery/timeout-reboot
a6589f7d
hack: ignore cluster/env.sh in boilerplate check
f71657d9
retrofit the scheduler with the leader election client.
bf763bba
Merge pull request #19498 from pwittrock/nodelabels
22cfa5ea
build: move some of hack/lib/ into a new cluster/lib/
b174fc9c
Merge pull request #18994 from bprashanth/flannel_suite
a09d85bd
expose master count configuration in a cli option on apiserver
c2753d75
bump ci go version to 1.5.2
0655e65b
fall back to old behavior when deciding mem availablity during build
1d9d11c8
run kube-proxy in a static pod
91de3a12
cleanup some nits in hack/get-build.sh
cd79c6c0
fix unbound variable error in hace/get-build.sh
5e64590f
renable enable var to correct name and only use it when needed
9bdb860e
add apigroup installer and tests
e6d3b47e
add componentconfig api group to autogen stuff
88008de9
Merge pull request #16459 from mikedanese/enable-exp
d28d1344
Merge pull request #16533 from ihmccreery/upgrade-test-fixes
33435225
enable deployment and daemonset in gce upgrade tests
7cbf249b
Merge pull request #15836 from wojtek-t/codecgen_from_godeps
92404e7c
add upgrade test between 1.0 and 1.1 for gce
95b8394a
Merge pull request #15861 from mikedanese/upgrade-num-minion
ece5779f
increase NUM_MINIONS for jenkins gce upgrade test
b8b35afa
actually promote daemonset simple test out of flaky and skip all daemonset tests in gke
d379a360
copy directory not contents of directory
402e68e0
add slow test for terminated pod garbage collection
c0943f11
add intermediate e2e runs to gce upgrade
10d56ff1
promote simple daemonset test out of flaky
b635fc53
Merge pull request #15228 from mesosphere/sttts-conformance-tags
392f33e4
Merge pull request #14054 from mikedanese/register-master
fa60bbe8
add flag to kubelet to ignore the cidr passed down by the apiserver on the master
53e14c7a
diff all of pkg/ when verifying swagerspec instead of just pkg/api/
05ef8ed2
Merge pull request #15104 from mikedanese/ds-e2e
fe820fc4
break up daemonset test into two tests
833be48d
enable all experimental flags with one controller
905e9716
be explicit about minion group size in upgrade test
ae7d3d5a
add gce-upgrade to jenkins/e2e.sh
376faea1
add pod garbage collection
b0457bee
Merge pull request #13058 from mvdan/go1.5
a48f2182
Merge pull request #13754 from tummychow/labels-deps
1fec1993
Merge pull request #13824 from kubernetes/revert-13547-hpa-kubeup
fa40ced8
move contrib/for-tests to test/images
f0618758
updating all references in .sh scripts
83266970
rewrite all links to prs to k8s links
fb02b33e
fix build
8e48431c
Revert "demote to flaky tests from parallel e2e"
b56edd13
Merge pull request #11727 from ZJU-SEL/build-nonstatic-hyperkube
cf4cb1a6
Merge pull request #10474 from kargakis/scale-multiple-controllers
e376a094
demote to flaky service tests from parallel e2e
7c47d6bd
Merge pull request #12009 from smarterclayton/fix_cmd_config
0269e2ba
Merge pull request #11941 from GoogleCloudPlatform/enact_version_md
94a387d5
Revert "Improve conversion to support multiple packages"
1a613c43
Merge pull request #9971 from smarterclayton/make_conversion_more_flexible
0ae48c44
Merge pull request #11927 from wojtek-t/remove_shell_services
59a1dd42
Merge pull request #11789 from mbforbes/nodesNetwork
6294070c
Merge pull request #11803 from wojtek-t/move_back_from_flaky
daa6d4dd
Merge pull request #11285 from liggitt/ca
9f16fd90
Merge pull request #11860 from ingvagabund/delimiter-for-X-option-eparis
c0acfbcd
Merge pull request #11421 from nikhiljindal/exposeServcPort
ae1c8e55
Merge pull request #11737 from thockin/cleanup-remove-v1beta3
01ee1b86
Merge pull request #10840 from jbeda/master
d4d99deb
make mungedoc exit 1 if manual changes are needed and wire up erro message.
337772a9
fix all tests
055115a1
fake realpath, and standardize treatment of trailing / of dirs in gendoc
b4514ee1
fix run-gendocs to point to new repo location
c053b9a5
add documentation and script on how to get recent and "nightly" builds
719870fd
add publishing of latest-green.txt to jenkins e2e tests on success
1e130e07
remove --machines from code and docs
dbb47fe2
remove e2e run before cluster upgrade
de55e17f
e2e test cluster stability during upgrade
c9fcf45f
fix bad cmd-test for patch.
9f915325
fix error where we can't use patch and add cmd-test for patch and file update
2020-02-04 11:46:35 -08:00
Tim Allclair
9d3670f358
Ensure testing credentials are labeled as such
2020-02-04 10:36:05 -08:00
Joakim Roubert
405609b920
Fix shellcheck warnings/errors in /build/lib/release.sh
...
With these changes, /build/lib/release.sh can be removed from
hack/.shellcheck_failures and included in the scripts that are checked
by hack/verify-shellcheck.sh.
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2020-02-04 11:00:58 +01:00
Mike Danese
0f18715473
snapshot clientsets pending context migration
...
https://github.com/kubernetes/enhancements/blob/master/keps/sig-api-machinery/20200123-client-go-ctx.md
Part of #46503
2020-02-03 08:36:00 -08:00
Odin Ugedal
1e50bc2d09
Add error check in kubectl proxy on server setup
...
If "NewServer" returns an error, it will result in a nil pointer
dereference segfault.
A simple way to test the behavior is to prefix the server url with a
colon, ":".
2020-02-03 16:43:01 +01:00
Kubernetes Prow Robot
7a01cdcaea
Merge pull request #82454 from beautytiger/fix_shellcheck_common.sh
...
fix shell checks errors in cluster/common.sh
2020-02-02 07:05:20 -08:00
Kubernetes Prow Robot
19ca6d30d2
Merge pull request #87437 from apelisse/kubectl-diff-exit-code
...
kubectl-diff: Return non-1 errors on kubectl failures
2020-02-01 18:33:20 -08:00
Kubernetes Prow Robot
b7a1d61462
Merge pull request #87658 from dims/enable-selinux-tags-in-make-targets
...
Enable selinux tags in make targets
2020-02-01 03:35:35 -08:00
Kubernetes Prow Robot
536c2c8918
Merge pull request #87706 from liggitt/fix-statefulset-conversion
...
Fix statefulset conversion
2020-01-31 20:08:16 -08:00
Davanum Srinivas
dfd8e4e467
Enable selinux tags in make targets
...
In 24d105995d
, a fix was made in bazel
based builds to ensure that we add `selinux` tag when we build all
binaries especially the `kubelet`. We need to do the same for in our
hack scripts so things like `make release` will work properly as well.
Some scripts use `GOFLAGS=-tags=providerless` for example, So we should
support the tags to be specified in GOFLAGS as well. We parse out the
tags from there and ensure selinux is added to the list of tags we used
for building the binaries. Note that we add our own `-tags` with the
full set of tags and since we specify our parameter at the end, ours
full list takes precendence
2020-01-31 15:48:44 -05:00
Alena Prokharchyk
331cd94ccc
Ineffassign fixes for pkg/volume
...
Along resolves errors whitelisted in hack/.staticcheck_failures
2020-01-31 10:14:45 -08:00
Kubernetes Prow Robot
5ced53c0c4
Merge pull request #87628 from alculquicondor/cc-v1alpha2
...
Add kubescheduler.config.k8s.io/v1alpha2
2020-01-30 16:59:33 -08:00
Jordan Liggitt
498ae799b5
Use standard default storage media type in local-up-cluster
2020-01-30 17:25:23 -05:00
JieJhih Jhang
8bd9c994ca
fix command variable exited with status 1
2020-01-30 12:52:09 +08:00
Aldo Culquicondor
3d83ef2e8e
Autogenerated and build files for kubescheduler.config.k8s.io/v1alpha2
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-01-29 17:18:48 -05:00
Kubernetes Prow Robot
17936ff63b
Merge pull request #87544 from SenXuDC/staticcheck
...
fix static check in pkg/volume/flocker
2020-01-29 07:32:42 -08:00
Jin Hase
0ce49aea1f
Update get-build.sh
2020-01-29 09:27:51 +09:00
Elijah Oyekunle
558f6aab56
add staging directories to import-boss verify script
2020-01-28 10:51:46 +01:00
YuikoTakada
03974c1ea4
Fix static check failures in test/integration/deployment
2020-01-28 06:08:37 +00:00
Kubernetes Prow Robot
962a61f51f
Merge pull request #87446 from KobayashiD27/add-hack-comment
...
add comment in several hack/ sh scripts.
2020-01-27 20:33:39 -08:00
Kubernetes Prow Robot
63df400778
Merge pull request #87514 from hase1128/fix-verify-api-groups-script
...
Fix bug of hack/verify-api-groups.sh
2020-01-27 18:53:39 -08:00
Jin Hase
e992ec0d59
Add comments in several hack/*.sh
2020-01-28 09:27:40 +09:00
Kobayashi Daisuke
ee00497ea9
add comment in several hack/ sh scripts.
2020-01-27 11:13:09 +09:00
Jin Hase
08833c9180
Withdraw the change of getting version variable
2020-01-27 08:26:04 +09:00
Kubernetes Prow Robot
e2b823fa7d
Merge pull request #87243 from SenXuDC/fix-staticcheck
...
fix static check in cluster/images/etcd-version-monitor
2020-01-25 22:41:02 -08:00
Kubernetes Prow Robot
089d3e63e5
Merge pull request #86910 from RaunakShah/golint_vspherestorage
...
Fix golint errors in test/e2e/storage/vsphere
2020-01-25 07:41:01 -08:00
SenXuDC
7c72b5791b
fix static check in pkg/volume/flocker
2020-01-25 10:51:55 +08:00
Kubernetes Prow Robot
58c67632e5
Merge pull request #87475 from liggitt/drop-ga-gates
...
Remove deprecated GA feature gates that expire in 1.18
2020-01-24 03:02:46 -08:00
Jin Hase
efd309b7da
Fix bug of hack/verify-api-groups.sh
2020-01-24 17:49:42 +09:00
Kubernetes Prow Robot
6c693549a3
Merge pull request #87183 from Aresforchina/fix-staticcheck-test15
...
fix-staticcheck:pkg/volume/scaleio/
2020-01-23 22:20:31 -08:00
Kubernetes Prow Robot
c5d981583a
Merge pull request #87308 from KobayashiD27/fix-staticcheck
...
Fix staticcheck in pkg/controller/podgc
2020-01-23 11:34:11 -08:00
Jordan Liggitt
57724766bc
Remove deprecated GA feature gates
2020-01-23 13:44:21 -05:00
Kubernetes Prow Robot
f0486a6b6a
Merge pull request #87178 from YuikoTakada/fix_81657_1
...
Fix static check failures in test/e2e/instrumentation/logging/st…
2020-01-23 06:00:49 -08:00
Sakura
9897f33f7d
fix static check errors in vendor/k8s.io/apimachinery/pkg/api/resource
...
Signed-off-by: Sakura <longfei.shang@daocloud.io>
2020-01-23 21:07:14 +08:00
drfish
a14ceeb2c0
Staticcheck: vendor/k8s.io/kubectl/pkg/cmd/exec|config|certificates
2020-01-23 14:03:11 +08:00
Kubernetes Prow Robot
4630690eae
Merge pull request #87457 from 928234269/fix_staticcheck03
...
fix static check errors in test/integration/etcd
2020-01-22 20:37:47 -08:00
Kubernetes Prow Robot
53a394e53f
Merge pull request #87188 from claudiubelu/test-images/centralization-cleanup
...
test images: Image Promoter fixes
2020-01-22 16:30:50 -08:00
Sakura
8c6d7a7086
fix static check errors in test/integration/etcd
...
Signed-off-by: Sakura <longfei.shang@daocloud.io>
2020-01-22 23:16:26 +08:00
Kubernetes Prow Robot
1735f7a2b6
Merge pull request #87377 from gavinfish/pkg-util-netsh
...
Fix static check errors in pkg/util/netsh
2020-01-21 22:02:35 -08:00
Antoine Pelisse
38c5f318c9
kubectl-diff: Test return code on failure and changes
2020-01-21 15:34:22 -08:00
Kubernetes Prow Robot
84beab6f26
Merge pull request #87386 from liggitt/local-up-token-signer
...
Enable bound tokens in local-up-cluster
2020-01-21 06:35:51 -08:00
Kubernetes Prow Robot
29a4b39536
Merge pull request #87382 from yiyang5055/fix-staticcheck
...
fix static check failure in pkg/controller/disruption and pkg/control…
2020-01-21 06:35:37 -08:00
Jin Hase
093fd4ab02
Add comments in several hack/verify-*.sh(s-v)
2020-01-21 19:10:46 +09:00
Kubernetes Prow Robot
a7b4459cd1
Merge pull request #87379 from hase1128/add-comment-to-several-verify-scripts_3
...
Add comments in several hack/verify-*.sh(g-r)
2020-01-21 01:30:09 -08:00
YuikoTakada
e5a2aeeae6
Fix static check failures in test/e2e/instrumentation/logging/stackdriver
2020-01-21 00:43:21 +00:00
Jordan Liggitt
2a2ce207f2
Enable bound tokens in local-up-cluster
2020-01-20 09:19:37 -05:00
Kubernetes Prow Robot
f680c261e6
Merge pull request #87074 from yuxiaobo96/k8s-staticcheck
...
fix staticcheck: pkg/volume/awsebs
2020-01-20 03:09:37 -08:00
yiyang5055
53aff819e0
fix static check failure in pkg/controller/disruption and pkg/controller/namespace/deletion
2020-01-20 09:10:46 +00:00
yuxiaobo
72f34b817e
staticcheck: pkg/volume/fc, pkg/volume/portworx and pkg/volume/vsphere_volume
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2020-01-20 16:47:54 +08:00
Jin Hase
c8df27c2b1
Add comments in several hack/verify-*.sh(g-r)
2020-01-20 17:10:55 +09:00
Kubernetes Prow Robot
3d8317ae91
Merge pull request #87139 from yuxiaobo96/k8s-staticcheck2
...
fix staticcheck:pkg/volume/cinder
2020-01-19 21:47:36 -08:00
drfish
f19f4e40f9
Fix static check errors in pkg/util/netsh
2020-01-20 13:25:34 +08:00
Sakura
203c7b4731
fix staticcheck errors in pkg/controller/daemon.
...
Signed-off-by: Sakura <longfei.shang@daocloud.io>
2020-01-19 21:09:05 +08:00
chendotjs
2afe0da8ee
Unify --cluster-cidr in KCM and CCM
2020-01-19 13:51:02 +08:00
Kubernetes Prow Robot
66178b9cc1
Merge pull request #87307 from hase1128/add-comment-to-several-verify-scripts_2
...
Add comments in several hack/verify-generated-*.sh
2020-01-18 01:49:35 -08:00
Kubernetes Prow Robot
f256c0254f
Merge pull request #87221 from YuikoTakada/fix_81657_2
...
Fix static check failures in test/e2e/instrumentation/monitoring
2020-01-17 21:39:49 -08:00
Kubernetes Prow Robot
f88f58cb79
Merge pull request #87245 from 928234269/fix_staticcheck
...
fix staticcheck errors in pkg/volume/hostpath.
2020-01-17 12:15:18 -08:00
Kubernetes Prow Robot
acf64f4501
Merge pull request #87303 from k-toyoda-pi/modify_alias_e2ejob
...
Modify alias of e2e/framework/job to e2ejob
2020-01-17 10:15:10 -08:00
Kobayashi Daisuke
ed1381e35f
Fix staticcheck in pkg/controller/podgc
2020-01-17 15:42:38 +09:00
Jin Hase
09a132be29
Add comments in several hack/verify-generated-*.sh
2020-01-17 14:20:48 +09:00
Kubernetes Prow Robot
56b140c6f5
Merge pull request #87272 from hase1128/add-comment-to-several-verify-scripts
...
Add comments in several hack/verify-*.sh
2020-01-16 18:57:08 -08:00
Kubernetes Prow Robot
9519d9764d
Merge pull request #87065 from tanjunchen/add-README-hack
...
add README.md in hack/
2020-01-16 18:56:55 -08:00
toyoda
0c12ae5240
Modify alias of e2e/framework/job to e2ejob
2020-01-17 10:56:05 +09:00
shahra
18f05ef5b9
Fix golint errors in test/e2e/storage/vsphere
2020-01-16 11:12:31 -08:00
Kubernetes Prow Robot
0c1d714627
Merge pull request #87128 from Aresforchina/fix-staticcheck-test12
...
fix-staticcheck:pkg/volume/emptydir
2020-01-16 07:48:50 -08:00
Kubernetes Prow Robot
47475c69d1
Merge pull request #87181 from tanjunchen/add-comment-hack-update
...
add comment in hack/update-*.sh
2020-01-15 21:21:38 -08:00
Kubernetes Prow Robot
7ffa2b9c46
Merge pull request #87042 from oomichi/e2e-alias
...
Add import-aliases check of e2e sub framework
2020-01-15 21:20:48 -08:00
Jin Hase
e1eabf8576
Add comments in several hack/verify-*.sh
2020-01-16 13:54:58 +09:00
YuikoTakada
aa2691eeac
Fix static check failures in test/e2e/instrumentation/monitoring
2020-01-16 02:42:07 +00:00
tanjunchen
0c77101b90
add README.md in hack/
2020-01-16 10:12:18 +08:00
tanjunchen
b2f76cc780
add comment in hack/update-*.sh
2020-01-16 10:05:49 +08:00
Kobayashi Daisuke
0c3112fff3
fix golint error in plugin/pkg/auth/authorizer/rbac/bootstrappolicy
2020-01-16 09:23:16 +09:00
Sakura
4143bc7a96
fix staticcheck errors in pkg/volume/hostpath.
...
Signed-off-by: Sakura <longfei.shang@daocloud.io>
2020-01-15 22:54:48 +08:00
SenXuDC
cc8e8401e2
fix static check in cluster/images/etcd-version-monitor
2020-01-15 21:31:33 +08:00
Kubernetes Prow Robot
12b77b8f16
Merge pull request #86955 from RainbowMango/pr_clean_cloud_controller_manager
...
Cleanup cloud controller manager when closing cluster.
2020-01-15 01:22:00 -08:00
Aresforchina
514bdbedac
fix-static:pkg/volume/scaleio/
2020-01-15 09:53:27 +08:00
Kubernetes Prow Robot
ded4f74133
Merge pull request #87082 from liggitt/cleanup-testapi
...
Remove unused KUBE_TEST_API logic
2020-01-13 13:59:19 -08:00
Kubernetes Prow Robot
e1cc36000f
Merge pull request #87002 from SataQiu/staticcheck-20200109
...
Fix staticcheck failures of pkg/util/ipconfig pkg/util/iptables pkg/util/ipvs/testing
2020-01-13 13:58:55 -08:00
Jordan Liggitt
2a47900620
Remove unused KUBE_TEST_API logic
2020-01-13 09:09:46 -05:00
yuxiaobo
da15570daa
fix staticcheck:pkg/volume/cinder
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2020-01-13 18:20:23 +08:00
Aresforchina
e62f9625cf
fix-static:pkg/volume/emptydir
2020-01-13 15:23:45 +08:00
Kubernetes Prow Robot
ce6a9f97e5
Merge pull request #87076 from hase1128/add-simple-explanation-to-verify-linkcheck-script
...
Add some comment to hack/verify-linkcheck.sh
2020-01-10 21:19:36 -08:00
Jin Hase
8da4a1d97f
Add some comment to hack/verify-linkcheck.sh
2020-01-10 20:12:30 +09:00
yuxiaobo
c5764735e2
fix staticcheck:pkg/volume/awsebs
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2020-01-10 18:36:39 +08:00
Kobayashi Daisuke
fee0d43d23
fix golint error in pkg/apis/rbac
2020-01-10 11:22:05 +09:00
Kenichi Omichi
19daee7e60
Add import-aliases check for e2e framework
...
This adds import-aliases check for e2e sub framework packages.
2020-01-09 08:58:20 +00:00
SataQiu
51c742c1dd
fix staticcheck failures of pkg/util/ipconfig pkg/util/iptables pkg/util/ipvs/testing
2020-01-09 16:05:11 +08:00
Kubernetes Prow Robot
968361dc83
Merge pull request #86945 from hase1128/add-simple-explanation-to-verify-spelling-script
...
Add simple explanation to verify-spelling.sh
2020-01-08 14:46:14 -08:00
Kubernetes Prow Robot
79bb357193
Merge pull request #84654 from liggitt/drop-openapi-version
...
Drop version from static openapi json file
2020-01-08 11:59:39 -08:00
RainbowMango
0f9c262eda
Cleanup cloud controller manager when closing cluster.
2020-01-08 19:18:53 +08:00
Kubernetes Prow Robot
35434fdfea
Merge pull request #86901 from tanjunchen/staticcheck-002
...
staticcheck:test/integration/master/
2020-01-08 02:58:55 -08:00
Kubernetes Prow Robot
dbf3a46ec1
Merge pull request #86893 from RainbowMango/pr_support_external_cloud_provider_part2
...
Remove variable EXTERNAL_CLOUD_VOLUME_PLUGIN default value
2020-01-08 02:58:44 -08:00
Kubernetes Prow Robot
1f50be5d04
Merge pull request #86775 from Aresforchina/fix-staticcheck-test03
...
fix staticcheck of pkg/util/ebtables
2020-01-08 02:58:07 -08:00
Kubernetes Prow Robot
302cf556e0
Merge pull request #86604 from hase1128/add-simple-explanation-to-verify-golint-script
...
Add simple explanation to verify golint script
2020-01-08 01:49:40 -08:00
Jin Hase
ee967060c7
Add simple explanation to verify-spelling.sh
2020-01-08 15:55:10 +09:00
Kubernetes Prow Robot
8dca390262
Merge pull request #84927 from mattjmcnaughton/mattjmcnaughton/fix-kubelet-config-common
...
Fix golint failures for pkg/kubelet/config/...
2020-01-07 21:09:40 -08:00
Kubernetes Prow Robot
11a31590e4
Merge pull request #86900 from tanjunchen/staticcheck-001
...
staticcheck:test/integration/auth/
2020-01-07 07:36:31 -08:00
tanjunchen
8d313f333e
staticcheck:test/integration/master/
2020-01-07 21:56:37 +08:00
tanjunchen
264a1cf5f6
staticcheck:test/integration/auth/
2020-01-07 15:23:19 +08:00
Kubernetes Prow Robot
8b8f2aa4a5
Merge pull request #85431 from irbull/api-doc
...
Add public documentation for kubelet/apis/config
2020-01-06 23:12:18 -08:00
RainbowMango
24ccd77a98
Remove variable EXTERNAL_CLOUD_VOLUME_PLUGIN default value in local-up-cluster.sh
2020-01-07 10:17:10 +08:00
Kubernetes Prow Robot
d6412b856f
Merge pull request #84345 from danielqsj/withdialer
...
replace grpc.WithDialer which is deprecated
2020-01-06 15:56:17 -08:00
Kubernetes Prow Robot
c409446d41
Merge pull request #86781 from SataQiu/staticcheck-20200102
...
Fix staticcheck failures of test/integration/client test/integration/disruption
2020-01-06 13:34:45 -08:00
Claudiu Belu
4c51eb9063
test images: Image Promoter fixes
...
Prior to the Image Centralization part 4 (https://github.com/kubernetes/kubernetes/pull/81170 ),
a PR merged that enables the Image Promoter to run on the k/k test images.
The Image Promoter currently only builds the Conformance-related images, but the
Image Centralization part 4 centralized some of those images into agnhost, so they
need to be removed from the conformance_images list.
Additionally, https://github.com/kubernetes/kubernetes/pull/81226 proposes mounttest-user
image to be removed, and RunAsUser to be used in tests instead.
The image used by the Image Promoter (gcr.io/k8s-testimages/gcb-docker-gcloud:v20190906-745fed4)
is based on busybox, and thus, the sed binary is actually busybox. image-util.sh calls
kube::util::ensure-gnu-sed several times, which ensures that a GNU sed binary exists
(it checks by greping GNU in its --help output). Obviously, it won't match the busybox sed
binary. But the sed usage in image-util.sh is fairly simple, and the busybox sed is sufficient.
Bumps image versions for: jessie-dnsutils, nonewprivs, resource-consumer, sample-apiserver. These
images are included in the conformance_images that are being built by the Image Promoter, so
we're bumping them just to make sure we're not breaking anything and cause all the CIs to fall.
We're going to bump the image versions used in tests in a subsequent PR. The image version was not
bumped for: agnhost, kitten, nautilus, as they were already bumped by the Image Centralization part 4
PR.
2020-01-06 09:08:51 -08:00
RainbowMango
eb074761bc
Fix local-up-cluster.sh do not work with non-intree external cloud provider issue.
2020-01-06 22:54:38 +08:00
SataQiu
17b0b77026
fix staticcheck failures of test/integration/client test/integration/disruption
2020-01-03 17:23:35 +08:00
Aresforchina
bfc4a7a1c5
fix staticcheck of pkg/util/ebtables
2020-01-02 18:16:50 +08:00
Kubernetes Prow Robot
2099c00290
Merge pull request #86745 from Aresforchina/fix-staticcheck-test01
...
Fix staticcheck failures of test/integration/replicationcontroller
2019-12-31 20:31:39 -08:00
Kubernetes Prow Robot
4058cdcc2a
Merge pull request #86750 from RainbowMango/pr_postpone_swap_warning
...
Postpone flag warning log to just before it be used
2019-12-31 12:25:40 -08:00
RainbowMango
36cbce1182
Postpone flag warning log to just before it be used.
2019-12-31 20:05:53 +08:00
Aresforchina
bf47d14c27
Fix staticcheck failures of test/integration/replicationcontroller
2019-12-31 17:16:01 +08:00
Kubernetes Prow Robot
5da9113fd8
Merge pull request #85078 from k-toyoda-pi/add_apierrs_aliase
...
Add apierrors as alias for k8s.io/apimachinery/pkg/api/errors
2019-12-31 00:59:39 -08:00
Kubernetes Prow Robot
d0c719dbd9
Merge pull request #86716 from SataQiu/staticcheck-20191230
...
Fix staticcheck failures of test/integration/scale test/integration/serviceaccount test/integration/serving test/integration/volume
2019-12-30 20:39:39 -08:00
Kubernetes Prow Robot
9b59ba4ef8
Merge pull request #81895 from praseodym/fix-staticcheck-test/images
...
Fix staticcheck failures for test/images
2019-12-30 00:09:39 -08:00
SataQiu
8c77b96b75
fix staticcheck failures of test/integration/scale test/integration/serviceaccount test/integration/serving test/integration/volume
2019-12-30 13:35:13 +08:00
Kubernetes Prow Robot
cb19ce9e7b
Merge pull request #86533 from RainbowMango/pr_improve_update_openapi_spec_output
...
Optimize error messages when updating openapi spec
2019-12-26 22:27:38 -08:00
toyoda
01083988ae
Add apierrors as alias for k8s.io/apimachinery/pkg/api/errors
2019-12-27 11:07:36 +09:00
RainbowMango
12d08d52ee
Improve output of update-openapi-spec.sh when printing logs from file.
2019-12-27 09:22:16 +08:00
danielqsj
19fe9f8d94
replace grpc.WithDialer which is deprecated
2019-12-26 17:46:59 +08:00
Guangming Wang
faf27331bc
fix shell checks errors in cluster/common.sh
...
handle local variable in cluster/common.sh
add comment for shellcheck disable line, and fix error change
fix error: "read" parameters -r position
update function comment
refactor function find-release-tars
rm lines in .shellcheck_failures
Continue to cleanup common.sh
2019-12-25 16:35:11 +08:00
Jin Hase
75b716a352
Fix simple typos
2019-12-25 17:09:27 +09:00
Jin Hase
17fa573e05
Add simple explanation to verify-golint.sh
2019-12-25 17:05:32 +09:00
mlmhl
57aa092ffe
do not wait for node ready when starting kube-proxy in 'nokubelet' mode
2019-12-24 14:25:28 +08:00
Mark Janssen
a54e5cec54
Fix staticcheck failures for pkg/proxy/...
...
Errors from staticcheck:
pkg/proxy/healthcheck/proxier_health.go:55:2: field port is unused (U1000)
pkg/proxy/healthcheck/proxier_health.go:162:20: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
pkg/proxy/healthcheck/service_health.go:166:20: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
pkg/proxy/iptables/proxier.go:737:2: this value of args is never used (SA4006)
pkg/proxy/iptables/proxier.go:737:15: this result of append is never used, except maybe in other appends (SA4010)
pkg/proxy/iptables/proxier.go:1287:28: this result of append is never used, except maybe in other appends (SA4010)
pkg/proxy/userspace/proxysocket.go:293:3: this value of n is never used (SA4006)
pkg/proxy/winkernel/metrics.go:74:6: func sinceInMicroseconds is unused (U1000)
pkg/proxy/winkernel/metrics.go:79:6: func sinceInSeconds is unused (U1000)
pkg/proxy/winuserspace/proxier.go:94:2: field portMapMutex is unused (U1000)
pkg/proxy/winuserspace/proxier.go:118:2: field owner is unused (U1000)
pkg/proxy/winuserspace/proxier.go:119:2: field socket is unused (U1000)
pkg/proxy/winuserspace/proxysocket.go:620:4: this value of n is never used (SA4006)
2019-12-22 21:32:06 +01:00
Kubernetes Prow Robot
109810dfbb
Merge pull request #86473 from kireledan/kireledan/hack-aws-provider
...
hack/local-up-cluster: modify cloud provider launch to work with aws
2019-12-20 18:28:17 -08:00
kireledan
a8a00f690e
hack/local-up-cluster: modify cloud provider launch to work with aws
...
This commit updates the local-up-cluster script to set the proper provider id when the aws cloud provider is used.
2019-12-19 22:54:10 -08:00
sshukun
12a5bdec00
Fix go-lint issues in package pkg/kubelet/checkpointmanager/testing/example_checkpoint_formats/v1
2019-12-19 12:53:33 +09:00
Kubernetes Prow Robot
127c47caf4
Merge pull request #85512 from serathius/remove-cluster-monitoring
...
Remove cluster-monitoring
2019-12-17 21:05:57 -08:00
Kubernetes Prow Robot
7a6090550a
Merge pull request #82971 from AnishShah/proxy.go
...
Refactor `kubectl proxy` command to have similar design pattern as other kubectl commands.
2019-12-17 11:59:58 -08:00
Kubernetes Prow Robot
623b697886
Merge pull request #86040 from haosdent/fix-staticcheck-annotate
...
fix static check in kubectl/pkg/cmd/annotate.
2019-12-17 06:18:27 -08:00
Kubernetes Prow Robot
fb0956c234
Merge pull request #85016 from hvaara/fix-golint-pkg-util-sysctl-testing
...
Fix golint issues in pkg/util/sysctl/testing
2019-12-17 06:18:13 -08:00
Anish Shah
0bd41a300f
Refactor kubectl proxy
command to have similar design pattern as other kubectl commands.
...
Few days ago I watched this kubectl code base tour on Youtube
(https://www.youtube.com/watch?v=uz8TS3V9qqY ). It talks about a design
pattern that almost every command follows. But I found out that
`kubectl proxy` command does not follow this pattern. So, I'm
refactoring this command to use similar design pattern as other kubectl
commands.
2019-12-17 08:28:01 +05:30
carlory
2fe82075b4
fix staticcheck faulures in 'cmd' pkg
2019-12-16 18:32:54 +08:00
Mark Janssen
a634e254c1
Fix staticcheck failures for test/images
...
Errors from staticcheck:
test/images/agnhost/dns/common.go:79:6: func runCommand is unused (U1000)
test/images/agnhost/inclusterclient/main.go:75:16: using time.Tick leaks the underlying ticker, consider using it only in endless functions, tests and the main package, and use time.NewTicker here (SA1015)
test/images/agnhost/net/nat/closewait.go:41:5: var leakedConnection is unused (U1000)
test/images/agnhost/netexec/netexec.go:157:17: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/netexec/netexec.go:250:18: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/netexec/netexec.go:317:18: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/netexec/netexec.go:331:19: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/netexec/netexec.go:345:19: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/netexec/netexec.go:357:19: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/netexec/netexec.go:370:19: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/netexec/netexec.go:380:9: this value of err is never used (SA4006)
test/images/agnhost/netexec/netexec.go:381:17: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/netexec/netexec.go:386:17: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/pause/pause.go:43:23: syscall.SIGKILL cannot be trapped (did you mean syscall.SIGTERM?) (SA1016)
test/images/agnhost/serve-hostname/serve_hostname.go:125:15: the channel used with signal.Notify should be buffered (SA1017)
test/images/agnhost/webhook/patch_test.go:131:13: this value of err is never used (SA4006)
test/images/pets/peer-finder/peer-finder.go:155:6: this value of newPeers is never used (SA4006)
2019-12-15 22:34:27 +01:00
Kubernetes Prow Robot
32883e46d6
Merge pull request #86238 from SataQiu/fix-staticcheck-20191213
...
Fix staticcheck failures of test/e2e/manifest
2019-12-15 11:07:37 -08:00
Kubernetes Prow Robot
6a919f2b54
Merge pull request #85903 from liggitt/disable-deprecated-apis
...
Remove ability to re-enable serving deprecated APIs
2019-12-13 16:19:36 -08:00
Jordan Liggitt
f2f22b84cd
Delete ReplicationControllerDummy
2019-12-13 12:21:33 -05:00
Jordan Liggitt
18ba6f9482
Remove references to unserved types
2019-12-13 12:21:33 -05:00
Jordan Liggitt
424d5e20df
Remove testapi
2019-12-13 11:56:29 -05:00
SataQiu
95bf226533
fix staticcheck failures of test/e2e/manifest
2019-12-13 14:03:44 +08:00
hwdef
64e49e187a
add hwdef as a reviewer of hack
2019-12-12 16:10:06 +08:00
SataQiu
e70120f083
fix staticcheck failures of e2e/storage/utils e2e/storage/vsphere
2019-12-11 10:33:21 +08:00
SataQiu
3ed535a89a
fix staticcheck failures of e2e/storage/drivers e2e/storage/testsuites
2019-12-10 16:09:29 +08:00
Marek Siarkowicz
31fb04fa98
Remove cluster-monitoring
...
Heapster is deprecated and no longer supported
2019-12-09 11:25:20 +01:00
Haosdent Huang
303c1a40bc
fix static check in kubectl/pkg/cmd/annotate.
2019-12-08 23:25:50 +08:00
SataQiu
27d645dc5b
fix staticcheck failures of test/e2e/storage
2019-12-07 21:32:11 +08:00
Kubernetes Prow Robot
8ef9caaded
Merge pull request #85676 from tanjunchen/fix-staticcheck-test-integration-apiserver
...
fix staticcheck in test/integration/apiserver
2019-12-06 19:49:08 -08:00
Kubernetes Prow Robot
e0f11a2fc3
Merge pull request #85893 from tanjunchen/fix-test-e2e-network
...
fix staticcheck in test/e2e/network/
2019-12-06 17:06:06 -08:00
tanjunchen
06c5901769
fix staticcheck in test/integration/apiserver
2019-12-06 23:05:20 +08:00
Kubernetes Prow Robot
c2b312bd22
Merge pull request #85790 from tanjunchen/fix-staticcheck-pkg-printers
...
fix staticcheck in pkg/printers
2019-12-05 13:50:54 -08:00
Kubernetes Prow Robot
fe80f32904
Merge pull request #85780 from hwdef/fix-staticcheck16
...
test/e2e/auth: Fix static check failures
2019-12-05 13:50:44 -08:00
Kubernetes Prow Robot
e68d7be680
Merge pull request #85457 from BenTheElder/typecheck-fun
...
Typecheck support for verifying providerless build
2019-12-05 13:50:17 -08:00
hwdef
d81dd48e2c
test/e2e/auth: Fix static check failures
2019-12-05 22:42:04 +08:00
Kubernetes Prow Robot
8290c85b95
Merge pull request #82315 from beautytiger/fix_staticcheck_azure
...
fix staticcheck errors in legacy-cloud-providers/azure
2019-12-05 06:36:32 -08:00
Kubernetes Prow Robot
2f58d2e3fe
Merge pull request #85890 from tanjunchen/fix-golint-test-e2e_node-ruuner
...
fix golint check in test/e2e_node/runner/remote
2019-12-05 00:36:32 -08:00
Benjamin Elder
b24dbac09a
add hack/verify-typecheck-providerless.sh
2019-12-04 22:30:23 -08:00
tanjunchen
d51b72d9e9
fix staticcheck in test/e2e/network/
2019-12-05 13:58:28 +08:00
tanjunchen
40911e74c1
fix staticcheck in pkg/printers
2019-12-05 10:24:42 +08:00
Jan Chaloupka
f967c544ad
scheduler benchmark: allow to override bench prefix
...
Right now, hack/jenkins/dockerized.sh is solely utilized by scheduler perf jenkins job.
There's an effort to extend the scheduler performance suite. In order to run
individual subsuites separately, we need a way to select a subset of benchmark tests
to be run. Golang exposes -bench option which allows to specify a prefix
of benchmark tests to be run.
2019-12-04 18:45:48 +01:00
Kubernetes Prow Robot
97a4e6683e
Merge pull request #85634 from hwdef/fix-staticcheck14
...
pkg/master: Fix static check failures
2019-12-04 07:18:57 -08:00
Guangming Wang
b304538942
fix staticcheck errors in legacy-cloud-providers/azure
...
clean remaining static check errors in legacy-cloud-providers/azure
logging unhandled error in azure_backoff.go
delete unused var and func in azure_vmss_cache.go
run gofmt
2019-12-04 21:58:26 +08:00
tanjunchen
29eb15c3a8
fix golint check in test/e2e_node/runner/remote
2019-12-04 18:14:52 +08:00
Kubernetes Prow Robot
6d5eee88e0
Merge pull request #84624 from hwdef/fix-staticcheck
...
cmd/kube-controller-manager: fix staticcheck warning
2019-12-04 01:54:57 -08:00
Kubernetes Prow Robot
0f332bae5d
Merge pull request #85853 from SataQiu/fix-staticcheck-20191203
...
Fix staticcheck failures of test/e2e/upgrade
2019-12-03 21:51:18 -08:00
Kubernetes Prow Robot
9acdf52877
Merge pull request #85744 from tanjunchen/fix-golint-problems
...
Fix golint issues in test/e2e/lifecycle/
2019-12-03 19:44:57 -08:00
Kubernetes Prow Robot
fe97fbb2e6
Merge pull request #85071 from hvaara/fix-golint-pkg-apis-batch-validation
...
Fix golint issues in pkg/apis/batch/validation
2019-12-03 17:00:57 -08:00
Kubernetes Prow Robot
bb9981e19f
Merge pull request #85046 from hvaara/fix-golint-pkg-registry--storage
...
Fix golint issues in pkg/registry/.../storage
2019-12-03 15:47:11 -08:00
Jacek Kaniuk
7eb6182a63
Revert "Fix shellcheck failure in log-dump/log-dump.sh"
...
This reverts commit e99a325d4e
.
2019-12-03 18:17:54 +01:00
SataQiu
6fcd030877
fix staticcheck failures of test/e2e/upgrade
2019-12-03 23:36:09 +08:00
Kubernetes Prow Robot
716b4549b2
Merge pull request #85749 from SataQiu/golint-e2e-20191129
...
Fix golint failures of test/e2e_node/remote
2019-12-03 06:06:58 -08:00
tanjunchen
d2d68026fc
Fix golint issues in test/e2e/lifecycle/
2019-12-03 17:14:38 +08:00
hwdef
dddd631706
cmd/kube-controller-manager: fix staticcheck warning
2019-12-03 11:16:24 +08:00
Kubernetes Prow Robot
0810bc3386
Merge pull request #85363 from immutableT/encryption-config-defaulter
...
Add defaulting and validation logic for EncryptionConfiguration type.
2019-12-02 17:06:57 -08:00
immutablet
a151aa35dc
Add defaulting logic for EncryptionConfiguration.
2019-12-02 13:21:05 -08:00
SataQiu
69aae3aa5a
fix golint failures of test/e2e_node/remote
2019-11-29 18:11:55 +08:00
Jordan Liggitt
9a868766ee
Enable mutation detection
2019-11-28 02:26:38 -05:00
Kubernetes Prow Robot
2eda47221a
Merge pull request #83604 from k-toyoda-pi/fix_shellcheck_log-dump
...
Fix shellcheck failure in cluster/log-dump/log-dump.sh
2019-11-27 21:03:03 -08:00
Kubernetes Prow Robot
0efe584db6
Merge pull request #85513 from liu-cong/benchmark-fix
...
Fix benchmark artifact parsing.
2019-11-27 16:41:03 -08:00
Kubernetes Prow Robot
c58b63267c
Merge pull request #85562 from gkarthiks/master
...
golint fixes for /pkg/util/iptables/testing
2019-11-27 10:46:45 -08:00
Kubernetes Prow Robot
ef1af14cab
Merge pull request #85172 from c3y1huang/fix/golint_failure/Remove-pkg.registry.apps.replicaset
...
Fix golint failures for pkg/registry/apps/replicaset
2019-11-27 01:09:21 -08:00
Kubernetes Prow Robot
93c2eed3cb
Merge pull request #84901 from SataQiu/golint-e2e-node-20191107
...
Fix golint issues in test/e2e_node
2019-11-26 23:19:21 -08:00
Kubernetes Prow Robot
6a48f55e56
Merge pull request #83714 from tanjunchen/fix-staticcheck-test/e2e/windows
...
fix staticcheck failures in test/e2e/windows
2019-11-26 19:43:20 -08:00
Kubernetes Prow Robot
b94dca92a8
Merge pull request #85657 from liggitt/bazel-module
...
Enable update-bazel.sh outside of GOPATH
2019-11-26 18:23:20 -08:00
hwdef
e7172b3dbf
pkg/master: Fix static check failures
2019-11-27 09:15:57 +08:00
Jordan Liggitt
a8991a108a
Enable update-bazel.sh outside of GOPATH
2019-11-26 17:33:57 -05:00
Kubernetes Prow Robot
a82f7cdd5d
Merge pull request #85469 from hwdef/fix-staticcheck12
...
test/e2e/apimachinery: fix staticcheck warning
2019-11-26 12:17:34 -08:00
Cong Liu
016ab0b899
Fix benchmark artifact parsing.
...
* Added a extractor to extract raw logs from json format and then pipe
it into benchmark parser.
* Also added -alsologtostderr=false -logtostderr=false to reduce noisy logs.
2019-11-26 13:47:12 -05:00
hwdef
a0489c6ca8
test/e2e/apimachinery: fix staticcheck warning
2019-11-26 22:07:26 +08:00
SataQiu
d2bdf89a8b
fix golint issues in test/e2e_node
2019-11-26 16:26:55 +08:00
Kubernetes Prow Robot
cec566d77a
Merge pull request #85451 from flix-tech/ruben.serradas
...
Fix golint issues in pkg/kubelet/events/event.go
2019-11-25 16:43:10 -08:00
Howard Zhang
09d4d65b1b
fix etcd version check error on ARM
...
"etcd -version" command output an additional line on ARM platform:
"running etcd on unsupported architecture "arm64" since
ETCD_UNSUPPORTED_ARCH is set"
Currently etcd version filtering code can not get correct version
number.
Signed-off-by: Howard Zhang <howard.zhang@arm.com>
2019-11-25 20:02:37 +08:00
Lars Lehtonen
b1c39e9b16
apimachinery: Fix Dropped Test Error ( #85427 )
...
* apimachinery: fix dropped test error in pkg/util/net
* apimachinery: fix dropped test error in pkg/runtime/serializer
* apimachinery: fix dropped test error in pkg/conversion
* apimachinery: fix staticcheck warning
2019-11-23 15:31:50 -08:00
gkarthiks
a4abc1dd4d
refactor(golint): lint fixes for iptables test file
...
Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>
2019-11-22 19:58:56 -08:00
Kubernetes Prow Robot
1900edf44a
Merge pull request #85440 from gkarthiks/master
...
Fix lint in /pkg/util/iptables
2019-11-22 17:31:31 -08:00
Guinevere Saenger
81d0007716
Hi San Diego ( #85424 )
...
* removed -staging/src/k8s.io/apimachinery/pkg/util/clock for golint failures
* first few code comments are done
* add correct comments for all packages
2019-11-22 17:31:13 -08:00
Ian Bull
a232971d73
Add public documentation for kubelet/apis/config
...
The `kubelet/apis/config` package had golint failures. This change-set
removes the `kubelet/apis/config` package from the `.golint_failures`
and fixes the golint errors. In particular, this change-set adds
documentation to the public types in the package.
This change-set works towards issue#68026
2019-11-20 22:52:53 -08:00
Ruben
55c83e3397
Fix golint issues in pkg/kubelet/events/event.go
...
Change the single const statement in favor of multiple const event lists.
This way we don't need to put the name of the constant in the comment
and it's clearer that the comment refers to the whole list.
2019-11-19 13:15:08 +01:00
Karthikeyan Govindaraj
1f4cd65be5
chore(lint): removing the iptables pkg
2019-11-18 23:49:34 -08:00
Travis Rhoden
0c5c3d8bb9
Remove pkg/util/mount (moved out of tree)
...
This patch removes pkg/util/mount completely, and replaces it with the
mount package now located at k8s.io/utils/mount. The code found at
k8s.io/utils/mount was moved there from pkg/util/mount, so the code is
identical, just no longer in-tree to k/k.
2019-11-15 08:29:12 -07:00
tanjunchen
7420faab43
fix-staticcheck in /test/e2e/windows
2019-11-15 09:45:43 +08:00
Kubernetes Prow Robot
bfb99d809a
Merge pull request #85117 from hwdef/fix-staticcheck10
...
pkg/kubeapiserver: fix staticcheck warning
2019-11-14 13:31:15 -08:00
Kubernetes Prow Robot
5c772f5933
Merge pull request #84674 from hwdef/fix-staticcheck4
...
pkg/client: fix staticcheck warning
2019-11-14 13:30:45 -08:00
hwdef
b3377e61de
pkg/kubeapiserver: fix staticcheck warning
2019-11-14 11:24:22 +08:00
hwdef
82b9cf1890
pkg/client: fix staticcheck warning
2019-11-14 10:08:16 +08:00
Kubernetes Prow Robot
64f4be5b32
Merge pull request #84390 from robscott/endpointslice-beta
...
Promoting EndpointSlices to beta
2019-11-13 17:27:50 -08:00
Kubernetes Prow Robot
8af6906d1f
Merge pull request #85220 from liggitt/revert-licenses
...
Revert #76586 , restructure LICENSES file generation
2019-11-13 14:52:11 -08:00
Kubernetes Prow Robot
d85103b185
Merge pull request #85217 from kaoskater08/kaoskater08/fix-golint-pkg-apis-extensions
...
fixed golint errors in pkg/apis/extensions register.go and types.go
2019-11-13 14:51:46 -08:00
Rob Scott
a7e589a8c6
Promoting EndpointSlices to beta
2019-11-13 14:20:19 -08:00
Kubernetes Prow Robot
f501d8e59a
Merge pull request #85138 from liggitt/webhook-config-v1
...
Promote apiserver.config.k8s.io/v1, kind=WebhookAdmissionConfiguration
2019-11-13 13:03:54 -08:00
Kubernetes Prow Robot
195664db0e
Merge pull request #85099 from liggitt/quota-config-v1
...
Promote apiserver.config.k8s.io/v1, kind=ResourceQuotaConfiguration
2019-11-13 13:02:52 -08:00
Kubernetes Prow Robot
b49afbfa64
Merge pull request #85098 from liggitt/admission-config-v1
...
Promote apiserver.config.k8s.io/v1, kind=AdmissionConfiguration
2019-11-13 13:02:40 -08:00
Kubernetes Prow Robot
6eb2f25247
Merge pull request #85075 from hwdef/fix-staticcheck9
...
pkg/credentialprovider: fix staticcheck warning
2019-11-13 09:27:18 -08:00
Jordan Liggitt
cd4474ae4f
Revert "76093 restructure LICENSES file generation"
...
This reverts commit d39ac98cc5
.
2019-11-13 10:24:32 -05:00
Eddie Hale
566484366e
fixed golint errors in pkg/apis/extensions register.go and types.go
2019-11-13 08:48:42 -06:00
Chin-Ya Huang
92c7e8e802
Fix golint failures
...
* Remove pkg/registry/apps/replicaset
Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2019-11-13 11:00:12 +08:00
Ji Shan Xing
d39ac98cc5
76093 restructure LICENSES file generation
2019-11-12 20:38:57 -05:00
Kubernetes Prow Robot
36373b37fd
Merge pull request #84672 from hwdef/fix-staticcheck2
...
cmd:fix staticcheck warning
2019-11-12 09:06:06 -08:00
Jordan Liggitt
71fad812ca
Promote WebhookAdmissionConfiguration to v1
2019-11-12 09:56:58 -05:00
Jordan Liggitt
1234290adf
AdmissionConfiguration v1
2019-11-12 09:05:50 -05:00
Jordan Liggitt
7d3012f297
Promote resource quota admission configuration to v1
2019-11-12 09:03:55 -05:00
Kubernetes Prow Robot
897ce3073c
Merge pull request #84533 from davidz627/fix/deprecatedPath
...
Remove plugin watching of deprecated directory and CSI v0 support in accordance with deprecation policy
2019-11-12 04:48:20 -08:00
toyoda
e99a325d4e
Fix shellcheck failure in log-dump/log-dump.sh
2019-11-12 16:51:09 +09:00
David Zhu
802fe12803
Remove plugin watching of deprecated directory {kubelet_root_dir}/plugins and support for CSI V0 in accordance with deprecation announcement in https://v1-13.docs.kubernetes.io/docs/setup/release/notes/
2019-11-11 11:42:58 -08:00
Roy Hvaara
896f84b652
Fix golint issues in pkg/apis/batch/validation
2019-11-11 04:03:34 +01:00
Clayton Coleman
c416ee584c
Remove deprecated-dynamic client
...
It is now unused.
2019-11-10 21:30:30 -05:00
hwdef
170eadc3d2
pkg/credentialprovider: fix staticcheck warning
2019-11-11 09:46:52 +08:00
Kubernetes Prow Robot
35cfd327c8
Merge pull request #84243 from Dingshujie/fix-golint
...
Fix golint errors in pkg/apis/apps
2019-11-10 16:29:54 -08:00
Kubernetes Prow Robot
ebbe4baf13
Merge pull request #83914 from guineveresaenger/ato-demo
...
Removes pkg/registry/core/secret/storage from golint failures
2019-11-10 16:29:41 -08:00
Kubernetes Prow Robot
a18303dfa4
Merge pull request #85042 from hvaara/fix-golint-pkg-apis-policy
...
Fix golint issues in pkg/apis/policy
2019-11-09 15:29:58 -08:00
Kubernetes Prow Robot
80b25a766a
Merge pull request #85037 from hvaara/fix-golint-pkg-apis-authorization
...
Fix golint issues in pkg/apis/authorization
2019-11-09 15:29:48 -08:00
Roy Hvaara
cfc34712c2
Fix golint issues in pkg/registry/.../storage
2019-11-10 00:22:51 +01:00
Roy Hvaara
cfc596b302
Fix golint issues in pkg/apis/autoscaling/validation ( #85041 )
...
* Fix golint issues in pkg/apis/autoscaling/validation
* Fix spelling issue in field of Error
2019-11-09 14:03:48 -08:00
Kubernetes Prow Robot
a258243f4c
Merge pull request #85009 from oomichi/enable-verify-import-aliases
...
Enable verify-import-aliases check in CI
2019-11-09 12:23:39 -08:00
Roy Hvaara
10c8508acd
Fix golint issues in pkg/apis/policy
2019-11-09 21:15:35 +01:00
Roy Hvaara
8d3c74aebc
Fix golint issues in pkg/apis/authorization
2019-11-09 17:45:37 +01:00
Roy Hvaara
e55fc5656c
Fix golint issues in pkg/util/sysctl/testing
2019-11-09 12:32:37 +01:00
Kubernetes Prow Robot
b15dfd778a
Merge pull request #84708 from yue9944882/feat/flowcontrol-storage
...
Feature: Flowcontrol rest storage implementation
2019-11-08 18:44:09 -08:00
Kubernetes Prow Robot
e4fdb82c01
Merge pull request #84302 from serathius/restrict-prometheus-import
...
Restrict visibility of prometheus packages
2019-11-08 13:48:26 -08:00
Kenichi Omichi
1b165fc440
Enable verify-import-aliases check in CI
...
To block violation of import-aliases rule, this enables
verify-import-aliases in CI system.
2019-11-08 19:17:39 +00:00
yue9944882
3d1b5d0e9a
flowcontrol rest storage implementation
2019-11-08 14:27:14 +08:00
Kubernetes Prow Robot
e445d4d779
Merge pull request #84871 from liggitt/cmd-test
...
Make test-cmd effective again
2019-11-07 13:28:21 -08:00
Kubernetes Prow Robot
7a1eaa112e
Merge pull request #84696 from dims/BenTheElder-byebyehacke2e
...
Remove hack/e2e.go
2019-11-07 09:05:04 -08:00
mattjmcnaughton
d30319711e
Fix golint failures for pkg/kubelet/config/...
...
Address the final golint failure by adding a comment explaining our
blank import.
2019-11-07 09:36:22 -05:00
Kubernetes Prow Robot
0a46e374dc
Merge pull request #84772 from hvaara/golint-failures-support-comments
...
Support comments in hack/.golint_failures
2019-11-07 04:36:17 -08:00
Kubernetes Prow Robot
41a70bcc0a
Merge pull request #84750 from hvaara/fix-golint-test-e2e_kubeadm
...
Fix golint issues in test/e2e_kubeadm
2019-11-07 04:36:07 -08:00
Kubernetes Prow Robot
1183771545
Merge pull request #84748 from hvaara/fix-golint-controller-volume-persistentvolume-options
...
Fix golint issues in pkg/controller/volume/persistentvolume/options
2019-11-07 04:35:53 -08:00
Marek Siarkowicz
e7d5659943
Restrict visibility of prometheus to enforce usage of k8s.io/component-base/metrics
2019-11-07 09:12:55 +01:00
Jordan Liggitt
1678f42970
Fix run_kubectl_sort_by_tests
2019-11-07 02:26:45 -05:00
Jordan Liggitt
59dfac587f
Fix assert methods
2019-11-07 02:26:45 -05:00
Jordan Liggitt
9f30c783bc
bump kazel, bazel, gazelle
...
hack/pin-dependency.sh k8s.io/repo-infra v0.0.1-alpha.1
To fix non-idempotent BUILD file generation
hack/pin-dependency.sh github.com/bazelbuild/bazel-gazelle v0.19.0
hack/pin-dependench.sh github.com/bazelbuild/buildtools 0.29.0
for go1.13.3 support
hack/lint-dependencies.sh
hack/pin-dependency.sh github.com/bazelbuild/buildtools v0.0.0-20190917191645-69366ca98f89
to pick up preferred version for repo-infra
2019-11-06 17:39:05 -05:00
Jordan Liggitt
e3ff39ffa0
Update build to go1.13.4
2019-11-06 17:39:05 -05:00
Jordan Liggitt
ee2b887c74
Fix hack/pin-dependency.sh for go1.13
2019-11-06 17:39:05 -05:00
Jordan Liggitt
8618c09369
opt out of module mode for builds
2019-11-06 17:39:05 -05:00
Roy Hvaara
e16ee0b68e
Support comments in hack/.golint_failures
2019-11-05 22:59:42 +01:00
Kubernetes Prow Robot
8245a24c37
Merge pull request #84761 from thockin/make-better-find-filter
...
Build: Use a better filter on find
2019-11-05 11:44:54 -08:00
feifei.zhang@huawei.com
fdce8ef960
fix golint failures of pkg/security/apparmor
2019-11-05 18:56:15 +08:00
Tim Hockin
a1ad4910dc
Build: Use a better filter on find
...
In case the _workspace directory exists, filter it out.
2019-11-04 21:00:58 -08:00
Roy Hvaara
a9ed936792
Fix golint issues in test/e2e_kubeadm
2019-11-04 23:20:24 +01:00
Roy Hvaara
dffcf7c8cd
Fix golint issues in pkg/controller/volume/persistentvolume/options
2019-11-04 21:45:21 +01:00
Kubernetes Prow Robot
7b6369c803
Merge pull request #84249 from odinuge/bump-shellcheck
...
Bump shellcheck to v0.7.0
2019-11-04 06:19:40 -08:00
Benjamin Elder
83c56a0373
remove hack/e2e.go
2019-11-03 19:36:59 -05:00
hwdef
5c6ed21d34
cmd:fix staticcheck warning
2019-11-03 00:00:54 +08:00
Kubernetes Prow Robot
510fb38f27
Merge pull request #83671 from yue9944882/flow-control-api-model
...
Apiserver flowcontrol api models
2019-11-01 22:49:40 -07:00
Kubernetes Prow Robot
df8706e60b
Merge pull request #84408 from mikedanese/cleanup
...
delete unused cache
2019-11-01 18:07:56 -07:00
Jordan Liggitt
b44d7c8d3c
Drop version from static openapi json file
2019-11-01 13:35:10 -04:00
Kubernetes Prow Robot
7341803597
Merge pull request #84593 from mm4tt/benchmark_dockerized_gopath
...
Don't use hardcoded /go GOPATH in benchmark-dockerized.sh
2019-10-31 07:39:37 -07:00
Matt Matejczyk
68aebb4899
Don't use hardcoded /go GOPATH in benchmark-dockerized.sh
2019-10-31 13:57:04 +01:00
Kubernetes Prow Robot
ecec5cb2a4
Merge pull request #84540 from seans3/kubectl-get-staging
...
Moves kubectl get subcommand to staging
2019-10-30 21:56:37 -07:00
Kubernetes Prow Robot
5e468a49de
Merge pull request #84478 from hvaara/fix-golint-pkg/credentialprovider/gcp
...
Fix golint issues in pkg/credentialprovider/gcp
2019-10-30 06:38:54 -07:00
Kubernetes Prow Robot
e1d3cc74e5
Merge pull request #84329 from jingyih/update_etcd_server_to_3.4
...
Update default etcd server to 3.4.3
2019-10-30 02:30:52 -07:00
Sean Sullivan
907e3d61ab
Fixes staticcheck failures and golint failures
2019-10-29 17:50:23 -07:00
Kubernetes Prow Robot
f8b45a12f4
Merge pull request #84464 from wojtek-t/remove_conversion_funcs_1
...
Migrate couple manual conversions to the new AddConversionFunc() way
2019-10-29 15:39:07 -07:00
Mike Danese
0e69316bb3
delete unused cache
...
We aren't using this anywhere and it's not named properly for what it
is. We should either rename it or delete it (both break the package
API).
2019-10-29 14:40:48 -07:00
Jingyi Hu
ccf4caf30f
Update etcd.sh to use v3 endpoint
2019-10-29 13:10:29 -07:00
Kubernetes Prow Robot
a8e819746d
Merge pull request #83442 from serathius/remove-prometheus-addon
...
Remove prometheus addon
2019-10-29 01:34:43 -07:00
yue9944882
7c28a4b70e
non-generated api models misc
...
rule list
rule
rule 2
2019-10-29 12:26:12 +08:00
Jingyi Hu
706cde51c5
Update default etcd server to 3.4.3
2019-10-28 18:29:37 -07:00
Roy Hvaara
e40c473334
Fix golint errors in pkg/credentialprovider/gcp
2019-10-28 21:54:45 +01:00
wojtekt
32759d33bf
Cleanup conversions
2019-10-28 21:14:20 +01:00
Kubernetes Prow Robot
2896fb0be8
Merge pull request #83711 from tanjunchen/fix-staticcheck-test/e2e/network
...
fix staticcheck failures in test/e2e/common directory
2019-10-26 02:23:22 -07:00
Kubernetes Prow Robot
df8587f99f
Merge pull request #84062 from seans3/tableprinter-move
...
Removes kubectl get dependency on Kubernetes core
2019-10-24 16:55:52 -07:00
Asalle
49207027c6
Fix golint errors
...
in staging/src/k8s.io/apiserver/plugin/pkg/authenticator/password
2019-10-24 21:08:44 +02:00
Kubernetes Prow Robot
98442617cc
Merge pull request #81708 from RainbowMango/pr_fix_static_failure_for_code-generator
...
Fix static failure for package: staging/src/k8s.io/code-generator
2019-10-23 23:25:07 -07:00
Odin Ugedal
d467b8ea14
Fix shellcheck failures SC2128
2019-10-23 22:47:46 +02:00
Odin Ugedal
cce1f32ea5
Fix shellcheck failures SC2034
2019-10-23 22:47:46 +02:00
Odin Ugedal
65a66b9d7f
Bump shellcheck to v0.7.0
...
Changelog:
https://github.com/koalaman/shellcheck/blob/master/CHANGELOG.md
We have some new erros due to the version bump.
- SC2034: VARIABLE_XYZ appears unused. Verify use (or export if used externally).
- Applies to all scripts we source in other scripts
- SC2039: In POSIX sh, set option pipefail is undefined.
- Applies to files using it with "sh" instead of "bash" in the shebang
- SC2054: Use spaces, not commas, to separate array elements.
- Fixing Should make no difference in the code
- SC2128: Expanding an array without an index only gives the first element.
- Fixing Should make no difference in the code
- SC2251: This ! is not on a condition and skips errexit. Use `&& exit 1` instead, or make sure $? is checked.
- Not 100% sure if we can swap to `&& exit 1`. Applies to a lot of
test code.
All changes should be straight forward to fix, but will be done in a
separate PR.
2019-10-23 21:32:19 +02:00
DingShujie
171b486c34
Fix golint errors in pkg/apis/apps
2019-10-23 23:32:08 +08:00
Sean Sullivan
1b40a8849d
Ignore staticcheck again for tableprinter.go
2019-10-22 23:45:08 -07:00
Kubernetes Prow Robot
75cd65ae0e
Merge pull request #82145 from shivi28/fix-controller-nodeipam-ipam-cidrset
...
nodeipam-controller:fix static check failures
2019-10-22 23:18:26 -07:00
Cristian Dima
a18de39166
fix golint errors in pkg/controller/service
2019-10-23 01:52:19 +03:00
ianlang
3359577d42
set default value of KUBE_MASTER_URL to empty
2019-10-22 10:08:55 +08:00
Kubernetes Prow Robot
c634276498
Merge pull request #83497 from pivotal-k8s/allow-custom-tags
...
Allow users to use custom tags
2019-10-20 22:17:37 -07:00
Kubernetes Prow Robot
ff7a09928b
Merge pull request #84070 from neolit123/1.17-remove-test-owners-ref
...
remove usage of the test/test_owners.* files
2019-10-19 02:13:36 -07:00
Kubernetes Prow Robot
b574074981
Merge pull request #84055 from odinuge/cherry_pick_indent
...
Fix indent in cherry_pick_pull script
2019-10-18 02:15:58 -07:00
Lubomir I. Ivanov
2c54160021
remove usage of the test/test_owners.* files
...
- remove update_owners.py; seems responsible for generating
test_owners files
- remove the existing test/test_owners.* files
- remove verify-test-owners.sh and references to it
2019-10-18 03:01:21 +03:00
Kubernetes Prow Robot
7ed388caa6
Merge pull request #83744 from neolit123/1.17-move-test-owners-sig-cl-gcp
...
test/e2e: move some tests from cluster-lifecycle to cloud-provider-gcp
2019-10-17 16:33:58 -07:00
Odin Ugedal
b840398be8
Fix indent in cherry_pick_pull script
2019-10-17 17:43:29 +02:00
Kubernetes Prow Robot
4887b0cac2
Merge pull request #84008 from notpad/fix_83985
...
Change node name to env value of HOSTNAME_OVERRIDE
2019-10-17 05:12:37 -07:00
Kubernetes Prow Robot
2eef011c38
Merge pull request #81345 from k-toyoda-pi/fix_shellcheck_validate-cluster
...
Fix shellcheck failures in cluster/validate-cluster.sh
2019-10-17 03:18:38 -07:00
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