kube-openapi icon indicating copy to clipboard operation
kube-openapi copied to clipboard

Kubernetes OpenAPI spec generation & serving

Results 28 kube-openapi issues
Sort by recently updated
recently updated
newest added

``` goos: darwin goarch: arm64 pkg: k8s.io/kube-openapi/pkg/spec3 BenchmarkSharedParamsDeserialize/apiv1spec.json-8 98 12138503 ns/op 12245326 B/op 60819 allocs/op BenchmarkSharedParamsDeserialize/apiv1spec.sharedparams.json-8 100 10520641 ns/op 9892803 B/op 68528 allocs/op BenchmarkSharedParamsDeserialize/appsv1spec.json-8 200 5920978 ns/op 5708092 B/op 27386...

cncf-cla: yes
size/XXL
needs-rebase
approved
lifecycle/rotten

Bumps github.com/NYTimes/gziphandler to the latest tag

cncf-cla: yes
size/XS

Adds dependabot to keep Go and GitHub Actions dependencies up to date.

cncf-cla: yes
size/S

This extends current marker syntax to support extending the subschemas of a struct inside `items`, `properties`, or `additionalProperties`. This is useful in cases like declarative validation for native types where...

cncf-cla: yes
size/XL
approved

Adds new marker comments to specify whether the kind is namespace or cluster scoped using e.g.: `+k8s:validation:scope>Namespaced`

cncf-cla: yes
size/L
needs-rebase
do-not-merge/hold
approved
lifecycle/rotten

We use dependabot to keep our dependencies up to date and it seems like it's struggling with dependencies that don't have tags/releases. Would it be possible to start creating tags?...

lifecycle/rotten

https://github.com/kubernetes/kube-openapi/blob/78281498afbbfb6fdabe43b8b6a7898f75892c44/pkg/generators/openapi_test.go#L1618 This shows an example of generated code: https://github.com/kubernetes/kube-openapi/blob/78281498afbbfb6fdabe43b8b6a7898f75892c44/pkg/generators/openapi_test.go#L1655-L1662 However if we use this code to generate CRD it fails validation. The error message is like: ``` CustomResourceDefinition.apiextensions.k8s.io "..." is...

Fixes #395 This makes sure that the default value is part of the enum values, which makes sense. We shouldn't have a default that doesn't validate. There are probably a...

cncf-cla: yes
size/M
needs-rebase
approved
lifecycle/rotten

cncf-cla: yes
size/M
approved
lifecycle/rotten