deads2k
2923d09091
remove rbac super user
2016-12-05 13:49:54 -05:00
Dr. Stefan Schimanski
5b1d45bc15
Stratify certificate loading and self-sign cert generation
...
This removes all dependencies on Config during cert generation, only operating
on ServerRunOptions. This way we get rid of the repeated call of Config.Complete
and cleanly stratify the GenericApiServer bootstrapping.
2016-12-05 14:58:15 +01:00
Kubernetes Submit Queue
3a5fd6b6c1
Merge pull request #36064 from gmarek/inflight
...
Automatic merge from submit-queue
Split inflight requests into read-only and mutating groups
cc @smarterclayton @lavalamp @caesarxuchao
```release-note
API server have two separate limits for read-only and mutating inflight requests.
```
2016-12-05 00:53:32 -08:00
Clayton Coleman
3454a8d52c
refactor: update bazel, codec, and gofmt
2016-12-03 19:10:53 -05:00
Clayton Coleman
5df8cc39c9
refactor: generated
2016-12-03 19:10:46 -05:00
deads2k
fc46c31bc2
simplify the authorization attribute getter
2016-12-02 16:19:12 -05:00
Kubernetes Submit Queue
35808b39aa
Merge pull request #36472 from xilabao/cert-key-coexist
...
Automatic merge from submit-queue
fix apiserver start failed if lost one of cert and key
2016-12-01 07:52:15 -08:00
gmarek
4762acbd1e
Split inflight requests into read-only and mutating groups
2016-12-01 09:34:00 +01:00
xilabao
7016057ff7
fix apiserver start failed if lost one of cert and key, add a error message
2016-11-30 17:25:52 +08:00
deads2k
ab9a842f3c
add loopback auth defaulting to generic apiserver
2016-11-29 11:02:35 -05:00
deads2k
ca2b5f136e
split authorization from main options struct
2016-11-29 10:59:43 -05:00
deads2k
7c0e48f544
split out authentication options
2016-11-29 10:59:43 -05:00
deads2k
56b7a8b02b
remove some options from mega-struct
2016-11-29 10:59:43 -05:00
deads2k
18074d7606
split insecure serving options
2016-11-29 10:59:42 -05:00
deads2k
a08f3ba521
split secure serving options
2016-11-29 10:59:42 -05:00
Chao Xu
d0a725a522
master, genericapiserver, registry
2016-11-23 15:53:09 -08:00
gmarek
c97633b1f5
Add a flag allowing contention profiling of the API server
2016-11-14 17:38:26 +01:00
Kubernetes Submit Queue
4dbc532c9a
Merge pull request #33568 from justinsb/fix_33563
...
Automatic merge from submit-queue
AWS: Support default value for ExternalHost
2016-11-08 05:07:13 -08:00
deads2k
d82f98c9b3
remove non-generic options from genericapiserver.Config
2016-11-03 11:48:33 -04:00
deads2k
4c12c3b130
abstract out discovery IP determination
2016-11-03 11:45:51 -04:00
Kubernetes Submit Queue
909e19b88e
Merge pull request #35900 from deads2k/api-34-healthz
...
Automatic merge from submit-queue
promote /healthz and /metrics to genericapiserver
Promotes `/healthz` to genericapiserver with methods to add healthz checks before running.
Promotes `/metrics` to genericapiserver gated by config flag.
@lavalamp adds the healthz checks linked to `postStartHooks` as promised.
2016-11-03 08:32:16 -07:00
Dr. Stefan Schimanski
0b7b613bba
Add BindNetwork to GenericApiServer.Config
2016-11-02 08:27:37 +01:00
deads2k
912e6741b9
promote /metrics to genericapiserver
2016-11-01 14:42:01 -04:00
deads2k
f56cbfa8d5
add healthz to genericapiserver
2016-11-01 14:39:33 -04:00
Dr. Stefan Schimanski
5dc31d35a0
Add --tls-sni-cert-key to the apiserver for SNI support
2016-11-01 09:50:56 +01:00
Justin Santa Barbara
2c7771e90c
AWS: Support default for ExternalHost on AWS
...
Fix #33563
2016-10-31 12:01:12 -04:00
Dr. Stefan Schimanski
d6dc0e561f
Apiserver cleanups
...
- remove unused genericapiserver Config.MasterServiceNamespace
- move init code into ApplyOptions
- initialize genericapiserver Config.MaxRequestsInFlight
- move ServiceReadWritePort to master
2016-10-31 10:55:19 +01:00
mbohlool
75451b49f4
- Add GroupVersion as tags to OpenAPI spec
...
- Remove all end-point specs as they are not useful in light of GroupVersion tags in main spec
2016-10-25 14:27:48 -07:00
Dr. Stefan Schimanski
cca05af615
Move swagger+openapi setup to routes and decouple from run
2016-10-22 13:42:22 +02:00
mbohlool
3e67cf8b9b
Add authentication to openapi Spec
2016-10-22 02:43:42 -07:00
deads2k
9578523180
move proxytransport config out of the genericapiserver
2016-10-20 11:23:53 -04:00
Dr. Stefan Schimanski
08d4fa5c4f
Turn APIGroupPrefix into a constant
2016-10-19 11:52:15 +02:00
Kubernetes Submit Queue
67732d7383
Merge pull request #34967 from deads2k/api-27-fix-version
...
Automatic merge from submit-queue
make version an explicit choice so zero config and customized work
Makes `/version` key off of setting the version. This allows composers to add a version that is correct.
2016-10-18 05:07:02 -07:00
deads2k
5a9b16d40a
make version an explicit choice so zero config and customized work
2016-10-17 16:10:07 -04:00
deads2k
cd59d9b99f
remove write only field
2016-10-17 15:33:43 -04:00
deads2k
7412be4465
default serializer
2016-10-14 11:27:32 -04:00
deads2k
fbd5032da2
split genericapiserver configuration apart so that you can run without flag options
2016-10-13 13:09:53 -04:00
Kubernetes Submit Queue
dd529f3c4a
Merge pull request #34551 from deads2k/api-23-remove-legacy-prefixy
...
Automatic merge from submit-queue
Change legacy API resource registration
Updates the legacy API resource registration to emphasize its different-ness and to simplify supporting objects. The option has to remain in the genericapiserverconfig for multiple prefixes to enable cases where composers/extenders had composed additional groupless APIs. See OpenShift as an example.
However this is now transparent to "normal" composers.
@ncdc since sttts is out.
2016-10-13 08:23:35 -07:00
mbohlool
5ba06cf2bc
Make Kubernetes OpenAPI operation IDs unique
2016-10-12 14:54:12 -07:00
deads2k
6406aacb59
remove legacy API prefix from generic
2016-10-12 15:32:27 -04:00
deads2k
406c0a36ae
cleanup cruft from API server structs
2016-10-11 10:56:05 -04:00
Dr. Stefan Schimanski
68cee1d9ac
Make genericapiserver handler chain customizable
2016-10-05 10:32:36 -04:00
Dr. Stefan Schimanski
7cfd0150e4
Turn RequestInfoResolver into a RequestInfoFactory
2016-10-05 10:32:36 -04:00
deads2k
8eddc7158b
stop plumbing options to start
2016-10-03 13:35:00 -04:00
deads2k
4c8959df59
pass loopback config to posthooks
2016-09-30 10:34:33 -04:00
Kubernetes Submit Queue
50e12ff5a2
Merge pull request #33575 from sttts/sttts-defaulted-config
...
Automatic merge from submit-queue
Decouple genericapiserver setDefault from New()
2016-09-29 01:52:46 -07:00
Dr. Stefan Schimanski
6f781625db
Make genericapiserver Config.Complete type safe
2016-09-29 08:09:39 +02:00
Davanum Srinivas
1b67df90fa
Support Access-Control-Expose-Headers in CORS Handler
...
Our typical HTTP Response has a "Date" Header, if we don't add an
additional http header "Access-Control-Expose-Headers: Date" then
the browser based clients cannot use the Date HTTP Header.
Fixes #33231
2016-09-28 19:32:25 -04:00
Dr. Stefan Schimanski
8391a19b57
Decouple defaulting from genericapiserver and master
2016-09-28 23:16:09 +02:00
Dr. Stefan Schimanski
6c75e922f3
Decouple NewRequestInfoResolver from GenericApiServer instance
2016-09-28 18:51:34 +02:00