Skip to content

Commit 9b070ca

Browse files
committed
remove embedded CRDs
On-behalf-of: @SAP [email protected]
1 parent 55c1650 commit 9b070ca

File tree

5 files changed

+1
-524
lines changed

5 files changed

+1
-524
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ require (
66
github.com/Masterminds/sprig/v3 v3.3.0
77
github.com/evanphx/json-patch/v5 v5.9.0
88
github.com/go-logr/zapr v1.3.0
9-
github.com/gobuffalo/flect v1.0.3
109
github.com/kcp-dev/apimachinery/v2 v2.0.1-0.20240817110845-a9eb9752bfeb
1110
github.com/kcp-dev/client-go v0.0.0-20240912145314-f5949d81732a
1211
github.com/kcp-dev/code-generator/v2 v2.3.1
@@ -50,6 +49,7 @@ require (
5049
github.com/go-openapi/jsonpointer v0.19.6 // indirect
5150
github.com/go-openapi/jsonreference v0.20.2 // indirect
5251
github.com/go-openapi/swag v0.22.4 // indirect
52+
github.com/gobuffalo/flect v1.0.3 // indirect
5353
github.com/gogo/protobuf v1.3.2 // indirect
5454
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
5555
github.com/golang/protobuf v1.5.4 // indirect

hack/update-codegen-crds.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,3 @@ done
6969
for f in internal/sync/crd/*.yaml; do
7070
beautify "$f"
7171
done
72-
73-
# embed all generated CRDs
74-
EMBED_DIR=sdk/crd
75-
76-
for apidir in $CRD_DIR/*/; do
77-
api="$(basename "$apidir")"
78-
rm -rf -- "$EMBED_DIR/$api"
79-
cp -ar "$CRD_DIR/$api" "$EMBED_DIR"
80-
done

sdk/crd/apiresourceschema.go

Lines changed: 0 additions & 27 deletions
This file was deleted.

sdk/crd/fs.go

Lines changed: 0 additions & 158 deletions
This file was deleted.

0 commit comments

Comments
 (0)