Skip to content

Commit d70edac

Browse files
committed
Add README
1 parent 991903c commit d70edac

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# stackable-crd-previewer
2+
3+
The purpose of this crate is to preview the effects of code changes on our CRDs.
4+
5+
Use the following command to re-generate the CRDs:
6+
7+
```bash
8+
cargo check -p stackable-crd-previewer
9+
```
10+
11+
This should implicitly happen by `rust-analyzer` or `cargo check`, so shouldn't be needed to invoke
12+
explicitly normally.
13+
14+
With an existing Kubernetes context you can run the following command to check if the CRDs are valid:
15+
16+
```bash
17+
kubectl apply -f generated-crd-previews/ --dry-run=server
18+
```

0 commit comments

Comments
 (0)