Commit Graph

16 Commits

Author SHA1 Message Date
Tim Hockin
e9bd9262dc
Fix list_type_missing in apiextensions-apiserver 2023-11-27 12:06:21 -08:00
Tim Hockin
dd80194d96
Re-run codegen with new kube-openapi 2023-11-27 12:06:20 -08:00
Tim Hockin
44060fb1f3
Fix "list_type_missing" API violations in meta/v1
This assumes that any such field is atomic, except:
  * OwnerReferences: because it has a `+patchStrategy=merge`, but it
    probably needs a `+listMapKey=...` ?
  * Finalizers: because it hs a `+patchStrategy=merge`, but is a
    primitive type (string).
  * []byte fields, which should not be failing this anyway (fixed
    subsequently).

An alternative approach could be just to turn off the API warnings for
these fields, but it felt more correct to declare the semantics.
2023-11-27 12:05:52 -08:00
Alexander Zielenski
4721ec7519 include apiextensions types in apiextensions generated openapi
k8s_tag_files_matching looks for a slash after its argument, so the current value doesnt match anything

also update codegen

this is required for apiextensions-apiserver tests. After fixing apiextensions server tests to use type-aware SSA (instead of erroneously using untyped SSA) there were errors since none of the apiextensions types were actually used in the openapi given to tests.
2023-05-01 13:18:44 -07:00
Jordan Liggitt
018475269b
Update generated files 2023-02-27 14:16:02 -05:00
Daniel Smith
331525670b Remove ClusterName 2022-05-05 20:12:50 +00:00
Daniel Smith
a3d0dbbf60 change field name 2022-03-23 15:26:37 +00:00
Joe Betz
293e07a836 Add Apply functions to client-gen 2021-03-06 20:49:06 -05:00
Jordan Liggitt
d879965808 Clean up list items listType 2020-03-31 23:08:08 -04:00
Antoine Pelisse
cf06ad1e47 Regenerate all 2019-08-27 14:52:36 -07:00
Kubernetes Prow Robot
3dbedefb80
Merge pull request #80773 from jennybuckley/fix-rawextension
Fix raw extension openapi definition
2019-08-22 17:33:20 -07:00
jennybuckley
ef30bd602f Update generated 2019-08-01 15:49:54 -07:00
jennybuckley
1475b59c83 Update generated 2019-07-31 16:06:42 -07:00
Dr. Stefan Schimanski
13b4dc1bc4 openapi: add list_type_missing violations after bump
Due to https://github.com/kubernetes/kube-openapi/pull/158.
2019-07-14 10:33:52 +02:00
Dr. Stefan Schimanski
0124d58c0d apiextensions: update OpenAPI spec with v1beta1 meta types 2019-07-12 20:52:21 +02:00
Dr. Stefan Schimanski
e920d9bc14 Makefile.generated_files: build code-generator+sample-apiserver OpenAPI schemas 2019-07-12 20:52:21 +02:00