Skip to content

Commit 0e6bbc0

Browse files
dilyevskyclaude
andcommitted
[codegen] add coordination/v1 to openapi-gen inputs
The coordination/v1.Lease type had +k8s:openapi-gen=true but was missing from the openapi-gen input list, causing apiserver startup to fail with "cannot find model definition". Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9fcda94 commit 0e6bbc0

File tree

2 files changed

+269
-0
lines changed

2 files changed

+269
-0
lines changed

api/generated/zz_generated.openapi.go

Lines changed: 267 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codegen/update.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ go run "k8s.io/kube-openapi/cmd/openapi-gen@master" \
123123
--output-pkg "generated" \
124124
--output-file zz_generated.openapi.go \
125125
--report-filename /dev/null \
126+
k8s.io/api/coordination/v1 \
126127
k8s.io/api/core/v1 \
127128
k8s.io/apimachinery/pkg/api/resource \
128129
k8s.io/apimachinery/pkg/apis/meta/v1 \
@@ -132,6 +133,7 @@ go run "k8s.io/kube-openapi/cmd/openapi-gen@master" \
132133
sigs.k8s.io/gateway-api/apis/v1 \
133134
sigs.k8s.io/gateway-api/apis/v1alpha2 \
134135
./api/controllers/v1alpha1 \
136+
./api/coordination/v1 \
135137
./api/core/v1alpha \
136138
./api/core/v1alpha2 \
137139
./api/core/v1alpha3 \

0 commit comments

Comments
 (0)