-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inject registered cluster name into multi-cluster tests (#3071)
* Inject registered cluster name into multi-cluster tests Depending on the context in which multi-cluster end-to-end tests are run, there may not be any registered downstream cluster called `second`. In such cases, such as when testing Fleet in Rancher, the CI workflow computes the name of the registered cluster and exports it as an environment variable, for the tests to use instead of `second`. * Refer explicitly to Fleet API when labeling clusters This prevents ambiguity by specifying the `fleet.cattle.io` domain when labeling clusters in multi-cluster end-to-end tests, with `kubectl` looking for `clusters.cluster.x-k8s.io` by default. * Use non-managed downstream cluster in multi-cluster label tests This makes the multi-cluster end-to-end test suite compatible with setups in which only one, non-managed downstream cluster exists, such as the test-Fleet-in-Rancher CI workflow. * Use`dev-v2.10` as default base for test Fleet charts This updates the default base test charts branch to match the current state of Rancher releases.
- Loading branch information
Showing
5 changed files
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters