Commit Graph

4963 Commits (fd708318d7500dad00ff1d30cfb39e4ab87df16f)

Author SHA1 Message Date
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
xichengliudui e394482373 Remove duplicate words 2018-10-15 15:55:49 -04:00
k8s-ci-robot d20912c83f
Merge pull request #69728 from SataQiu/fix-2018101201
fix some typos
2018-10-13 21:47:08 -07:00
Ibrahim AshShohail 2fb3ba71f1
Update usages of http.ResponseWriter.WriteHeader to use http.Error
Signed-off-by: Ibrahim AshShohail <me@ibrasho.com>
2018-10-14 05:58:00 +03: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
Christoph Blecker 617603db18
Disable OWNERS inheritance on key api change directories 2018-10-13 09:44:55 -07:00
xichengliudui ef496320cf Remove excess 'in'
Fix some typo

Fix some typo
2018-10-13 09:12:42 -04:00
k8s-ci-robot 521028ed52
Merge pull request #69704 from yue9944882/chore/sync-psp-api
Sync PSP v1beta1 api definitions with internals
2018-10-12 20:42:18 -07:00
k8s-ci-robot 46f0f2a2c9
Merge pull request #69644 from apelisse/dry-run-beta
dry-run: Promote from Alpha to Beta
2018-10-12 20:42:08 -07:00
k8s-ci-robot b9468c7084
Merge pull request #67412 from tanshanshan/little815
fix test log info
2018-10-12 19:13:14 -07:00
k8s-ci-robot 53e85280f4
Merge pull request #69714 from ericchiang/owners
Remove ericchiang from OWNERS files
2018-10-12 16:01:52 -07:00
k8s-ci-robot 74d0ef2291
Merge pull request #69694 from jessfraz/69647
add default for ProcMountType
2018-10-12 16:01:42 -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
Antoine Pelisse 5dca8e00e6 dry-run: Promote from Alpha to Beta
Also remove the test that used to check that the dry-run flag is
forbidden.
2018-10-12 14:25:49 -07:00
k8s-ci-robot 38a9fc6aa2
Merge pull request #69002 from HotelsDotCom/do-not-verify-x509-with-no-wrapped-auth
Remove excessive warnings with x509 certificate auth
2018-10-12 13:09:52 -07:00
k8s-ci-robot e23a3af013
Merge pull request #67802 from krmayankk/dockershimtests
Implement RunAsGroup Strategy in PSP
2018-10-12 11:19:39 -07:00
Jess Frazelle 5e63ef0adb
fix omitempty on ProcMount
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-10-12 12:08:33 -04:00
SataQiu e1d5b97f3f fix some typos 2018-10-12 22:29:18 +08:00
He Xiaoxi a96a390d92 Refactor scheduler factory test
Use `k8s.io/client-go/kubernetes/fake.Clientset` as the fake k8s client.

Signed-off-by: He Xiaoxi <xxhe@alauda.io>
2018-10-12 14:39:08 +08:00
Eric Chiang 766f5875bf Remove ericchiang from OWNERS files
Kept myself in the OpenID Connect ones for now.
2018-10-11 18:11:15 -07:00
k8s-ci-robot 89c3fd52e8
Merge pull request #68632 from deads2k/server-06-audit
allow audit policy to be loaded from any byte source
2018-10-11 16:58:47 -07:00
zuoxiu.jm e7c1f0500b sync PSP v1beta1 api definitions with internals 2018-10-11 18:12:40 -04:00
Mikhail Mazurskiy f5e9c0473c
Remove unnecessary random re-seeding
Package k8s.io/apimachinery/pkg/util/rand seeds the random based on time
during the package initialization, so no need to re-seed it.
2018-10-11 22:02:01 +11:00
Mikhail Mazurskiy 3a243090a5
Simplify random seed initialization
There is no need to set the time zone as the result does not
depend on it
2018-10-11 21:01:15 +11:00
k8s-ci-robot effd009dab
Merge pull request #69308 from p0lyn0mial/dynamic_informer
dynamic informer factory
2018-10-11 02:24:13 -07:00
Ville Aikas a363b15385 Add support for JSON patch in fake client 2018-10-11 08:13:50 +00: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
Maciej Szulik 66f4242102
Fix error argument 2018-10-10 21:05:02 +02:00
k8s-ci-robot 3a07fa620c
Merge pull request #69232 from dims/add-missing-step-to-in-cluster-client-configuration-example
Add missing step to in-cluster-client-configuration example
2018-10-10 09:45:04 -07:00
Davanum Srinivas 65da81f42e
Fix up test cases
Change-Id: Ib9245f78dbfb88f1f37a26ca64bf80d3f78d7497
2018-10-10 10:24:09 -04:00
Davanum Srinivas 6364af128b
Updating ghodss/yaml and gopkg.in/yaml.v2 to latest version
Change-Id: I1f1a10b68a2d3e796724c6ac26f0ed3260153588
2018-10-10 10:24:09 -04:00
David McCormick bb3124c48a Remove excessive warnings with x509 certificate auth
Suppress common name verify warning log and roll up into returned error

remove glog test dependency
2018-10-10 09:38:38 +01:00
p0lyn0mial 4d479aff37 adds dynamic informer factory 2018-10-10 10:05:05 +02:00
Mike Danese 21fd8f2041 tokenreview: add APIAudiences config to generic API server and augment context 2018-10-09 22:47:10 -07:00
Mayank Kumar bc3e3afc46 api changes for psp runasgroup policy 2018-10-09 17:32:09 -07:00
k8s-ci-robot 830e09cc96
Merge pull request #46517 from goblain/cli-port-forward-listen
port-forward listen on address
2018-10-09 12:38:55 -07:00
k8s-ci-robot f9acfd8e38
Merge pull request #69527 from liggitt/remove-quorum
Remove deprecated --etcd-quorum-read flag
2018-10-08 23:38:02 -07:00
Nikhita Raghunath 28ecd4f92a staging/README: add cloud-provider repo 2018-10-09 10:36:05 +05:30
Jordan Liggitt cff79c5421 Remove deprecated --etcd-quorum-read flag 2018-10-08 21:56:01 -04:00
k8s-ci-robot 552453f6fd
Merge pull request #69537 from logicalhan/index-test
refactor index_test to compress the assertions and make consistent with store_test.go
2018-10-08 16:55:53 -07:00
k8s-ci-robot f883fd2ce6
Merge pull request #69536 from awly/robust-cert-loading
Allow inverted key/cert order in combined PEM file
2018-10-08 15:05:33 -07:00
Andrew Lytvynov 4b6a6a1cd5 Allow inverted key/cert order in combined PEM file
certificate.FileStore only handles (cert, key) combined PEM files. This
PR allows (key, cert), which is what "openssl req -out foo.pem -keyout
foo.pem" generates.
2018-10-08 13:43:30 -07:00
Joe Betz 4263c75211 Update etcd client to 3.3.9 2018-10-08 13:34:34 -07:00
Han Kang de0043b1d3 refactor index_test to compress the basic expected assertions 2018-10-08 11:38:19 -07:00
k8s-ci-robot 8fa5d386a1
Merge pull request #66605 from islinwb/default_RevisionHistoryLimit
Default extensions/v1beta1 Deployment's RevisionHistoryLimit to MaxInt32
2018-10-08 10:41:46 -07:00
Radek Pieczonka 4643c6e95e port-forward listen on address
adds an address flag to kubectl port-forward to allow to bind to a different ip then localhost
2018-10-07 22:18:18 +02:00
k8s-ci-robot c00f19bd15
Merge pull request #68403 from wgliang/master.deprecate-Parallelize
Replace Parallelize with function ParallelizeUntil and formally depre…
2018-10-06 09:40:07 -07:00
k8s-ci-robot 844d686591
Merge pull request #69470 from immutableT/envelope-flake-test-fix
Increase time-out of kms gRPC service concurrency tests.
2018-10-05 18:48:04 -07:00
k8s-ci-robot 0f17e9ade6
Merge pull request #69386 from cblecker/go-1.11
Update to go1.11.1
2018-10-05 17:35:51 -07:00
k8s-ci-robot a4aab0e1e7
Merge pull request #66905 from niuzhenguo/remove-useless-named-return
Remove useless named return value
2018-10-05 15:14:28 -07:00
k8s-ci-robot 13705ac81e
Merge pull request #68310 from cheftako/cpiMove
Moving the cloudprovider interface to staging.
2018-10-05 13:29:01 -07:00
Christoph Blecker 97b2992dc1
Update gofmt for go1.11 2018-10-05 12:59:38 -07:00
Christoph Blecker e2893bbc94
Fix TestGetNameFromCallsite as the test runner line changed.
https://github.com/golang/go/blob/release-branch.go1.10/src/testing/testing.go#L777
https://github.com/golang/go/blob/release-branch.go1.11/src/testing/testing.go#L827
2018-10-05 12:58:56 -07:00
immutableT fd64c3bac6 Increase time-out of kms-service concurrency tests. 2018-10-05 16:22:00 +00:00
k8s-ci-robot 6764bc495e
Merge pull request #69080 from tanshanshan/little926
fix  golint in staging/src/k8s.io/apiserver/pkg/admission/plugin/ include namespace/lifecycle,webhook/mutating,webhook/validating
2018-10-05 04:45:51 -07:00
k8s-ci-robot 5b9eb1c73c
Merge pull request #68484 from jsturtevant/fix-lowercased-imports
Code-gen: Remove lowercasing for project imports
2018-10-05 04:45:33 -07:00
k8s-ci-robot 0ad0a423c0
Merge pull request #68063 from niuzhenguo/useless-string-concatenation
Remove unnecessary concatenation of strings
2018-10-05 04:45:13 -07:00
k8s-ci-robot 0373b8d169
Merge pull request #69430 from DirectXMan12/bug/use-client-auth
Populate ClientCA in delegating auth setup
2018-10-05 03:35:06 -07:00
Guoliang Wang c2622dd9d8 Replace Parallelize with function ParallelizeUntil and formally deprecate the Parallelize 2018-10-05 17:56:56 +08:00
k8s-ci-robot 0928bb4c01
Merge pull request #69359 from roycaihw/install-create-update-options
Add CreateOptions and UpdateOptions to apiserver rest parameter installation
2018-10-04 18:19:49 -07:00
Walter Fender f3f46d5f5a Moving the cloudprovider interface to staging.
Individual implementations are not yet being moved.
Fixed all dependencies which call the interface.
Fixed golint exceptions to reflect the move.
Added project info as per @dims and
https://github.com/kubernetes/kubernetes-template-project.
Added dims to the security contacts.
Fixed minor issues.
Added missing template files.
Copied ControllerClientBuilder interface to cp.
This allows us to break the only dependency on K8s/K8s.
Added TODO to ControllerClientBuilder.
Fixed GoDeps.
Factored in feedback from JustinSB.
2018-10-04 14:41:20 -07:00
k8s-ci-robot 7aed07253d
Merge pull request #69423 from nikhita/staging-instructions-make-it-clear
Make staging repo creation instructions clearer
2018-10-04 13:40:30 -07:00
Solly Ross 65cea86e44 Populate ClientCA in delegating auth setup
kubernetes/kubernetes#67768 accidentally removed population of the the ClientCA
in the delegating auth setup code.  This restores it.
2018-10-04 12:48:18 -04:00
Jordan Liggitt ad46728158 Switch e2e_node to etcd3 2018-10-04 11:41:16 -04:00
Jordan Liggitt 85ae79500f Remove etcd2 storage backend 2018-10-04 11:41:16 -04:00
Nikhita Raghunath 4d47fae312 staging/README: add cluster boostrap 2018-10-04 17:51:42 +05:30
Nikhita Raghunath b0809cf5d7 Make staging repo creation instructions clearer 2018-10-04 16:55:38 +05:30
k8s-ci-robot 6e88271a61
Merge pull request #69399 from mikedanese/consistent
storage: propagate TransformFromStorage errors from List
2018-10-03 22:43:22 -07:00
Mike Danese e7bda4431d storage: propagate TransformFromStorage errors from List
Like we do everywhere else we use TranformFromStorage. The current
behavior is causing all service account tokens to be regenerated,
invalidating old service account tokens and unrecoverably breaking apps
that are using InClusterConfig or exported service account tokens.

If we are going to break stuff, let's just break the Lists so that
misconfiguration of encryption config or checkpoint corruption are
obvious.
2018-10-03 13:40:32 -07:00
k8s-ci-robot 34bf1160b8
Merge pull request #68417 from MikeSpreitzer/sample-apiserver-admission-fixes
Fixed registration of the BanFlunder admission plugin
2018-10-03 13:01:45 -07:00
k8s-ci-robot 2e0e1681a6
Merge pull request #69331 from jsafrane/fix-csidriver-types
Mark optional CSIDriver fields as really optional.
2018-10-03 11:52:30 -07:00
k8s-ci-robot 643cad5187
Merge pull request #69249 from mikedanese/cpenvelope
refactor envelope to use cryptobytes
2018-10-03 04:44:08 -07:00
k8s-ci-robot 49bb464de6
Merge pull request #69212 from warmchang/apimachinery
Fix test name: s/overriden/overridden
2018-10-03 04:43:59 -07:00
k8s-ci-robot 0509eea6b5
Merge pull request #69329 from mrIncompetent/use-signer-interface
use signer interface for certificate creation
2018-10-02 21:46:40 -07:00
Mike Danese 36ab52b428 refactor envelope to use cryptobytes 2018-10-02 18:05:20 -07:00
Haowei Cai e0162b9105 Add Create and Update Options to rest param installation 2018-10-02 17:56:38 -07:00
Yu Liao fc21115c3f Moved staging/src/k8s.io/client-go/tools/bootstrap to staging/src/k8s.io/cluster-bootstrap 2018-10-02 09:46:13 -07:00
Jan Safranek 70b5d5d761 Mark optional fields as really optional. 2018-10-02 17:50:59 +02:00
mrIncompetent ef04b17ad8 use signer interface for certificate creation 2018-10-02 14:54:16 +02:00
k8s-ci-robot 43ce5fbf41
Merge pull request #69125 from caesarxuchao/fix-dynamic-empty-scheme
Populates the fake dynamic client scheme
2018-10-01 20:02:15 -07:00
k8s-ci-robot 577e06e0b8
Merge pull request #69222 from SataQiu/fix-2018092805
fix typo
2018-10-01 04:40:34 -07:00
k8s-ci-robot 2a3c8d580c
Merge pull request #68678 from deads2k/agg-01-availability
tighten maximum retry loop for aggregate api availability
2018-10-01 02:45:31 -07:00
Davanum Srinivas d222c310aa
Add missing step to in-cluster-client-configuration example
If the permissions are not setup correctly the example fails.

Change-Id: I167ef68be66f8b56740236ae475c3b7fdcc0dfb5
2018-09-30 18:04:30 -04:00
k8s-ci-robot c526f09700
Merge pull request #69018 from gorilla001/f3
remove extraneous local variable usage in newETCD3Client
2018-09-30 00:44:24 -07:00
William Zhang c8f97231f8 Fix test name: s/overriden/overridden
Signed-off-by: William Zhang <zhang.wanmin@zte.com.cn>
2018-09-30 08:54:43 +08:00
k8s-ci-robot 6e52a05f44
Merge pull request #63498 from zioproto/patch-1
fix typo
2018-09-29 16:31:52 -07:00
SataQiu 94a653f100 fix typo 2018-09-28 23:41:24 +08:00
k8s-ci-robot 2e357e39c8
Merge pull request #69035 from dmathieu/fake-eviction
Set api version and action name in fake evictions
2018-09-28 01:56:38 -07:00
k8s-ci-robot 6b49423a8e
Merge pull request #68585 from immutableT/blocking-kms-plugin-connect
kube-apiserver should wait/block for kms-plugin to start.
2018-09-27 22:31:28 -07:00
immutablet 07cbf2545f Lazily dial kms-plugin. 2018-09-27 09:12:31 -07:00
k8s-ci-robot b25bf81573
Merge pull request #69044 from enj/enj/i/gv_remove_pointers
Remove pointer receivers from schema structs
2018-09-27 07:18:40 -07:00
k8s-ci-robot 0064c6f542
Merge pull request #68983 from dims/fix-man-pages-to-build-reproducibly
Fix for man pages do not build reproducibly
2018-09-27 04:48:39 -07:00
k8s-ci-robot 8a209b78e2
Merge pull request #68943 from nikhita/new-staging-repo-guidelines
Add guidelines for creating new staging repos
2018-09-27 01:18:56 -07:00
k8s-ci-robot 3fe21e5433
Merge pull request #68922 from BenTheElder/version-staging
move pkg/util/version to staging
2018-09-26 22:59:42 -07:00
k8s-ci-robot 66b956e93b
Merge pull request #68866 from tanshanshan/error_fix_its
fix syntax error:'its'
2018-09-26 20:37:19 -07:00
Chao Xu db20e16b87 Populates the fake dynamic client scheme 2018-09-26 18:32:49 -07:00
k8s-ci-robot 3611c5c498
Merge pull request #68850 from mikedanese/oidc
oidc: respect the legacy goog issuer
2018-09-26 18:11:14 -07:00
tanshanshan 3de8767dc6 fix some golint in staging/src/k8s.io/apiserver/pkg/admission/plugin/ 2018-09-27 08:49:06 +08:00
k8s-ci-robot 23baf579c8
Merge pull request #68748 from p0lyn0mial/dynamic_lister_informer
adds dynamic lister
2018-09-26 15:53:28 -07:00