Skip to content

Conversation

0xavi0
Copy link
Contributor

@0xavi0 0xavi0 commented Sep 12, 2024

This adds a new test to check that when applying a gitrepo that targets based on labels it deploys/deletes the bundledeployment depending if the label for targetting is present or not in the downstream cluster

This is related to: #2820
Refers to: #2768

@0xavi0 0xavi0 self-assigned this Sep 12, 2024
@0xavi0 0xavi0 force-pushed the e2e-bundledeployments-finalizers branch 22 times, most recently from f028bb8 to bc2c4ff Compare September 16, 2024 10:34
This adds a new test to check that when applying a gitrepo that targets based on labels it deploys/deletes the bundledeployment
depending if the label for targetting is present or not in the downstream cluster

This is related to: rancher#2820
Refers to: rancher#2768

Signed-off-by: Xavi Garcia <xavi.garcia@suse.com>
@0xavi0 0xavi0 force-pushed the e2e-bundledeployments-finalizers branch from bc2c4ff to 83d366c Compare September 16, 2024 11:34
@0xavi0 0xavi0 marked this pull request as ready for review September 16, 2024 12:38
@0xavi0 0xavi0 requested a review from a team as a code owner September 16, 2024 12:38
Copy link
Contributor

@weyfonk weyfonk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

})

JustBeforeEach(func() {
err := testenv.ApplyTemplate(k.Namespace(env.ClusterRegistrationNamespace), testenv.AssetPath(asset), data)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: this could most likely be made more lightweight by testing direct creation of a bundle, skipping GitRepo.

@0xavi0 0xavi0 merged commit 2ce68bd into rancher:main Sep 16, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants