Commit Graph

6944 Commits (f47e40412586c40b5f5286834f733a78caa53494)

Author SHA1 Message Date
Joe Betz 862b945e5a Update default etcd server to 3.3.10 for kubernetes 1.13 2018-12-03 11:03:49 -08:00
Kubernetes Prow Robot 9b160ab90f
Merge pull request #71538 from cblecker/godep-path
Don't use hermetic go environment for installing godep
2018-11-30 23:40:08 -08:00
k8s-ci-robot be6ce4aca0
Merge pull request #71524 from ixdy/bazel-_output-local-go
make bazel not follow the infinite symlink in _output/local/go
2018-11-30 08:20:09 -08:00
k8s-ci-robot 79e5cb2cb7
Merge pull request #71302 from liggitt/verify-unit-test-feature-gates
Split mutable and read-only access to feature gates, limit tests to readonly access
2018-11-29 21:45:12 -08:00
k8s-ci-robot 15556551be
Merge pull request #68942 from nikhita/csi-api-staging-restrict-imports
Add import restrictions for csi-api
2018-11-29 21:44:42 -08:00
k8s-ci-robot 7db6ad1f0e
Merge pull request #70781 from emwalker/68026-golint-fixes-4
Remove test/images/* from hack/.golint_failures
2018-11-29 11:16:28 -08:00
Jeff Grafton e3fac7690b Make Bazel not follow the infinite symlink in _output/local/go
Otherwise, calling make followed by bazel might fail, requiring one to
run make clean first.

Additionally, add comments explaining why we must do this.
2018-11-29 10:47:36 -08:00
k8s-ci-robot 7a958cf9e9
Merge pull request #68402 from saravanan30erd/cloudprovider-ovirt
Fix golint failures - pkg/cloudprovider/providers/ovirt
2018-11-28 21:44:38 -08:00
Christoph Blecker b1aae87327
Don't use hermetic go environment for installing godep
This is unneeded, and causes this build environment to persist throughout the lifetime of any godep script.
2018-11-28 16:31:25 -08:00
Yang Li 43f9302b90 Fix golint warnings 2018-11-27 10:24:25 +08:00
Yecheng Fu ce22322ef1 No need to pass GOFLAGS to $goflags variables.
In go 1.11, go commands will use `GOFLAGS` as default flags, see
https://golang.org/doc/go1.11#go_command.

There is no need to pass GOFLAGS to $goflags, and if we do, go commands
will fail with "duplicate flags" error, e.g.

```
$ make test-integration WHAT=./test/integration/scheduler GOFLAGS="-v"
...
go test: v flag may be set only once
run "go help test" or "go help testflag" for more information
...
```
2018-11-27 09:53:02 +08:00
Nikhita Raghunath d21096576f Add import restrictions for csi-api 2018-11-27 00:51:21 +05:30
Jingfang Liu 5604a15024 update staging Godeps and import restrictions 2018-11-26 11:03:00 -08:00
Yang Li 141d33a2a5 Fix some golint errors for packages in `pkg/kubectl/cmd`
Co-authored-by: Arijit Basu <sayanarijit@gmail.com>
2018-11-22 22:09:08 +08:00
saad-ali aa8244beb5 Modify CSI to handle both 0.3 and 1.0
Modify the CSI volume plugin to handle CSI version 0.x as well as 1.x
2018-11-21 18:37:31 -08:00
Jordan Liggitt 91980a0f61 Add verification script for test feature gate modification 2018-11-21 11:51:33 -05:00
Jordan Liggitt 8799eb4e2e Revert "Merge pull request #67205 from roycaihw/crd-openapi-spec"
This reverts commit 54ee58b2d6, reversing
changes made to 9e2820e4c9.
2018-11-16 16:36:24 -05:00
k8s-ci-robot 54ee58b2d6
Merge pull request #67205 from roycaihw/crd-openapi-spec
Serve OpenAPI spec for registered CRDs
2018-11-16 05:12:41 -08:00
k8s-ci-robot e615df9d23
Merge pull request #70950 from yue9944882/chore/prune-cli-describer-internal
Use versioned types in kubectl describer
2018-11-15 15:00:12 -08:00
Haowei Cai 5bb4b32503 Allow apiextensions-apiserver to import kube-openapi 2018-11-15 11:00:55 -08:00
David Ashpole aa9ba976ac generate go client for kubelet podresources API 2018-11-15 09:38:59 -08:00
zuoxiu.jm da9387131e prune internal clients from kubectl describer 2018-11-16 00:11:10 +08:00
k8s-ci-robot 22eb2b0dae
Merge pull request #70966 from awly/cert-triple-cleanup
Remove k8s.io/client-go/util/cert/triple
2018-11-14 19:20:07 -08:00
k8s-ci-robot 79dab474c0
Merge pull request #70555 from prameshj/nodelocaldnscache
Support running a nodelocal dns cache
2018-11-14 00:18:56 -08:00
Pavithra Ramesh 6d7c5e90ed Removed .salt template , using .sed template
Removed default config options from yaml.
Removed unused yaml files
2018-11-13 18:33:34 -08:00
Andrew Lytvynov 09db5bc951 Remove k8s.io/client-go/util/cert/triple
The package is unused.
2018-11-13 13:08:50 -08:00
Eric Walker d8390c4845 Remove test/images/* from hack/.golint_failures 2018-11-12 20:51:41 -07:00
Pavithra Ramesh 73b548db06 Support running a nodelocal dns cache
This change includes the yaml files and gce startup script changes
to run this addon. It is disabled by default, can be enabled by setting
KUBE_ENABLE_NODELOCAL_DNS=true
An ip address is required for the cache instance to listen for
requests on, default is a link local ip address of value 169.254.25.10

addressed review comments, updated image location
Picked a different prometheus port so stats port is not same as the
coredns deployment

Removed the nodelocaldns-ready label.
Set memory limit to 30Mi
2018-11-12 14:54:20 -08:00
saravanan30erd 14a9fa47c6 fix golint issues in ovirt 2018-11-12 16:04:26 +04:00
Davanum Srinivas 3e3388bdcb
Fix issues with verify-imports.sh
Change-Id: I31aa2483065a4ef6acb65c18cda73c325c432df3
2018-11-10 07:50:32 -05:00
k8s-ci-robot e998d6c2bc
Merge pull request #70718 from cblecker/godep-round-a-million
Fork godep to fix inconsistent abbreviation size
2018-11-07 19:10:45 -08:00
Christoph Blecker bc7e7e5114
Remove ignore on GodepVersion and Godep comments 2018-11-07 11:02:08 -08:00
Christoph Blecker 64173fb46b
Remove godep from REQUIRED_BINS 2018-11-07 11:02:07 -08:00
Christoph Blecker 35cdbdf16c
Use ensured godep instead of relying on PATH 2018-11-07 11:02:01 -08:00
k8s-ci-robot 50de3a0d79
Merge pull request #69659 from cheftako/lintClean3
Fixes lint errors in kubeapiserver packages
2018-11-06 14:02:05 -08:00
Christoph Blecker c0c62821d7
Install ensured godep inside hermetic GOPATH 2018-11-06 12:23:27 -08:00
k8s-ci-robot 15de3eed09
Merge pull request #70461 from mysunshine92/golint
fix golint errors in pkg/volume/*
2018-11-05 11:41:47 -08:00
k8s-ci-robot 8fe6eb3076
Merge pull request #70420 from idealhack/fix-golint-pkg-kubectl
Fix some golint errors for packages in `pkg/kubectl`
2018-11-05 06:53:55 -08:00
walter 2af982abb9 Fixes lint errors in kubeapiserver packages
Fixes lint errors in kubeapiserver/admission, kubeapiserver/authorizer,
kubeapiserver/authenticator. Also enables lint testing of these
directories.
Fixed go format.
Fixed changes from config.
2018-11-04 17:22:41 -08:00
k8s-ci-robot 5581f52c0f
Merge pull request #69111 from rajansandeep/clustername
Adapt e2e tests for cluster-domain other than cluster.local
2018-11-01 23:45:22 -07:00
Yang Li 3d0c961d57 Fix some golint errors for packages in `pkg/kubectl`
- Fix some golint errors for `pkg/kubectl`
- Fix a golint error for `pkg/kubectl/apps`
- Fix all golint errors for `pkg/kubectl/cmd`
- Fix some golint errors for `pkg/kubectl/generate/versioned`
- Fix a golint error for `pkg/kubectl/generate`
- Fix some golint errors for `pkg/kubectl/metricsutil`
- Fix all golint errors for `pkg/kubectl/util`
- Fix all golint errors for `pkg/kubectl/util/slice`
2018-11-02 11:55:40 +08:00
k8s-ci-robot 4351cea80c
Merge pull request #70046 from cheftako/lintCleanGce
Fixed lint errors for pkg/cloudprovider/providers/gce.
2018-11-01 13:44:06 -07:00
Sandeep Rajan 4c8a65ac01 configure cluster domain via flags 2018-11-01 12:27:54 -04:00
yameiwang 18a904d187 fix golint errors in pkg/volume/* 2018-11-01 16:52:56 +08:00
k8s-ci-robot 0be22d8ace
Merge pull request #70230 from qingsenLi/git181025
fix golint for /pkg/util/ipconfig and /pkg/util/resourcecontainer
2018-10-31 11:50:23 -07:00
k8s-ci-robot 76234a31b0
Merge pull request #69680 from jonfriesen/fix_golint_test/utils/images
Fixes golint in test/utils/image
2018-10-30 08:01:55 -07:00
Jon Friesen 0415ebe439 Fixes golint in test/utils/image
This change fixes the test/utils/image package golint errors.
2018-10-29 17:07:01 -07:00
walter 735ad9ed63 Fixed lint errors for pkg/cloudprovider/providers/gce.
Fixed minor issues.
Cleaned up from merge errors.
2018-10-29 11:52:24 -07:00
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