Commit Graph

71298 Commits (84ba7e8f69e637eeb202e9080b22f93bf330de52)

Author SHA1 Message Date
Andrew Gunnerson b9ab65d689
certificate_manager: Check that template differs from current cert before rotation
With the current behavior, when kubelet starts, a `templateChanged`
event is always fired off because it only checks if `getLastRequest`
matches `getTemplate`. The last request only exists in memory and thus
is initially `nil` and can't ever match the current template during
startup.

This causes kubelet to request the signing of a new CSR every time it's
restarted. This commit changes the behavior so that `templateChanged` is
only fired off if the currently template doesn't match both the current
certificate and the last template.

Fixes #69471

Signed-off-by: Andrew Gunnerson <andrew.gunnerson@us.ibm.com>
2018-10-24 17:14:58 -04:00
Cheng Xing 8ee882a98a Updated Regional PD failover test to use node taints instead of instance group deletion 2018-10-24 13:22:39 -07:00
Patrick Ohly bf08f5c63c e2e: allow unknown providers with a warning
The E2E refactoring tightened the sanity checking of the --provider
parameter such that it only allowed known providers. That seemed to
make sense because it catches typos, but it turned out that various
callers depended on the "accept arbitrary provider value" behavior,
therefore it gets restored.
2018-10-24 21:57:02 +02:00
k8s-ci-robot 4cbeddd7b2
Merge pull request #70094 from mwwolters/prepare-log-file-args
Changed prepare-log-file to take args for setting uid/gid for log files.
2018-10-24 12:32:53 -07:00
Masaki Kimura 6afcaccf7d Move the provisioning test for retain policy back to volume_provisioning.go
Provisioning test for retain policy requires each driver's backend volume
deletion logic. Without it, volume leakage happens. Move this test back
to volume_provisioning.go and test it only for gce, until general
backend volume deletion code for each driver becomes available.

Fixes: #70191
2018-10-24 19:21:28 +00:00
Davanum Srinivas 3e56e3c1c6
Switch from mirror to main download site for zookeeper
Change-Id: I14cd6aeef2f10ac3d270d03e624216eed78368ec
2018-10-24 14:46:45 -04:00
Jake Sanders 5d943acc09 Increment version for metadata-concealment test image 2018-10-24 11:36:25 -07:00
Wei Huang 5259d09c38
add more scheduler benchmark testcases
- add benchmark test for PodAffinity
- add benchmark test for NodeAffinity
- add 1000-nodes test for PodAntiAffinity/PodAffinity/NodeAffinity
2018-10-24 11:06:32 -07:00
k8s-ci-robot 3abb9f0ad7
Merge pull request #70002 from andyzhangx/getdisklun
fix azure disk attachment error on Linux
2018-10-24 10:53:51 -07:00
k8s-ci-robot 553a169d25
Merge pull request #70049 from fabriziopandini/kubeadm-graduate-kubelet-start
kubeadm - graduate kubelet-start phase
2018-10-24 09:44:17 -07:00
k8s-ci-robot c89b239cfa
Merge pull request #69795 from yue9944882/chore/resync-psp-api
Resycn psp v1beta1 api with internal
2018-10-24 09:44:09 -07:00
Anago GCB 0e6c9146ae Update CHANGELOG-1.13.md for v1.13.0-alpha.2. 2018-10-24 14:58:18 +00:00
k8s-ci-robot d5d8421e63
Merge pull request #70174 from yue9944882/chore/switch-token-authn-informer
Switch bootstrap token authenticator informer to external types
2018-10-24 07:26:08 -07:00
k8s-ci-robot 3ed36eac28
Merge pull request #70171 from mysunshine92/remove-kubeClient
remove kubeClient != nil  when using glog.Fatalf
2018-10-24 06:00:09 -07:00
yameiwang de36fc8f4b remove kubeClient != nil when using glog.Fatalf 2018-10-24 21:48:06 +08:00
fabriziopandini 4505aa2108 autogenerated 2018-10-24 12:57:42 +02:00
fabriziopandini a3d90cc824 kubeadm graduate kubelet-start phase 2018-10-24 12:57:31 +02:00
SataQiu 23e67a1b80 fix incorrect return value of kubeadm pre-flight checks 2018-10-24 18:00:31 +08:00
k8s-ci-robot 3b5d2e865e
Merge pull request #68436 from Nordix/issue-67799
Create ipsets with family inet6 in an ipv6-only cluster
2018-10-24 02:16:11 -07:00
zuoxiu.jm 38ddb4413a update token authn constructor 2018-10-24 16:56:38 +08:00
k8s-ci-robot 73c1a92bd9
Merge pull request #69152 from mkumatag/fix_manifest_push
Purge the manifest after the push
2018-10-24 01:06:10 -07:00
zuoxiu.jm e4a8ad49ee sync missing secret type to external api repo 2018-10-24 15:46:57 +08:00
zuoxiu.jm e3b61ea9cf switch informer in token authn 2018-10-24 15:46:55 +08:00
k8s-ci-robot cb4e809fe9
Merge pull request #68082 from aldarionsevero/master
fix typo: result is of that -> result of that
2018-10-23 21:22:23 -07:00
k8s-ci-robot 0d17976413
Merge pull request #70076 from feiskyer/named-port
Fix service targetPort with string for Windows
2018-10-23 19:43:10 -07:00
k8s-ci-robot 3905fb6696
Merge pull request #70135 from marc-sensenich/gh-70126/azure-is-node-unmanaged-fix
Correct regexp check in IsNodeUnmanagedByProvider
2018-10-23 18:07:28 -07:00
k8s-ci-robot c0974d7399
Merge pull request #69516 from feiskyer/win-npipe
Switch windows runtime endpoints to npipe
2018-10-23 16:44:41 -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 fd708318d7
Merge pull request #69822 from tallclair/owners
Add pkg/probe/OWNERS
2018-10-23 15:32:05 -07:00
k8s-ci-robot dad07683b1
Merge pull request #69013 from ibrasho-forks/switch-to-http.Error
Update usages of http.ResponseWriter.WriteHeader to use http.Error
2018-10-23 15:31:55 -07:00
k8s-ci-robot 1fe288ec02
Merge pull request #70138 from liggitt/optional-ca-bundle
Correct optional/omitempty indicator on webhook cabundle
2018-10-23 13:52:38 -07:00
k8s-ci-robot 101d26c613
Merge pull request #59529 from wackxu/addmetricvol
Add metrics for volume scheduling operations
2018-10-23 13:52:29 -07:00
k8s-ci-robot 753dfbe8fd
Merge pull request #69685 from yue9944882/externalize-psp-admission-controller
Externalize PSP admission controller
2018-10-23 12:29:38 -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
Jordan Liggitt fbd5597e99 Add system root unit test 2018-10-23 13:50:03 -04:00
Jordan Liggitt 921c60d30f Generated files 2018-10-23 13:50:03 -04:00
Jordan Liggitt d00906f44e Fix omitempty/optional indicator on CABundle fields 2018-10-23 13:50:03 -04:00
k8s-ci-robot daf17e2aee
Merge pull request #69571 from bclau/tests-linux-commands-fix
tests: Makes tests' commands platform agnostic
2018-10-23 09:33:30 -07:00
Marc Sensenich 0bcbfca9cd Correct regexp check in IsNodeUnmanagedByProvider
The IsNodeUnmanagedByProviderID function in the Azure Cloud Provider should
return the inverse of regexp.Match in the case of checking the ProviderID
2018-10-23 16:26:00 +00:00
yue9944882 e2c61169b1 externalize psp admission controller 2018-10-24 00:22:07 +08:00
k8s-ci-robot 8be25aaade
Merge pull request #70125 from jbartosik/e2e-deflake
Deflake e2e tests of HPA
2018-10-23 08:21:30 -07:00
k8s-ci-robot 83d3f7033b
Merge pull request #69441 from mkimuram/provision
Move minimum set of dynamic provisioning e2e test to testsuites
2018-10-23 07:08:35 -07:00
Jordan Liggitt 1c5d3ab85e Avoid short-circuiting conversion when decoding into opinionated unstructured objects 2018-10-23 09:04:25 -04:00
Jordan Liggitt b51ac8f7d5 Instantiate unstructured objects with versions in custom resource handler 2018-10-23 09:04:25 -04:00
Jordan Liggitt 0e9b06df0f Allow specifying the hub group-version for a handler 2018-10-23 09:00:51 -04:00
Jordan Liggitt 870d121d5e Inline patch#toUnversioned 2018-10-23 09:00:51 -04:00
Jordan Liggitt 3332a0c972 Test custom resource scaling with multiple versions 2018-10-23 09:00:51 -04:00
Dr. Stefan Schimanski 7e0775e5ec apiextensions: add smoke test checking that patches apply to non-storage versions 2018-10-23 09:00:51 -04:00