Skip to content

Commit

Permalink
Merge pull request #25 from Peefy/feat-support-multiple-crd-import
Browse files Browse the repository at this point in the history
feat: impl multiple crd import
  • Loading branch information
Peefy authored Dec 7, 2023
2 parents 6ac8553 + b5ccdf7 commit 50b9427
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 50b9427

Please sign in to comment.