Commit Graph

71047 Commits (00dd32b1672b4c589ba2b53fe551e3889aeec1aa)

Author SHA1 Message Date
k8s-ci-robot 00dd32b167
Merge pull request #69573 from bjhaid/master
Opt out of chowning and chmoding from kubectl cp.
2018-10-18 14:43:49 -07:00
k8s-ci-robot e9d1514b95
Merge pull request #68994 from charrywanganthony/pr_template
Add guidance for testing in the PR template
2018-10-18 12:47:07 -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
bjhaid 44bed94f0e Opt out of chowning and chmoding from kubectl cp.
`kubectl cp` relies on tar to extract the copied file/directory in the
container, tar by default attempts to chown/chmod the extracted file
after extraction if the user is the "superuser"(root)

```
--same-owner
try extracting files with the same ownership as exists in the archive
(default for superuser)
-p, --preserve-permissions, --same-permissions
extract information about file permissions (default for superuser)
```

This fails in environment where the container runs as root but is not
granted the OWNER or CHOWN capability.

Before this patch below was the behavior of `kubectl cp`

```
kubectl cp README.md foo-67b6fcbd4c-qjlt6:/tmp
tar: README.md: Cannot change ownership to uid 1000, gid 1000: Operation
not permitted
tar: Exiting with failure status due to previous errors
command terminated with exit code 2
kubectl exec -it foo-67b6fcbd4c-qjlt6 -- ls -l /tmp/README.md
-rw------- 1 1000 1000 3179 Oct  7 22:00 /tmp/README.md
```

After this patch

```
kubectl cp -x a foo-67b6fcbd4c-qjlt6:/
kubectl exec -it foo-67b6fcbd4c-qjlt6 -- ls -l /tmp/README.md
-rw-r--r-- 1 root root 3179 Oct  7 22:00 /tmp/README.md
```
2018-10-18 14:16:06 +00:00
k8s-ci-robot d425258532
Merge pull request #69788 from ravisantoshgudimetla/taint-based-eviction
Add test cases for taintbasedevictions
2018-10-18 06:34:31 -07:00
k8s-ci-robot b5c25728ec
Merge pull request #69718 from andyzhangx/azurefile-premium
support Azure premium file for azure file plugin
2018-10-18 05:18:50 -07:00
k8s-ci-robot 0ab29b4852
Merge pull request #69944 from jingxu97/defertest
Make sure kubelet is restarted after it is stopped in the test
2018-10-18 00:10:54 -07:00
chao wang a6a5c91a06 Add guidance for testing in the PR template 2018-10-18 14:29:18 +08:00
k8s-ci-robot 1ba06b0444
Merge pull request #69939 from ixdy/clean-crossbuild-protoc-3.0.2
Clean cross-build image and update to protoc 3.0.2
2018-10-17 22:25:59 -07:00
k8s-ci-robot 060ecb8837
Merge pull request #69936 from seans3/describe-fix
kubectl: remove internalclientset dependency
2018-10-17 22:25:49 -07:00
k8s-ci-robot 7a53a075e4
Merge pull request #69824 from Huang-Wei/enable-TaintBasedEvictions
promote TaintBasedEvictions featuregate to beta
2018-10-17 21:04:04 -07:00
k8s-ci-robot aad6437aa9
Merge pull request #64061 from wgliang/master.remove-unused-code-pkg-controller
remove unused code of (pkg/controller)
2018-10-17 19:54:05 -07:00
k8s-ci-robot 6f4b768c94
Merge pull request #65350 from liggitt/simplify-taint-manager-key
Simplify taint manager workqueue keys
2018-10-17 18:39:03 -07:00
k8s-ci-robot feb6475a30
Merge pull request #68952 from grayluck/node-cidr-size
Skip node cidr mask size check for cloud allocation
2018-10-17 16:19:49 -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
Jing Xu 9de354034b Make sure kubelet is restarted in the storage test
In some storage tests, kubelet is stopped first and the test check node
NotReady state. However, if it fails to have this state, kubelet could
not be restarted because the defer function is placed after the stop
kubelet command. This PR fixes this issue.
2018-10-17 14:19:04 -07:00
k8s-ci-robot bc79dcfd05
Merge pull request #69933 from wangzhen127/fix
Put node lease lister behind feature gate
2018-10-17 13:42:12 -07:00
k8s-ci-robot 5f750c593f
Merge pull request #69837 from guineveresaenger/pr-labels
Adds label prompt and explanation to pull request template
2018-10-17 13:42:02 -07:00
Jeff Grafton 2812b55263 Clean cross-build image and update to protoc 3.0.2 2018-10-17 11:57:46 -07:00
k8s-ci-robot 30a06af453
Merge pull request #69671 from mooncak/fix_kubelet
Delete duplicated words in logs
2018-10-17 11:57:12 -07:00
k8s-ci-robot 897b3a9fa7
Merge pull request #69437 from ravisantoshgudimetla/promote-resource-limits-priority-function
Promote resource limits priority function to beta
2018-10-17 11:57:02 -07:00
k8s-ci-robot 1669277bb3
Merge pull request #68350 from wgliang/fixbug/recursive-call-cloudprovider
fix bug, infinite recursive call of GetLoadBalancerName()
2018-10-17 11:56:51 -07:00
k8s-ci-robot e85cb406eb
Merge pull request #65567 from ceshihao/pod_status_after_eviction
Pod status should contain ContainerStatuses if deadline exceeded
2018-10-17 11:56:41 -07:00
k8s-ci-robot 7c17beb639
Merge pull request #65477 from pusher/fix-client-ca-hook
Minimize writes to the client CA ConfigMap during API server start up
2018-10-17 11:56:30 -07:00
yankaiz e3121c1f81 Skip node cidr mask size check for cloud allocation.
Unittest added for node_ipan_controller.go.
2018-10-17 11:29:49 -07:00
Sean Sullivan b7f8369da2 kubectl: move translated data into kubectl 2018-10-17 10:34:21 -07:00
Sean Sullivan a76b6ee56a kubectl: remove internalclientset dependency 2018-10-17 10:23:55 -07:00
Zhen Wang 7bb61c566d Put node lease lister behind feature gate 2018-10-17 09:41:30 -07:00
k8s-ci-robot 688550b2d3
Merge pull request #69838 from mikedanese/testonly
make tokentest available to tests only
2018-10-17 08:42:02 -07:00
Jordan Liggitt 9503c64f27 Simplify taint manager workqueue keys 2018-10-17 10:47:14 -04: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
k8s-ci-robot 7de4c007f7
Merge pull request #69858 from losipiuk/jobs-rbac
Grant permissions for batch/job to cluster-autoscaler
2018-10-17 01:22:14 -07:00
k8s-ci-robot ec87d22dea
Merge pull request #66057 from xujieasd/cleanLeacyBindAddr-test
add UT code for cleanLegacyBindAddr
2018-10-17 01:22:05 -07:00
k8s-ci-robot 399cade806
Merge pull request #69914 from mikedanese/trev8
add some helpers to Audiences to find intersecting audiences
2018-10-17 00:04:37 -07:00
k8s-ci-robot a3e6c3c0a0
Merge pull request #69900 from php-coder/update_owners_files
Remove myself from OWNERS files
2018-10-17 00:04:27 -07:00
k8s-ci-robot ce7e7e3c34
Merge pull request #68656 from smarterclayton/correct_cordon_errors
Consistently print errors to stderr and add newlines to cordon
2018-10-16 22:10:44 -07:00
k8s-ci-robot 2c738b9861
Merge pull request #63618 from tallclair/addon-resizer
Fix addon-resizer version - 1.8.1
2018-10-16 20:39:44 -07:00
andyzhangx bc2c79a43a add azure premium file support
update bazel and fix goftm

use defaultStorageAccountKind

fix test failure

update godep license file

fix staging godeps issue

update staging godeps

fix comments, use one API call for file creation
2018-10-17 03:27:29 +00:00
xujieasd 4eab9406fa add UT code for cleanLegacyBindAddr
gofmt modify

change api to v1
2018-10-17 11:04:26 +08:00
Mike Danese 01ce5bb8a4 add some helpers to Audiences to find intersecting audiences 2018-10-16 20:01:58 -07:00
k8s-ci-robot c585d13e36
Merge pull request #69854 from andyzhangx/azurefile-permission
change default azure file mount permission to 0777
2018-10-16 19:26:25 -07:00
k8s-ci-robot a630801eec
Merge pull request #69832 from ixdy/no-qemu-in-cross-build
Move hyperkube symlink creation to base image and re-enable building of conformance image
2018-10-16 19:26:16 -07:00
k8s-ci-robot bba6e2583e
Merge pull request #69739 from mortent/UnflakeCmdRsTest
Remove flaky test by avoiding reuse of name for replicaset
2018-10-16 19:26:05 -07:00
k8s-ci-robot 31438712d6
Merge pull request #69269 from miguelbernadi/fix-golint-issues-68026
Fix undocumented golint errors
2018-10-16 19:25:56 -07:00
k8s-ci-robot 1e4ad048fa
Merge pull request #67763 from rosti/join-discovery-split
kubeadm: Split discovery from JoinConfiguration
2018-10-16 19:25:47 -07:00
k8s-ci-robot ee4346651c
Merge pull request #69800 from xichengliudui/fix181015
Fixing grammatical errors
2018-10-16 17:53:20 -07:00
k8s-ci-robot 46ad1ed00b
Merge pull request #69757 from Huang-Wei/e2e-unbound-var
fix issue that e2e script exits due to unbound variables
2018-10-16 17:53:11 -07: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 7277d46945
Merge pull request #69199 from dstrebel/patch-1
Cleaned Up Sig-Azure
2018-10-16 17:52:53 -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