Commit Graph

6896 Commits (f501ec65f3b38b55a2b02b6366275d536300f130)

Author SHA1 Message Date
zuoxiu.jm efeec1edee remove internal informer/lister generator 2018-10-29 11:37:55 +08:00
qingsenLi ca74d32e4c fix golint for /pkg/util/ipconfig and /pkg/util/resourcecontainer-2 2018-10-26 23:58:30 +08:00
Jordan Liggitt d0577ace6b fixup extensions->apps references 2018-10-25 21:12:57 -04:00
k8s-ci-robot 86e2d2bf03
Merge pull request #69587 from jonfriesen/fix_golint_tests
Fixes golint for test/list
2018-10-24 14:46:57 -07:00
k8s-ci-robot e7e6c8a95c
Merge pull request #68544 from tanshanshan/lint912-2
fix golint for pkg/util/dbus, node, strings, workqueue/prometheus
2018-10-23 16:44:31 -07:00
k8s-ci-robot eef8154833
Merge pull request #69554 from nikhita/cloud-provider-import-restrictions
Add import restrictions for cloud-provider
2018-10-23 12:29:29 -07:00
k8s-ci-robot 5e8e8dcff8
Merge pull request #70101 from imjching/68026-fix-golint-failures-discovery
Fix linting issues in staging/src/k8s.io/client-go/discovery/*
2018-10-23 11:17:40 -07:00
k8s-ci-robot f827a98257
Merge pull request #69596 from logicalhan/abac-lint
fix lint issues in the apis/abac directory (except latest.go)
2018-10-23 11:17:31 -07:00
k8s-ci-robot 199cd1b8af
Merge pull request #69369 from mikechernev/improve-verify-golint
Make the golint verify script MacOS compatible
2018-10-22 19:44:11 -07:00
Jay Lim 7a317e6262 Fix linting issues in staging/src/k8s.io/client-go/discovery/*
Signed-off-by: Jay Lim <jay@imjching.com>
2018-10-22 20:09:45 -04:00
k8s-ci-robot 8b36038b41
Merge pull request #68483 from pohly/e2e-refactor-pr
e2e refactor
2018-10-19 12:32:01 -07:00
k8s-ci-robot 3fdb1e6bdb
Merge pull request #69952 from Katharine/include-staging
Include vendor/k8s.io in coverage instrumentation
2018-10-18 14:44:28 -07:00
k8s-ci-robot 4d66eeb922
Merge pull request #69709 from seans3/kubectl-translate-fix
kubectl: move translated data into kubectl
2018-10-18 10:25:18 -07:00
Han Kang 56cd8ecf08 fix lint issues in the apis/abac directory (except latest.go) 2018-10-18 09:05:04 -07:00
Katharine Berry 9ec5b7ffde Include vendor/k8s.io in coverage. 2018-10-17 17:15:27 -07:00
k8s-ci-robot 0652e098d0
Merge pull request #67547 from pbarker/audit-api
dynamic audit configuration api
2018-10-17 16:19:39 -07:00
Sean Sullivan b7f8369da2 kubectl: move translated data into kubectl 2018-10-17 10:34:21 -07:00
k8s-ci-robot 0d6f6a680b
Merge pull request #68441 from smarterclayton/describe_dependency
Move versioned generators into their own package
2018-10-17 04:24:06 -07:00
tanshanshan 0ecff590bb fix golint for some of pkg/util 2018-10-17 10:11:49 +08:00
k8s-ci-robot 5a0220a6d8
Merge pull request #69387 from mcrute/master
fix golint for pkg/cloudprovider/providers/aws
2018-10-16 17:53:02 -07:00
k8s-ci-robot 1d3d1e8968
Merge pull request #68518 from leakingtapan/golint-fix-volume-empty-dir
fix golint issues for pkg/volume/empty_dir
2018-10-16 17:52:44 -07:00
k8s-ci-robot ef195428a0
Merge pull request #69790 from WanLinghao/clean_packages
clean all unused packages under pkg/util
2018-10-16 13:02:01 -07:00
Clayton Coleman defd8713ac
Fix govet errors in generators 2018-10-16 12:54:40 -04:00
Clayton Coleman 9f5c2aea1a
Cut a dependency between kubectl and the rest of the repo
The types referenced in credentialprovider are part of a long term api
and will not change, and kubectl doesn't need to take a dependency on this
package in order to do minimal validation here.
2018-10-16 12:54:40 -04:00
Patrick Barker 381d0a5d14 adds dynamic audit api 2018-10-16 06:46:34 -06:00
Davanum Srinivas 0b15620ea3
tolerate both http(s) and git urls for cherry_pick_pull
Looks like the previous change broke for users who have cloned their
upstream using https instead of ssh. Here we explicit strip out the
prefixes like "http://", "https://" and "git@" before look for the repo
name and the org name.

Change-Id: I8fbfae8bfa209a954d36d3ada791dcf13070ec6d
2018-10-15 21:05:32 -04:00
Cheng Pan 42ef7ae8d5 fix golint issues for pkg/volume/empty_dir 2018-10-15 20:00:36 +00:00
k8s-ci-robot 2119512b9e
Merge pull request #68491 from leakingtapan/golint-fix-volume-util
fix golint issue for pkg/volume/util
2018-10-15 11:40:32 -07:00
WanLinghao fe3131ba87 clean all unused packages under pkg/util 2018-10-15 09:54:08 +08:00
k8s-ci-robot 296ea67c84
Merge pull request #69556 from leakingtapan/golint-fix-volume-fc-flock
Fix golint issues for pkg/volume/{fc,flocker} packages
2018-10-14 10:43:59 -07:00
k8s-ci-robot 509fd5caea
Merge pull request #69431 from Huang-Wei/kubectl-prioriyclass
`kubectl get priorityclass` prints value column
2018-10-12 19:13:42 -07:00
k8s-ci-robot 8e4f7812b8
Merge pull request #69368 from dims/upstream-heptio-kube-conformance
upstream heptio/kube-conformance
2018-10-12 19:13:33 -07:00
k8s-ci-robot 3348f9ae23
Merge pull request #69627 from dims/updating-ghodss-yaml-to-latest-version-2
Updating ghodss/yaml and gopkg.in/yaml.v2 to latest version 2
2018-10-12 14:48:26 -07:00
Davanum Srinivas 6830bad2a6
upstream heptio/kube-conformance
Pick up some code from https://github.com/heptio/kube-conformance
Fix up build scripts for the new conformance image
Fix Header template and Copyright to make verify job go green
update README and add execute permissions for script

Change-Id: Ib6509acd816cc2fb3a516bfb8e0ff9e32bff8f79
2018-10-12 15:33:15 -04:00
k8s-ci-robot c75d772ce9
Merge pull request #69574 from dims/cherry_pick_pull-should-work-across-repos
cherry_pick_pull should work for non-k/k repos
2018-10-12 11:20:21 -07:00
k8s-ci-robot 6fc89ae92d
Merge pull request #69633 from soltysh/move_templates
Move pkg/kubectl/cmd/templates -> pkg/kubectl/util/templates
2018-10-12 10:07:07 -07:00
k8s-ci-robot 97169b1512
Merge pull request #69729 from soltysh/lint_url
Update golint download URL
2018-10-12 06:00:09 -07:00
Maciej Szulik 13016b9ab9
Update golint download URL 2018-10-12 11:45:54 +02:00
k8s-ci-robot 88e50c9c99
Merge pull request #69548 from tallclair/bazel-e2e
Fix find-binary to locate bazel e2e tests
2018-10-12 01:16:03 -07:00
k8s-ci-robot 3dbb1481f2
Merge pull request #69491 from chrischdi/lint-pkg-util-strings
fix golint errors in pkg/util/strings
2018-10-11 18:26:43 -07:00
k8s-ci-robot cda667e217
Merge pull request #69515 from WanLinghao/clean_term
clean unused package: pkg/util/term
2018-10-11 13:45:32 -07:00
Maciej Szulik 21789b85a6
Move pkg/kubectl/cmd/templates -> pkg/kubectl/util/temlpates 2018-10-11 22:01:03 +02:00
Patrick Ohly 8b17db7e0c e2e: modular framework
Not all users of the E2E framework want to run cloud-provider specific
tests. By splitting out the code it becomes possible to decide in
a E2E test suite which providers are supported.

This is achieved in two ways:
- the framework calls certain functions through a provider
  interface instead of calling specific cloud provider functions
  directly
- tests that are cloud-provider specific directly import the
  new provider packages

The ingress test utilities are only needed by a few tests. Splitting
them out into a separate package makes the framework simpler for test
suites not using those tests.

Fixes: #66649
2018-10-11 11:16:11 +02:00
k8s-ci-robot af47e92beb
Merge pull request #69635 from soltysh/fix_format
Fix format arguments in error in cli-runtime builder
2018-10-10 22:22:48 -07:00
k8s-ci-robot a8c7a3fd5e
Merge pull request #69322 from jpbetz/etcd-client-3.3.9
Update etcd client to 3.3 for 1.13
2018-10-10 17:56:46 -07:00
Wei Huang da041ec5a9
`kubectl get priorityclass` prints value column 2018-10-10 12:18:42 -07:00
Maciej Szulik e37c63ea71
Add cli-runtime to make tests 2018-10-10 21:07:38 +02:00
Davanum Srinivas 65da81f42e
Fix up test cases
Change-Id: Ib9245f78dbfb88f1f37a26ca64bf80d3f78d7497
2018-10-10 10:24:09 -04:00
Davanum Srinivas ecb1a73162
cherry_pick_pull should work for non-k/k repos
Change-Id: If13277d082dd6febadd58f78b7b5710c4fcb2988
2018-10-10 06:46:55 -04:00
k8s-ci-robot 85a8f97cb1
Merge pull request #68582 from jonfriesen/master
Fixes golint for pkg/probe
2018-10-09 21:14:46 -07:00
Jon Friesen 65ada74b98 Fixes golint for test/list
Fixes minor golint errors in the test/list tool.

ref: #68026
2018-10-09 12:32:27 -07:00
Cheng Pan 065e4543b7 Fix golint issues for pkg/volume/{fc,flocker} packages 2018-10-09 06:04:00 +00:00
Nikhita Raghunath 033d69432d Add import restrictions for cloud-provider 2018-10-09 10:30:00 +05:30
Tim Allclair 275212bbc9 Fix find-binary to locate bazel e2e tests 2018-10-08 17:20:02 -07:00
Joe Betz 4263c75211 Update etcd client to 3.3.9 2018-10-08 13:34:34 -07:00
Mike Crute 4d65f20ff6 fix golint for pkg/cloudprovider/providers/aws 2018-10-08 12:08:56 -07:00
WanLinghao 26837d4858 clean unused package: pkg/util/term 2018-10-08 18:19:20 +08:00
Maciej Szulik 1d9617d8e1
Generated changes 2018-10-06 18:44:05 +02:00
Christian Schlotter 398039b36e fix golint errors in pkg/util/strings
Signed-off-by: Christian Schlotter <christi.schlotter@gmail.com>
2018-10-06 13:35:19 +02:00
k8s-ci-robot 0f17e9ade6
Merge pull request #69386 from cblecker/go-1.11
Update to go1.11.1
2018-10-05 17:35:51 -07:00
k8s-ci-robot 13705ac81e
Merge pull request #68310 from cheftako/cpiMove
Moving the cloudprovider interface to staging.
2018-10-05 13:29:01 -07:00
Christoph Blecker 962fdbcbca
Bump golang version to 1.11.1 2018-10-05 12:58:56 -07:00
k8s-ci-robot 6764bc495e
Merge pull request #69080 from tanshanshan/little926
fix  golint in staging/src/k8s.io/apiserver/pkg/admission/plugin/ include namespace/lifecycle,webhook/mutating,webhook/validating
2018-10-05 04:45:51 -07:00
Walter Fender f3f46d5f5a Moving the cloudprovider interface to staging.
Individual implementations are not yet being moved.
Fixed all dependencies which call the interface.
Fixed golint exceptions to reflect the move.
Added project info as per @dims and
https://github.com/kubernetes/kubernetes-template-project.
Added dims to the security contacts.
Fixed minor issues.
Added missing template files.
Copied ControllerClientBuilder interface to cp.
This allows us to break the only dependency on K8s/K8s.
Added TODO to ControllerClientBuilder.
Fixed GoDeps.
Factored in feedback from JustinSB.
2018-10-04 14:41:20 -07:00
fabriziopandini 9aec633c40 Fix tests 2018-10-04 13:20:11 +02:00
k8s-ci-robot e03886c34a
Merge pull request #68297 from leakingtapan/golint-fix-gce-pd
fix golint for pkg/volume/gce_pd
2018-10-03 13:01:34 -07:00
Mike Chernev a34817238a Make the golint verify script MacOS compatible 2018-10-03 15:30:59 +02:00
k8s-ci-robot a94755cf2b
Merge pull request #69243 from jfchevrette/local_cluster_default_admission_plugins
Fix setting admission plugins on local-up-cluster.sh
2018-10-02 21:46:31 -07:00
k8s-ci-robot c179a9c9df
Merge pull request #67356 from yliaog/master
Moved staging/src/k8s.io/client-go/tools/bootstrap to staging/src/k8s…
2018-10-02 20:35:51 -07:00
k8s-ci-robot a4589f1cbe
Merge pull request #68813 from leakingtapan/golint-fix-volume-flex
fix golint issue for pkg/volume/flexvolume package
2018-10-02 18:15:31 -07:00
Yu Liao fc21115c3f Moved staging/src/k8s.io/client-go/tools/bootstrap to staging/src/k8s.io/cluster-bootstrap 2018-10-02 09:46:13 -07:00
Cheng Pan 7d68fd00e6 fix golint for pkg/volume/gce_pd 2018-10-01 18:58:30 +00:00
Jean-Francois Chevrette c4ea93c42b update list of default admission plugins 2018-09-30 15:40:34 -04:00
Jean-Francois Chevrette 816c56b619 set default admission plugins on local-up-cluster.sh 2018-09-28 20:49:13 -04:00
k8s-ci-robot 7be7968443
Merge pull request #69175 from apelisse/approvers-hack
Add sig-cli as approver for testdata
2018-09-28 05:31:55 -07:00
k8s-ci-robot 6c1688712d
Merge pull request #68181 from Pingan2017/golint
fix golint failures - some packages under /pkg/kubelet
2018-09-28 01:56:26 -07:00
k8s-ci-robot 932e657d5d
Merge pull request #69180 from dims/remove-extra-debugging-log-status-for-go-install
Remove extra debugging log::status call
2018-09-27 20:52:20 -07:00
k8s-ci-robot 79fa559d6a
Merge pull request #68324 from cheftako/lintClean
Cleaned up lint errors in pkg/kubeapiserver/server.
2018-09-27 20:51:51 -07:00
k8s-ci-robot 9505330dc8
Merge pull request #69030 from zhangmingld/fixlocalup
fix allow-priviledge not work in local-up-cluster
2018-09-27 15:53:28 -07:00
Antoine Pelisse e843733934 Add sig-cli as approver for testdata
Since sig-cli members change some tests and need to change some data,
having approval in that directory should be useful.
2018-09-27 15:00:14 -07:00
Davanum Srinivas a89242b7fd
Remove extra debugging log::status call
Introduced by mistake in:
d9cfd77149

Change-Id: I71ddf7131c47e74dddfa1f8ccc69cc980eeefb94
2018-09-27 17:36:44 -04:00
k8s-ci-robot 587914c29d
Merge pull request #69055 from fabriziopandini/kubeadm-remove-v1alpha2
Kubeadm remove v1alpha2 api
2018-09-27 12:21:26 -07:00
k8s-ci-robot 3f01e09afe
Merge pull request #68970 from yue9944882/fixes-bsd-sed-compatibility
Fixes bsd / gnu sed compatibility for local-up-cluster script
2018-09-27 06:06:49 -07:00
k8s-ci-robot 807eb6b24b
Merge pull request #69003 from dims/ensure-reproducible-builds-pass-epoch-env-var
Ensure reproducible builds - support for SOURCE_DATE_EPOCH with docke…
2018-09-27 04:49:10 -07:00
walter 6990a6392a Cleaned up lint errors in pkg/kubeapiserver/server. 2018-09-26 23:12:30 -07:00
tanshanshan 3de8767dc6 fix some golint in staging/src/k8s.io/apiserver/pkg/admission/plugin/ 2018-09-27 08:49:06 +08:00
k8s-ci-robot ea09a3b40c
Merge pull request #68525 from apelisse/kubectl-diff-simplify-interface
kubectl-diff: Simplify interface
2018-09-26 14:42:35 -07:00
fabriziopandini bb8eec4934 removal of v1alpha2 2018-09-26 17:39:18 +02:00
k8s-ci-robot 9f681f0f6e
Merge pull request #68778 from xychu/add-reuse-certs
Add REUSE_CERT to skip creaing new ca/cert files
2018-09-26 04:57:08 -07:00
Davanum Srinivas d9cfd77149
Ensure reproducible builds - support for SOURCE_DATE_EPOCH with dockerized builds
- Pass in SOURCE_DATE_EPOCH when we run the docker container
- Looks like cleaning up symbol table also helps
- Also trimming the path

Tips from
- https://blog.filippo.io/reproducing-go-binaries-byte-by-byte/
- https://blog.filippo.io/shrink-your-go-binaries-with-this-one-weird-trick/

Change-Id: Iedba85d9c1a36790fb8814795f7c27c1371cff1b
2018-09-26 07:28:09 -04:00
k8s-ci-robot 05f277c6bc
Merge pull request #68628 from derekwaynecarr/fix-local-up
Tweaks for local-up-cluster
2018-09-25 17:00:46 -07:00
k8s-ci-robot 63f5db60e5
Merge pull request #68330 from tianshapjq/ignore-git-dir-when-gofmt
ignore .git dirs when executing gofmt
2018-09-25 14:40:42 -07:00
k8s-ci-robot 9cadfbb091
Merge pull request #68568 from fasthall/e2e-node
make test zone an option in test-e2e-node.sh script
2018-09-25 12:16:21 -07:00
k8s-ci-robot 28d7b9a333
Merge pull request #68412 from Katharine/nit-use-kube-build-coverage-directly
Use KUBE_BUILD_WITH_COVERAGE directly
2018-09-25 11:04:22 -07:00
k8s-ci-robot 11136874bc
Merge pull request #68302 from PrasadG193/fix-golint-pkg-api
pkg/api: Fix golint errors
2018-09-25 11:03:43 -07:00
k8s-ci-robot c16691037d
Merge pull request #68255 from leakingtapan/golint-fix-ebs
Fix golint for pkg/volume/aws_ebs
2018-09-25 06:13:33 -07:00
k8s-ci-robot 59ad8c0f51
Merge pull request #68121 from dixudx/remove_rs_controller_options
cleanup: remove unused options for rs controller
2018-09-25 05:02:24 -07:00
k8s-ci-robot 5b864ac971
Merge pull request #68113 from fengzixu/master
Fixes #68026: revise some errors about golint in some packages
2018-09-25 05:02:14 -07:00
k8s-ci-robot 0805860dba
Merge pull request #67870 from yue9944882/refactor/externalize-resource-quota-admission-controller
Externalize resource quota admission controller & controller reconciliation
2018-09-25 02:41:40 -07:00
zhangmingld 909677802e fix allow-priviledge not work in local-up-cluster 2018-09-25 17:07:18 +08:00