Skip to content
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

test: cover azure provisioning via cluster class #779

Merged

Conversation

salasberryfin
Copy link
Contributor

@salasberryfin salasberryfin commented Oct 10, 2024

What this PR does / why we need it:

Cover AKS cluster provisioning via cluster topology. I suggest deleting the "standard" provisioning test case as the resulting workload cluster is equivalent and the same validation logic is applied to Turtles import/un-import functionality.

Which issue(s) this PR fixes:
Partially solves #693

Special notes for your reviewer:

We can remove the existing AKS test case and use cluster class only in this PR or do it later in a separate one.

The new template will be formatted and re-used as one of the cluster topology example that will be added to Turtles docs. A documentation issue is tracking progress on this here.

Class definition includes a reference to RKE2 because CAPI's webhooks require a bootstrap object reference which, in this case, won't affect during provisioning as AKS is a managed service. This is a known limitation of CAPI and you can refer to kubernetes-sigs/cluster-api#10943 for detailed information on whether this can be fixed and how.

Checklist:

  • squashed commits into logical changes
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

@salasberryfin salasberryfin added kind/enhancement Categorizes issue or PR as related to a new feature. area/testing Indicates an issue related to test labels Oct 10, 2024
@salasberryfin salasberryfin requested a review from a team as a code owner October 10, 2024 09:56
Signed-off-by: Carlos Salas <carlos.salas@suse.com>
Signed-off-by: Carlos Salas <carlos.salas@suse.com>
Signed-off-by: Carlos Salas <carlos.salas@suse.com>
@salasberryfin
Copy link
Contributor Author

Updated cluster template to reference RKE2 bootstrap object.

@furkatgofurov7 furkatgofurov7 merged commit 4fe5fb4 into rancher:main Oct 17, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing Indicates an issue related to test kind/enhancement Categorizes issue or PR as related to a new feature.
Development

Successfully merging this pull request may close these issues.

4 participants