Skip to content

pkg/asset/installconfig/pullsecret: Point to cloud.openshift.com #886

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

Merged

Conversation

wking
Copy link
Member

@wking wking commented Dec 12, 2018

try.openshift.com used to be an HTML redirect to cloud.openshift.com, but now it's a page in its own right talking about what OpenShift 4 is. Folks who are trying to find a pull secret for the installer are already pretty interested, so they shouldn't have to dig too hard to get the JSON they need.

This will also help avoid confusion like we saw for the CoreOS flow, where the pull secret was not immediately obvious to several users due to an undocumented "register for a Tectonic plan" intermediate (#677, #691).

Currently the JavaScript on /clusters/install is stripping the #pull-secret fragment. Hopefully we'll get that sorted out soon and we'll be able to link directly to the section with the pull-secret. CC @kbsingh

The environment file tweak will conflict with #861, but it should be easy to rebase whichever branch lands second. CC @crawford

@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 12, 2018
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 12, 2018
Copy link
Contributor

@crawford crawford 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-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 12, 2018
@wking wking force-pushed the pull-secret-cloud-openshift-com branch from a492cd7 to cdc1998 Compare December 12, 2018 21:16
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Dec 12, 2018
@crawford
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 12, 2018
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

2 similar comments
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

try.openshift.com used to be an HTML redirect to cloud.openshift.com,
but now it's a page in its own right talking about what OpenShift 4
is.  Folks who are trying to find a pull secret for the installer are
already pretty interested, so they shouldn't have to dig too hard to
get the JSON they need.

This will also help avoid confusion like we saw for the CoreOS flow
[1], where the pull secret was not immediately obvious to several
users due to an undocumented "register for a Tectonic plan"
intermediate [2,3].

Currently the JavaScript on /clusters/install is stripping the
'#pull-secret' fragment.  Hopefully that will get sorted out soon and
this link will drop users right into the section with the pull-secret.

[1]: openshift#663 (comment)
[2]: openshift#677
[3]: openshift#691
@wking wking force-pushed the pull-secret-cloud-openshift-com branch from cdc1998 to 7afc506 Compare December 13, 2018 04:41
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Dec 13, 2018
@wking
Copy link
Member Author

wking commented Dec 13, 2018

Rebased around #861 with cdc1998 -> 7afc506. @crawford, want to re-/lgtm in the morning?

@crawford
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 13, 2018
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: crawford, wking

The full list of commands accepted by this bot can be found here.

The pull request process is described here

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-merge-robot openshift-merge-robot merged commit 24e097b into openshift:master Dec 13, 2018
@wking wking deleted the pull-secret-cloud-openshift-com branch December 13, 2018 05:41
@@ -24,7 +24,7 @@ func (a *pullSecret) Generate(asset.Parents) error {
{
Prompt: &survey.Input{
Message: "Pull Secret",
Help: "The container registry pull secret for this cluster, as a single line of JSON (e.g. {\"auths\": {...}}).\n\nYou can get this secret from https://try.openshift.com",
Help: "The container registry pull secret for this cluster, as a single line of JSON (e.g. {\"auths\": {...}}).\n\nYou can get this secret from https://cloud.openshift.com/clusters/install#pull-secret",
Copy link

Choose a reason for hiding this comment

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

The #pull-secret anchor exists on the page, but doesn't really work — it's lost somewhere in auth redirects (cloud.openshift.com goes to developers.redhat.com, which, if logged in immediately redirects back to https://cloud.openshift.com/clusters/install#state=ebc6d391-...&session_state=1de96462-... — anyway the fragment is lost).

Is this important, do you want to get that fixed? (I'm not sure how exactly, but will at least track it on our side...)

Copy link
Member Author

@wking wking Dec 18, 2018

Choose a reason for hiding this comment

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

The #pull-secret anchor exists on the page, but doesn't really work — it's lost somewhere in auth redirects...

I'd pointed that out to @kbsingh, but yeah, if you want to file an issue to track it, that would be great :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants