nats-io / nack

NATS Controllers for Kubernetes (NACK)
Apache License 2.0
160 stars 61 forks source link

Provide e2e testing based on kuttl #154

Closed 1995parham closed 10 months ago

1995parham commented 10 months ago

Provide e2e testing using kuttl. Closes #59

1995parham commented 10 months ago
1995parham commented 10 months ago

@wallyqs What do you think about the structure? Right now, it checks stream creation only. If you agree I can create the required Github actions too and then add more cases.

Only issue I need to track down is RBAC. NACK helm chart installs RBAC but they are not removed by helm uninstall so we get error when we run tests multiple times.

wallyqs commented 10 months ago

I think structure looks great, it is easy to follow what is happening in each of the steps.

1995parham commented 10 months ago

I think we can consider this finish for at least checking the stream creation. Here is the workflow result for e2e testing.

https://github.com/1995parham/nack/actions/runs/7170032922/job/19521815874

wallyqs commented 10 months ago

This is awesome, thanks @1995parham!