Skip to content

Conversation

@mgahagan73
Copy link
Collaborator

@mgahagan73 mgahagan73 commented Dec 17, 2025

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

@mgahagan73
Copy link
Collaborator Author

/test e2e-parallel

1 similar comment
@mgahagan73
Copy link
Collaborator Author

/test e2e-parallel

@mgahagan73
Copy link
Collaborator Author

/pj-rehearse ack

Copy link
Member

@bennerv bennerv left a 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.


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)
Copy link
Member

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.

Copy link
Member

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.

Copy link
Collaborator Author

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.

@mgahagan73
Copy link
Collaborator Author

/test e2e-parallel

@mgahagan73
Copy link
Collaborator Author

/test e2e-parallel

1 similar comment
@mgahagan73
Copy link
Collaborator Author

/test e2e-parallel

Copy link
Collaborator

@mvacula02 mvacula02 left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Jan 12, 2026
@mgahagan73 mgahagan73 added the ai-assisted AI/LLM tool was used to help create this MR label Jan 12, 2026
@mgahagan73
Copy link
Collaborator Author

/assign @bennerv

@mgahagan73
Copy link
Collaborator Author

Hi @bennerv Can you review this one?

resourceGroup,
clusterParams,
map[string]interface{}{
"persistTagValue": false,
Copy link
Collaborator

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.

@openshift-ci openshift-ci bot removed the lgtm label Jan 15, 2026
@mgahagan73
Copy link
Collaborator Author

This will pass tests once #3494 merges

@openshift-ci openshift-ci bot removed the lgtm label Jan 22, 2026
@miquelsi
Copy link
Collaborator

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Jan 23, 2026
@openshift-ci
Copy link

openshift-ci bot commented Jan 23, 2026

[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

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 45bd141 and 2 for PR HEAD 983d381 in total

@mvacula02
Copy link
Collaborator

/test integration

@mvacula02
Copy link
Collaborator

/retest

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD e0ccea3 and 1 for PR HEAD 983d381 in total

@mgahagan73
Copy link
Collaborator Author

/retest-required

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 1fcc572 and 0 for PR HEAD 983d381 in total

@openshift-ci-robot
Copy link
Contributor

/hold

Revision 983d381 was retested 3 times: holding

@mgahagan73
Copy link
Collaborator Author

/retest-required

@mgahagan73
Copy link
Collaborator Author

/test e2e-parallel

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 32413ed and 2 for PR HEAD 983d381 in total

@mgahagan73
Copy link
Collaborator Author

/test integration

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD f0295a2 and 1 for PR HEAD 983d381 in total

@mgahagan73
Copy link
Collaborator Author

/test e2e-parallel

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 68803b3 and 0 for PR HEAD 983d381 in total

@openshift-ci-robot
Copy link
Contributor

/hold

Revision 983d381 was retested 3 times: holding

@mgahagan73
Copy link
Collaborator Author

/test e2e-parallel

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD d85f837 and 2 for PR HEAD 983d381 in total

@mgahagan73
Copy link
Collaborator Author

/test e2e-parallel

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 820978a and 1 for PR HEAD 983d381 in total

@openshift-merge-bot openshift-merge-bot bot merged commit b4edc84 into main Jan 28, 2026
23 of 24 checks passed
@openshift-merge-bot openshift-merge-bot bot deleted the ARO-20543-user-provided-pull-secret-new branch January 28, 2026 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-assisted AI/LLM tool was used to help create this MR approved lgtm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants