Skip to content

Use ClusterClass in e2e for GKE provisioning#2177

Draft
furkatgofurov7 wants to merge 2 commits intorancher:mainfrom
furkatgofurov7:gcp-gke-clusterclass-e2e
Draft

Use ClusterClass in e2e for GKE provisioning#2177
furkatgofurov7 wants to merge 2 commits intorancher:mainfrom
furkatgofurov7:gcp-gke-clusterclass-e2e

Conversation

@furkatgofurov7
Copy link
Contributor

@furkatgofurov7 furkatgofurov7 commented Mar 3, 2026

What this PR does / why we need it:
A new example clusterclass was added, in line with the existing templates, and the cluster manifest in the test data directory was modified to use this new clusterclass.

GKE automatically upgrades the control plane during provisioning, causing
the Available condition to have a non-empty message about the upgrade in
progress. This is unavoidable GKE behavior and doesn't impact functionality
(the cluster successfully imports into Rancher).
Add SkipClusterAvailableWait flag to CreateUsingGitOpsSpecInput to allow
tests to skip the VerifyClusterAvailable check. Set this flag to true for
the GKE test case since the cluster is functional despite the upgrade state.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #2084

Special notes for your reviewer:

Checklist:

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

@furkatgofurov7 furkatgofurov7 force-pushed the gcp-gke-clusterclass-e2e branch from ea5a990 to fd682ea Compare March 3, 2026 22:48
@furkatgofurov7 furkatgofurov7 added kind/enhancement Categorizes issue or PR as related to a new feature. area/clusterclass area/capg labels Mar 3, 2026
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
@furkatgofurov7 furkatgofurov7 force-pushed the gcp-gke-clusterclass-e2e branch from fd682ea to 27e872f Compare March 4, 2026 03:51
Signed-off-by: Furkat Gofurov <furkat.gofurov@suse.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/capg area/clusterclass kind/enhancement Categorizes issue or PR as related to a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use ClusterClass for GKE provisioning

1 participant