Skip to content

Commit

Permalink
Merge pull request #65 from kube-rs/enum-start
Browse files Browse the repository at this point in the history
Add simple enum support
  • Loading branch information
clux authored May 2, 2022
2 parents c4561e3 + 55033e4 commit f575ba9
Show file tree
Hide file tree
Showing 5 changed files with 311 additions and 29 deletions.
12 changes: 6 additions & 6 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test-pr:

test-sm:
kubectl apply --force-conflicts --server-side -f tests/servicemon-crd.yaml
cargo run --bin kopium -- -izf tests/servicemon-crd.yaml > tests/gen.rs
cargo run --bin kopium -- -izdf tests/servicemon-crd.yaml > tests/gen.rs
echo "pub type CR = ServiceMonitor;" >> tests/gen.rs
kubectl apply -f tests/servicemon.yaml
cargo test --test runner -- --nocapture
Expand Down Expand Up @@ -68,11 +68,11 @@ test-linkerd-serverauth:
cargo test --test runner -- --nocapture

test-linkerd-server:
kubectl apply --server-side -f tests/server-crd.yaml
cargo run --bin kopium -- -ibz servers.policy.linkerd.io > tests/gen.rs
echo "pub type CR = Server;" >> tests/gen.rs
kubectl apply -f tests/server.yaml
cargo test --test runner -- --nocapture
#kubectl apply --server-side -f tests/server-crd.yaml
#cargo run --bin kopium -- -ibz servers.policy.linkerd.io > tests/gen.rs
#echo "pub type CR = Server;" >> tests/gen.rs
#kubectl apply -f tests/server.yaml
#cargo test --test runner -- --nocapture

test-istio-destrule:
kubectl apply --server-side -f tests/destinationrule-crd.yaml
Expand Down
Loading

0 comments on commit f575ba9

Please sign in to comment.