Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add integration tests #475

Open
dkoshkin opened this issue Mar 21, 2024 · 0 comments
Open

Add integration tests #475

dkoshkin opened this issue Mar 21, 2024 · 0 comments

Comments

@dkoshkin
Copy link
Contributor

Add integration tests with envtest (or similar) to test meta handler patches.

The goal is to pass is some input that resembles user provided input, possibly a Cluster object with different variables set, and get output of different CAPI objects with the patches applied to them.

Some possible use-cases to test:

  • Creating a global image registry mirror
  • Air-gapped AWS cluster with unmanaged infra
  • FIPS configuration

In order to support this, envtest must run this webhook, the regular CAPI webhook, and any related topology reconcilers.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant