Commit Graph

71175 Commits

Author SHA1 Message Date
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
k8s-ci-robot
e42f52150e
Merge pull request #69779 from dims/remove-last-traces-of-old-registry-name
Remove last traces of old registry name
2018-10-15 17:52:46 -07:00
Mike Danese
6e266de8a0 make tokentest available to tests only 2018-10-15 17:48:33 -07:00
guineveresaenger
2baf575fe2 Adds label prompt and explanation to pull request template
As the release process no longer requires an issue to be filed with each pull request, we should be treating pull requests as issues for the purposes of triage. This means it is helpful if PR authors add labels right as they open a PR.
2018-10-15 17:20:44 -07:00
Wei Huang
8726ed29ef
enable and improve e2e of NoExecuteTaintManager
- e2e test file cannot end with "_test.go". rename "taints_test.go" to "taints.go"
- test multiple pods case
2018-10-15 16:02:05 -07:00
Yu Liao
ce1e62fb1b Upgraded the test to 1.10 Sample API server. 2018-10-15 15:35:24 -07:00
Anago GCB
f6b54f79fb Add CHANGELOG-1.13.md for v1.13.0-alpha.1. 2018-10-15 22:07:16 +00:00
k8s-ci-robot
c7886f8ba4
Merge pull request #69828 from ironcladlou/e2e-psp-reentrancy-fix
Make CreatePrivilegedPSPBinding reentrant
2018-10-15 15:04:53 -07:00
k8s-ci-robot
c1c718e5ab
Merge pull request #69746 from seans3/printers-fix
kubectl: update to use correct printers package
2018-10-15 15:04:42 -07:00
k8s-ci-robot
2f8b585d9c
Merge pull request #69330 from vaikas-google/json-patch
Add support for JSON patch in fake client
2018-10-15 15:04:32 -07:00
Mrunal Patel
6327c7403b Use fsync instead of sync for test
sync sometimes hangs with misbehaving NFS during the tests

Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2018-10-15 14:27:26 -07:00
k8s-ci-robot
8418cccaf6
Merge pull request #69817 from dims/switch-off-kube-build-conformance-image-by-default
Switch off KUBE_BUILD_CONFORMANCE to diagnose a ci-cross issue
2018-10-15 13:53:21 -07:00
k8s-ci-robot
5bd5c4e61a
Merge pull request #69791 from stepyu/master
fix comments
2018-10-15 13:53:10 -07:00
stepyu
6ac518e0df fix comments 2018-10-16 10:55:54 +08:00
k8s-ci-robot
d54e0fc0bc
Merge pull request #69670 from atlassian/simplify-rand-seed
Simplify rand seeding
2018-10-15 13:53:01 -07:00
k8s-ci-robot
c68ee22156
Merge pull request #69613 from Pingan2017/runtimeError
improve err msg for runtimeError when the uptime of runtime never update
2018-10-15 13:52:51 -07:00
k8s-ci-robot
060218a862
Merge pull request #69412 from tossmilestone/scheduler-factory-test
Refactor scheduler factory test
2018-10-15 13:52:41 -07:00
Cheng Pan
42ef7ae8d5 fix golint issues for pkg/volume/empty_dir 2018-10-15 20:00:36 +00:00
xichengliudui
e394482373 Remove duplicate words 2018-10-15 15:55:49 -04:00
Hannes Hörl
6330cee9ea Add tests for csiDriverClient
As #69219 outlines the unit tests in `csi_client_test.go` where not
testing the actual implementation of the `csiDriverClient` but was
testing the fake.

To fix this, we changed the `csiDriverClient` to use a
`nodeClientCreator` which is responsible for creating a new
`NodeClient`, a real one in prod and a fake one in the tests.

The setup of the gRPC connection has been pushed into that creator. The
node client uses that connection; that's transparent to the driver
client. It's the responsibility of the driver client to close the
connection when it is done with the node client. To achieve this, we
have the node client creator return a closer which handles the
connection teardown.

In the tests we now also check if the driver client actually calls
this closer, thus closing the gRPC connection.

Closes: #69219

Co-authored-by: Rosie Bloxsom <rbloxsom@pivotal.io>
Co-authored-by: Maria Ntalla <mntalla@pivotal.io>
2018-10-15 20:55:37 +01:00
Dan Mace
0bef5e4325 Make CreatePrivilegedPSPBinding reentrant
Make CreatePrivilegedPSPBinding reentrant so tests using it (e.g. DNS) can be
executed more than once against a cluster. Without this change, such tests will
fail because the PSP already exists, short circuiting test setup.
2018-10-15 15:31:25 -04:00
k8s-ci-robot
b11211ed8c
Merge pull request #69645 from neolit123/kubeadm-set-version-fix
kubeadm: modify SetKubernetesVersion
2018-10-15 11:40:42 -07: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
Wei Huang
ef2de48dc5
promote TaintBasedEvictions featuregate to beta 2018-10-15 11:20:49 -07:00
Sean Sullivan
6a2ef97d46 kubectl: update to use correct printers package 2018-10-15 11:02:19 -07:00
Tim Allclair
0057624bde Update heapster eventer addon-resizer to 1.8.3 2018-10-15 10:47:25 -07:00
Tim Allclair
8a50e7ed4e Add kube-state-metrics nanny configuration 2018-10-15 10:46:19 -07:00
Tim Allclair
7b2bc84259 Fix addon-resizer version - 1.8.3 2018-10-15 10:46:19 -07:00
Davanum Srinivas
cfc7797023
Switch off KUBE_BUILD_CONFORMANCE to diagnose a ci-cross issue
Looking at job results, there seems to be some flakiness, let's see if
the PR that added the conformance image is the one to blame.

https://prow.k8s.io/?type=periodic&job=ci-kubernetes-cross-build
https://k8s-testgrid.appspot.com/sig-release-misc#cross-build&graph-metrics=test-duration-minutes&width=20

Change-Id: Ic26431a0e262100dec0444279d94277482972b07
2018-10-15 13:13:19 -04:00
Andy Crow
4400996c48 Fix error messages suggesting invalid flag 2018-10-15 16:39:53 +01:00
k8s-ci-robot
8928e70af9
Merge pull request #69737 from qingling128/master
Add tolerations for Stackdriver Logging and Metadata Agents.
2018-10-15 05:43:41 -07:00
xichengliudui
a20fbf0b5a Fix syntax error
Fixing grammatical errors
2018-10-15 06:52:55 -04:00
WanLinghao
fe3131ba87 clean all unused packages under pkg/util 2018-10-15 09:54:08 +08:00
Davanum Srinivas
3cb0b5fc04
remove last traces of old registry name
Change-Id: Ie1a5feaba20736d491242b4c971423c0a624f383
2018-10-14 20:43:18 -04:00
k8s-ci-robot
02cca1f11a
Merge pull request #69711 from wgliang/cleanup/rename-recognize-region
AWS: unexport unnecessarily exported methods and variables about reco…
2018-10-14 13:30:20 -07:00
k8s-ci-robot
81c10dd8fa
Merge pull request #69758 from bsalamat/fix_node_tree
Fix a bug in node tree when all nodes in a zone are removed
2018-10-14 12:16:37 -07:00
k8s-ci-robot
308c2b3877
Merge pull request #69660 from cheftako/perms
Adding cheftako as approver for gce.
2018-10-14 10:44:09 -07: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
3478e94495
Merge pull request #69664 from stepyu/master
fix typos
2018-10-14 08:13:37 -07:00
k8s-ci-robot
d20912c83f
Merge pull request #69728 from SataQiu/fix-2018101201
fix some typos
2018-10-13 21:47:08 -07:00
k8s-ci-robot
dad536b41f
Merge pull request #69747 from ixdy/bazel-container-rules
Bazel: stop using deprecated docker_ rules and turn on stamping
2018-10-13 18:18:47 -07:00
k8s-ci-robot
e9066b848d
Merge pull request #64993 from liggitt/aggregator-authz
Add auth-delegator permissions for e2e sample server test
2018-10-13 14:26:58 -07:00
k8s-ci-robot
2a2c71a6f8
Merge pull request #69772 from cblecker/api-block-inheritance
Disable OWNERS inheritance on key api change directories
2018-10-13 13:19:28 -07:00
k8s-ci-robot
2129bc9f85
Merge pull request #69742 from apelisse/fix-diff-error
Rename KUBERNETES_EXTERNAL_DIFF to KUBECTL_EXTERNAL_DIFF
2018-10-13 09:54:52 -07:00
Christoph Blecker
617603db18
Disable OWNERS inheritance on key api change directories 2018-10-13 09:44:55 -07:00
k8s-ci-robot
653b027200
Merge pull request #69646 from zhouhaozz/delete-cert
certs: Delete useless code
2018-10-13 08:47:13 -07:00
k8s-ci-robot
1ba56437d9
Merge pull request #69673 from dims/add-labels-when-conformance-directory-changes
Add labels when conformance/ directory changes
2018-10-13 07:37:32 -07:00
Lubomir I. Ivanov
fa9940c71c kubeadm: modify SetKubernetesVersion
Without this patch SetKubernetesVersion does not set
a version in all locations where it's called, because
the passed config to it always has a default version
stable-1.

This always triggers the != "" check and the function
returns without setting a version.

Validate against DefaultKubernetesVersion and "" instead.

This fixes all cases where fetching a version from the internet
is not needed at all - e.g. "kubeadm token create".

Also make SetKubernetesVersion default to version.Get().String()
and add unit tests for the function.
2018-10-13 17:16:22 +03:00
xichengliudui
ef496320cf Remove excess 'in'
Fix some typo

Fix some typo
2018-10-13 09:12:42 -04:00
k8s-ci-robot
a5b489a3a3
Merge pull request #69751 from seans3/tabwriter-fix
kubectl: copy printer tabwriter into kubectl
2018-10-13 03:56:17 -07:00