Skip to content

Commit

Permalink
feat: impl multiple crd import
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <[email protected]>
  • Loading branch information
Peefy committed Dec 7, 2023
1 parent 6ac8553 commit b5ccdf7
Show file tree
Hide file tree
Showing 14 changed files with 2,067 additions and 15 deletions.
5 changes: 5 additions & 0 deletions examples/import/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
run:
make test

test:
make -C crd
11 changes: 11 additions & 0 deletions examples/import/crd/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
run:
kcl import -m crd crd.yaml
cd models && rm -r ./k8s
rm -rf ./models/dapr_io_v1alpha1_subscription.k
kcl mod init
kcl mod add k8s
kcl run ./models
cd ..

test:
make run
Loading

0 comments on commit b5ccdf7

Please sign in to comment.