Skip to content

Commit

Permalink
CiliumNetworkPolicy test
Browse files Browse the repository at this point in the history
this doesn't work because it doesn't use the spec/status model

Signed-off-by: clux <[email protected]>
  • Loading branch information
clux committed Dec 16, 2023
1 parent c41f08b commit 67c30d2
Show file tree
Hide file tree
Showing 3 changed files with 5,252 additions and 0 deletions.
7 changes: 7 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,12 @@ test-istio-destrule:
# NB: this currently fails because of an empty status object with preserve-unknown-fields
cargo test --test runner -- --nocapture

test-cilium-netpol:
kubectl apply --server-side -f tests/ciliumnetpol-crd.yaml
cargo run --bin kopium -- -A ciliumnetworkpolicies.cilium.io > tests/gen.rs
echo "pub type CR = CiliumNetworkPolicy;" >> tests/gen.rs
kubectl apply -f tests/ciliumnetpol.yaml
cargo test --test runner -- --nocapture

release:
cargo release minor --execute
Loading

0 comments on commit 67c30d2

Please sign in to comment.