-
Notifications
You must be signed in to change notification settings - Fork 876
feat: implemented status resource routing for remote cluster mode #4579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
403f7e5
4ae5990
7ecef7b
0e847d4
7908fa4
91d558e
98439ec
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I’d move most of the assertions into BATS. I’d keep the GitHub workflow responsible for CI-only orchestration: matrix, checkout, tool install, two Kind clusters, image build/load, deployment, artifact upload. Then call something like: make test-e2e BATS_TESTS_FILE=test/bats/remote-cluster.batsor add a small Cluster creation, image build/load, and log artifact upload can stay in the workflow or Make targets. But the behavioral checks, waits, owner-ref assertions, VAP/webhook enforcement checks, and Provider routing checks belong in BATS so reviewers and contributors can run the same test locally. Not a blocking issue for this pr but we should definetly follow up with this. |
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test template is Rego-only, so VAP generation is not really asserted. External data is not meaningfully exercised either. Can you increase the coverage to test these as well, we want to make sure we are not releasing something that break other features to make adoption or trying out for users as easy as possible to get feedback easily as well.