Tim Hockin
597d52ac10
Remove openapi files before regen
2023-01-21 17:46:22 -08:00
Richard Kovacs
17422ff5c1
Use proper tmp directory for update-openapi-spec.sh ( #115106 )
...
* Use proper tmp directory for update-openapi-spec.sh
* Use proper mktmp command in update-openapi-specs.sh
2023-01-18 16:06:33 -08:00
Patrick Ohly
41619ace15
stop using deprecated klog flags
...
Some scripts and tools still relied on the deprecated flags, the ones
which are about to be removed.
This is intentionally not a complete removal of all those flags in the entire
repo. This would lead to much more code churn also in places where commands
still accept the flags because they use klog directly.
2022-09-04 21:02:43 +02:00
Jordan Liggitt
ddd15e1d8c
omit enums from static openapi snapshots used to generate clients
2022-03-31 12:31:47 -04:00
Alex Zielenski
11b3a18cca
Update kube-openapi ( #108895 )
...
* upgrade k8s.io/kube-openapi
* fix open-api v3 blank aggregator output
* use keys as API group
in ./hack/update-openapi-spec.sh
* fix import grouping
* update openapiv3 integration tests
2022-03-24 14:01:01 -07:00
Sergey Kanzhelev
0d79a5f20c
support removal of files by the ./hack/update-openapi-spec.sh
2021-12-16 18:47:56 +00:00
Jordan Liggitt
f30c5738ea
Unversion and normalize openapi v3 fixtures
2021-11-24 10:03:36 -05:00
Jefftree
ae1984a89d
Generate openapi v3 static files
2021-11-16 17:38:54 -08:00
Qiming Teng
e1ec14162f
Fix OpenAPI spec generator script
2020-12-14 10:10:33 +08:00
knight42
00e4234cc9
fix: pass bearer token to curl using -H instead of --oauth2-bearer
...
The flag `--oauth2-bearer` might have no effect in some environment.
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-11-05 01:15:19 +08:00
Shihang Zhang
ff641f6eb2
mv TokenRequest and TokenRequestProjection to GA
2020-10-29 20:47:01 -07:00
knight42
cfc2b330a7
refactor(apiserver): ignore the insecure flags
...
Leave the insecure flags intact but stop serving on insecure port.
2020-10-29 23:20:17 +08:00
Kubernetes Prow Robot
79bb357193
Merge pull request #84654 from liggitt/drop-openapi-version
...
Drop version from static openapi json file
2020-01-08 11:59:39 -08:00
RainbowMango
12d08d52ee
Improve output of update-openapi-spec.sh when printing logs from file.
2019-12-27 09:22:16 +08:00
Jordan Liggitt
18ba6f9482
Remove references to unserved types
2019-12-13 12:21:33 -05:00
Jordan Liggitt
b44d7c8d3c
Drop version from static openapi json file
2019-11-01 13:35:10 -04:00
Mike Danese
b9c7007ca0
enable token review when openapi is generated
2019-07-09 13:45:41 -07:00
SataQiu
142e458a97
fix shellcheck failures of hack/update-openapi-spec.sh
2019-04-16 03:40:56 +08:00
Dr. Stefan Schimanski
2393799e2e
hack/update-openapi-spec.sh: normalize indention of spec through jq
2019-02-11 13:16:36 +01:00
Jordan Liggitt
b64075dbd0
explicitly enable apps/v1beta1, apps/v1beta2, extensions/v1beta1 for print,etcd,storage tests
2019-01-24 21:43:15 -05:00
Kubernetes Prow Robot
31311a6343
Merge pull request #73148 from liggitt/remove-deprecated-swagger-paths
...
remove deprecated openapi paths in favor of /openapi/v2
2019-01-23 22:06:21 -08:00
Jordan Liggitt
52519ecb1c
remove deprecated openapi paths in favor of /openapi/v2
2019-01-21 16:33:41 -05:00
Roy Lenferink
6df3deb4bc
Bash script syntax improvements
2019-01-19 13:58:58 +01:00
Cao Shufeng
7b1ba187f7
remove unused variable in openapi-spec script
2018-06-29 13:45:17 +08:00
Antoine Pelisse
0685a8018e
Print error when APIServer fails to start
2018-06-27 09:59:41 -07:00
Kubernetes Submit Queue
31511f9e24
Merge pull request #63383 from liggitt/lease-reconciler
...
Automatic merge from submit-queue (batch tested with PRs 63315, 63383, 63318, 63439). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md ">here</a>.
Re-enable lease reconciler, fix shutdown race
Fixes #63378
Fixes #57617
* Fixes the openapi script to wait for the apiserver on shutdown (like all the other scripts do)
* Fixes the apiserver shutdown to not hang forever if the kubernetes service reconciler cannot persist to etcd
* Readds https://github.com/kubernetes/kubernetes/pull/58474 to make the default the lease reconciler
```release-note
kube-apiserver: the default `--endpoint-reconciler-type` is now `lease`. The `master-count` endpoint reconciler type is deprecated and will be removed in 1.13.
```
2018-05-04 12:41:09 -07:00
Jordan Liggitt
30f2962ede
Make openapi spec generation wait for the apiserver on shutdown
2018-05-02 22:44:48 -04:00
Matthias Bertschy
9b15af19b2
Update all script to use /usr/bin/env bash in shebang
2018-04-19 13:20:13 +02:00
Tim Hockin
0777ecd030
Fix race in service IP allocation repair loop
2016-12-26 21:59:27 -08:00
mbohlool
6e2eba5399
Update OpenAPI spec generator to enable all APIs
2016-11-11 16:29:49 -08: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
mbohlool
3e67cf8b9b
Add authentication to openapi Spec
2016-10-22 02:43:42 -07:00
mbohlool
35b5174bf1
Generate and verify openapi specs in source tree at api/openapi-spec
2016-09-29 17:03:31 -07:00