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

accept pull-secret when we use hack script to create a clsuter #3486

Merged
merged 1 commit into from
May 10, 2024

Conversation

bitoku
Copy link
Collaborator

@bitoku bitoku commented Mar 28, 2024

Which issue this PR addresses:

This is the same PR as #3360 but it was made from a branch not a fork to pass the E2E.

What this PR does / why we need it:

There is no way to specify pull-secret when we use the hack script to create a cluster.
When testing the installer, if the installer image is hosted in quay.io, hive doesn't changes the domains of other images required during installation to ACR domain and it causes Authentication error if it doesn't have the pull-secret.

This pull-secret enables us to access to those images in quay.io and make the installer test convenient.

Test plan for issue:

I was able to create a cluster with ACR domain installer and quay.io domain installer.

Copy link
Contributor

@kimorris27 kimorris27 left a comment

Choose a reason for hiding this comment

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

Have you tested what happens if you leave the environment variable empty? Does cluster creation still work?

@bitoku
Copy link
Collaborator Author

bitoku commented Mar 29, 2024

yes it does. also USER_PULL_SECRET is set in the secret so we normally don't have to care about it.

@kimorris27
Copy link
Contributor

/azp run ci, e2e

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@bitoku
Copy link
Collaborator Author

bitoku commented Mar 29, 2024

/azp run ci

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@bitoku
Copy link
Collaborator Author

bitoku commented Mar 29, 2024

/azp run e2e

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@tiguelu
Copy link
Contributor

tiguelu commented Apr 2, 2024

/azp run e2e

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@tiguelu
Copy link
Contributor

tiguelu commented Apr 9, 2024

/azp run e2e

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@tiguelu
Copy link
Contributor

tiguelu commented May 7, 2024

/azp run e2e, ci

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@tiguelu
Copy link
Contributor

tiguelu commented May 10, 2024

LGTM, as a follow-up, can you add a comment to our doc to document the use of this new var:
https://github.com/Azure/ARO-RP/blob/master/docs/deploy-development-rp.md#run-the-rp-and-create-a-cluster

@tiguelu tiguelu merged commit f227127 into master May 10, 2024
20 checks passed
@tiguelu tiguelu deleted the pull-secret branch May 10, 2024 08:03
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