-
Notifications
You must be signed in to change notification settings - Fork 104
Test to confirm HCP cluster can accept and use user provided pull secrets #3637
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 to confirm HCP cluster can accept and use user provided pull secrets #3637
Conversation
…Azure/ARO-HCP into ARO-20543-user-provided-pull-secret-new
|
/test e2e-parallel |
1 similar comment
|
/test e2e-parallel |
|
/pj-rehearse ack |
bennerv
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with Steve's comments about testing functionality that's not local to our team. Testing an operator from operatorhub and testing the HyperShift global pull secret functionality when it doesn't flow through our service (frontend, backend, cs, etc.) seems like duplicated effort in which the HyperShift team (or any other OCP team) may already be performing this test.
I think it would make sense to eventually convert this into something such that we hand the hypershift e2e suite a kubeconfig of the data plane and ensure it passes from their perspective.
That being said, I think a few cleanup / simplification things can be done here and we can have this as a stop-gap and work toward potentially integrating other team's test suites against our data plane (such as hypershift) should they exist to ensure we're compliant.
test/e2e/cluster_pullsecret.go
Outdated
|
|
||
| By("waiting for HCCO to merge the additional pull secret with the global pull secret") | ||
| Eventually(func() error { | ||
| return verifiers.VerifyPullSecretMergedIntoGlobal(testPullSecretHost).Verify(ctx, adminRESTConfig) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it would be good to track status changes between iteration of the verifier.
Is there also any other use case of this verifier outside of this test? Why not inline it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update as i'm reviewing this:
I can see the reuse within the test itself. I'm fine leaving it in verifiers, but most likely no one else will use it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea is any future test that needs to add pull secrets can use the verifier to make things easier.
|
/test e2e-parallel |
|
/test e2e-parallel |
1 similar comment
|
/test e2e-parallel |
mvacula02
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
|
/assign @bennerv |
|
Hi @bennerv Can you review this one? |
test/e2e/cluster_pullsecret.go
Outdated
| resourceGroup, | ||
| clusterParams, | ||
| map[string]interface{}{ | ||
| "persistTagValue": false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stop adding tests with unnecessary tags.
|
This will pass tests once #3494 merges |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mgahagan73, miquelsi, mvacula02 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test integration |
|
/retest |
|
/retest-required |
|
/hold Revision 983d381 was retested 3 times: holding |
|
/retest-required |
|
/test e2e-parallel |
|
/test integration |
|
/test e2e-parallel |
|
/hold Revision 983d381 was retested 3 times: holding |
|
/test e2e-parallel |
|
/test e2e-parallel |
Test to confirm HCP cluster can accept and use user provided pull secrets
ARO-20543
What
create cluster then use kubernetes API to update the global pull secret, verify pull secret was updated. Confirm pull secret is usable by verifying it can download a Red Hat Operator.
replaces: #2502
Why
Test confirms functionality of key milestone deliverable