Commit Graph

77674 Commits (0d77f62c02cbf2e88547cd3d114e948a1fdb3371)

Author SHA1 Message Date
Serguei Bezverkhi cc7700ae31 no admission logic
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2019-04-23 16:27:55 -04:00
Michael Michael dfbbd5e936
Update OWNERS_ALIASES 2019-04-23 15:21:24 -05:00
Matthew Wong 51db6cb093 Use e2e.test instead of test/e2e in example invocations 2019-04-23 15:59:54 -04:00
jennybuckley d10ee7c874 Add integration test for restarting kube-apiserver with a broken webhook 2019-04-23 12:49:28 -07:00
jennybuckley 234fbfa63a Use semantic equality in client ca post start hook 2019-04-23 12:46:58 -07:00
Kubernetes Prow Robot 90fbbee129
Merge pull request #76910 from liggitt/pod-admission
webhook admission tests: connect, proxy, binding, eviction
2019-04-23 12:12:00 -07:00
Yu-Ju Hong 6e12de0744 GCE/Windows: Configure Docker to rotate container logs 2019-04-23 11:53:16 -07:00
Akihito INOH 31046bbf52 Fix golint failures of e2e/framework/util.go - part3
This is a part of a series for fixing golint failures for util.go.
- fixes golint failures from line 2354 to line 3685 at original util.go

This fixes golint failures of the following file:
- test/e2e/framework/util.go
2019-04-24 02:16:06 +09:00
Kubernetes Prow Robot bd12b01387
Merge pull request #76903 from hormes/refactor_watch_cache
add object type to cacheWatcher
2019-04-23 09:43:36 -07:00
Kubernetes Prow Robot baa8b398db
Merge pull request #76567 from liggitt/client-go-install
Update client-go module install instructions
2019-04-23 09:43:20 -07:00
Michael Michael 03a287b7b5
Update OWNERS_ALIASES 2019-04-23 10:58:59 -05:00
Michael Michael 2c2ce5b9f5
Update OWNERS_ALIASES 2019-04-23 10:50:23 -05:00
SataQiu a37adceadf fix golint failures of pkg/volume/portworx 2019-04-23 23:26:41 +08:00
Kubernetes Prow Robot 44f254d55e
Merge pull request #76922 from xichengliudui/small-bug
Fix two minor bugs in kubeadm
2019-04-23 07:53:35 -07:00
Kubernetes Prow Robot 137aa9f1b2
Merge pull request #76815 from fejta/bzl
Add --config=remote and --config=remote-cache modes for bazel
2019-04-23 07:52:39 -07:00
Kubernetes Prow Robot 0f617a3825
Merge pull request #76500 from rojkov/issue-1399
kubeadm: check all available CA certs against pinned certs
2019-04-23 07:52:21 -07:00
Jordan Liggitt a4576ec5a6 Fix binding and eviction admission 2019-04-23 10:31:34 -04:00
Jordan Liggitt 4cfa5c7192 Test webhook admission - proxy subresources 2019-04-23 10:31:34 -04:00
Jordan Liggitt cc72248203 Test webhook admission - pod connect subresources 2019-04-23 10:31:34 -04:00
Rafael Fernández López bc8bafd825
kubeadm: improve resiliency when conflicts arise when updating the kubeadm-config ConfigMap
Add the functionality to support `CreateOrMutateConfigMap` and `MutateConfigMap`.

* `CreateOrMutateConfigMap` will try to create a given ConfigMap object; if this ConfigMap
  already exists, a new version of the resource will be retrieved from the server and a
  mutator callback will be called on it. Then, an `Update` of the mutated object will be
  performed. If there's a conflict during this `Update` operation, retry until no conflict
  happens. On every retry the object is refreshed from the server to the latest version.

* `MutateConfigMap` will try to get the latest version of the ConfigMap from the server,
  call the mutator callback and then try to `Update` the mutated object. If there's a
  conflict during this `Update` operation, retry until no conflict happens. On every retry
  the object is refreshed from the server to the latest version.

Add unit tests for `MutateConfigMap`

* One test checks that in case of no conflicts, the update of the
  given ConfigMap happens without any issues.

* Another test mimics 5 consecutive CONFLICT responses when updating
  the given ConfigMap, whereas the sixth try it will work.
2019-04-23 15:40:37 +02:00
Kubernetes Prow Robot 888b81b638
Merge pull request #76238 from Dieken/30s-ttl-for-coredns
change default 5s ttl to 30s for coredns to be same with kube-dns/dnsmasq
2019-04-23 06:20:09 -07:00
caiweidong 2fe823ba46 fix: use locked func to replace the raw one to avoid concurrent read 2019-04-23 21:00:13 +08:00
Kubernetes Prow Robot e6390ce3ff
Merge pull request #76835 from SataQiu/fix-shellcheck-hack-20190420
Fix shellcheck failures of hack/verify-boilerplate.sh verify-cli-conventions.sh verify-codegen.sh
2019-04-23 03:14:12 -07:00
Kubernetes Prow Robot fd0a140673
Merge pull request #76890 from xichengliudui/fixshellcheckfailures-31
fix shellcheck failures on and verify-test-featuregates.sh
2019-04-23 00:46:26 -07:00
Kubernetes Prow Robot ccf9556ddc
Merge pull request #76848 from Huang-Wei/fix-kubemark-proxy
Fixed a kubemark panic when hollow-node is morphed as proxy
2019-04-23 00:46:09 -07:00
Kubernetes Prow Robot 40f691a416
Merge pull request #76918 from xichengliudui/cleanup-kubeadm-master
kubeadm cleanup: master -> control-plane
2019-04-22 22:44:08 -07:00
SataQiu 2704abf844 fix shellcheck failures of hack/verify-boilerplate.sh verify-cli-conventions.sh verify-codegen.sh 2019-04-23 13:39:00 +08:00
SataQiu 423e8f0292 fix golint failures of pkg/kubelet/dockershim/cm 2019-04-23 12:59:13 +08:00
SataQiu cd8fae5370 fix validation message: apiServerEndpoints -> apiServerEndpoint 2019-04-23 11:47:57 +08:00
Kubernetes Prow Robot 4ec29a1a2b
Merge pull request #76889 from SataQiu/fix-golint-kubelet-util-20190422
Fix golint failures of pkg/kubelet/util
2019-04-22 20:44:25 -07:00
Kubernetes Prow Robot b9606bef8d
Merge pull request #76860 from SataQiu/fix-golint-volume-20190420
Fix golint failures of pkg/volume/local
2019-04-22 20:44:07 -07:00
Mike Danese 8b45296661 webhook: support exec auth plugin
This allows webhook static kubeconfig to use an exec auth plugin to
configure authentication.

https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/#authenticate-apiservers
2019-04-22 19:25:13 -07:00
Kubernetes Prow Robot 33f907a4df
Merge pull request #76912 from tallclair/cloudinfo
Reregister cAdvisor cloud info providers in Kubelet
2019-04-22 17:10:07 -07:00
Tim Allclair c12b053390 Reregister cAdvisor cloud info providers in Kubelet 2019-04-22 15:43:45 -07:00
Kubernetes Prow Robot 588ea5d757
Merge pull request #76871 from cblecker/shellcheck-colour
Fix malformed JUNIT XML with shellcheck failures
2019-04-22 14:38:19 -07:00
Kubernetes Prow Robot a961c13db5
Merge pull request #76640 from george-angel/master
update k8s.gcr.io/k8s-dns-node-cache image version
2019-04-22 14:38:02 -07:00
Kubernetes Prow Robot dc08b6b275
Merge pull request #76625 from gnufied/skip-if-no-default-sc
Skip storage tests that depend on default SC - if no default SC is found
2019-04-22 14:37:45 -07:00
Kubernetes Prow Robot aa11d0edef
Merge pull request #76850 from yujuhong/sd-agent
GCE/Windows: enable stackdriver logging agent
2019-04-22 13:18:03 -07:00
Kubernetes Prow Robot b57387b333
Merge pull request #76767 from SataQiu/fix-shellcheck-20190418
Fix shellcheck failures of hack/verify-openapi-spec.sh
2019-04-22 13:17:46 -07:00
Hemant Kumar 6fee8a7727 Skip pvc protection tests if no default SC is found
Other tests that check for default storageclass also
check for cloudprovider such as gce, aws and openstack
and hence are already skipped in bare metal environments.

But this particular test keeps failing because no such check exists.
2019-04-22 14:51:04 -04:00
Kubernetes Prow Robot 716344fd7d
Merge pull request #76849 from liggitt/crd_webhook_integration_tests
Fix scale and rollback subresources with admission webhooks, add integration tests
2019-04-22 10:44:16 -07:00
Kubernetes Prow Robot dc395391bc
Merge pull request #76834 from SataQiu/fix-hack-shell-2019041905
Fix bug and golint failures of hack/verify-api-groups.sh
2019-04-22 10:44:00 -07:00
Kubernetes Prow Robot 0ca27bfee2
Merge pull request #76139 from SataQiu/fix-golint-kubectl-20190404
Fix golint failures of pkg/kubectl/apps
2019-04-22 10:43:44 -07:00
fansong.cfs 6c6d472039 add object type to cacheWatcher 2019-04-23 00:40:47 +08:00
Kubernetes Prow Robot cb3837f228
Merge pull request #76894 from cwdsuzhou/fix_podPriorityName_duplicated
Fix printing duplicated pod priorityClassName
2019-04-22 09:24:02 -07:00
Kubernetes Prow Robot 3488cd346a
Merge pull request #76804 from SataQiu/fix-apis-golint-20190419
Fix golint failures of pkg/apis/batch
2019-04-22 09:23:46 -07:00
SataQiu 741caa4475 fix bug and golint failures of hack/verify-api-groups.sh 2019-04-22 22:20:04 +08:00
Kubernetes Prow Robot f0a4672e6d
Merge pull request #76656 from feiskyer/az-vmss-fix
Switch to instance-level update APIs for Azure VMSS loadbalancer operations
2019-04-22 07:11:45 -07:00
SataQiu c892beca8b fix shellcheck failures of test/e2e_node/environment/setup_host.sh 2019-04-22 22:08:26 +08:00
caiweidong 653708b836 fix duplicated pod priorityClassName 2019-04-22 21:34:04 +08:00