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

support run e2e in rosa env #211

Merged
merged 1 commit into from
Nov 1, 2024
Merged

Conversation

skeeey
Copy link
Contributor

@skeeey skeeey commented Oct 31, 2024

No description provided.

@skeeey
Copy link
Contributor Author

skeeey commented Oct 31, 2024

/assign @clyang82

Expect(err).ShouldNot(HaveOccurred())
// In a ROSA cluster the sa in default namespace is protected, the sa cannot be deleted directly
// see https://access.redhat.com/solutions/7055600
// err = agentTestOpts.kubeClientSet.CoreV1().ServiceAccounts("default").Delete(ctx, name, metav1.DeleteOptions{})
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we create the default serviceaccount? I think it should be there by default.
@morvencao comments?

Copy link
Contributor

Choose a reason for hiding this comment

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

we assume default sa is there, it's not created by us.
the code change looks good to me, we can remove this.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks @morvencao
@skeeey Let us remove it directly

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed

Copy link
Contributor

@clyang82 clyang82 left a comment

Choose a reason for hiding this comment

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

LGTM

@clyang82 clyang82 merged commit fbf6408 into openshift-online:main Nov 1, 2024
3 of 4 checks passed
@skeeey skeeey deleted the rose-e2e branch November 1, 2024 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants