Skip to content

Conversation

jboxman
Copy link
Contributor

@jboxman jboxman commented Apr 23, 2019

Update usage based on our recent discussion.

@jboxman jboxman added this to the Future Release milestone Apr 23, 2019
@jboxman jboxman self-assigned this Apr 23, 2019
@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Apr 23, 2019
@jboxman
Copy link
Contributor Author

jboxman commented Apr 23, 2019

@openshift/team-documentation PTAL, thanks.

@jboxman jboxman added the peer-review-needed Signifies that the peer review team needs to review this PR label Apr 23, 2019

The `oc` tool is the command line interface of OpenShift 3 and 4.

When referencing as a prerequisite for a procedure module, use the following
construction: Install the OpenShift Command-line Interface (CLI), commonly known
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 need to put a prerequisite of having the CLI installed in front of every single procedure that uses a CLI command? We certainly don't right now. We should determine when to or not to (if not always).

And if we determine that we should always, then I still think that this is overkill: "Install the OpenShift Command-line Interface (CLI), commonly known as oc", as opposed to just "Install the OpenShift CLI (oc)" as the prerequisite. Maybe spelling it out more makes sense in places where we know people are just getting started, but it seems a bit much to use for every procedure.

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree that this seems like overkill if we have to add this into every assembly where the oc command is used. To me it's the same as saying that we require a running OpenShift cluster before running commands.

I think on the sections that predominantly focus on the CLI, such as some of the CLI reference bucket, it makes sense. Throughout most of the other guides it feels like overkill, though.

Copy link
Contributor

Choose a reason for hiding this comment

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

+1
Installting the CLI is part of the installation, not a specific prerequisite to the task in a given topic.

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree that installing the CLI is part of installation, but then only the person installing OpenShift has the CLI installed, not the person completing that specific task. I think it's fair to assume that the cluster is up but not fair to assume that each user has the CLI installed and the correct permissions to perform an action.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think that we should pair this prereq with another prereq that states the permission you need to run the commands in the procedure.

@vikram-redhat vikram-redhat added peer-review-done Signifies that the peer review team has reviewed this PR and removed peer-review-needed Signifies that the peer review team needs to review this PR branch/enterprise-4.1 labels May 27, 2019
@vikram-redhat
Copy link
Contributor

@jboxman - this can be merged or were you thinking of making more changes?

@jboxman
Copy link
Contributor Author

jboxman commented May 27, 2019

@vikram-redhat, I think everyone has been too busy to make any further suggestions. I haven't had time to decide what changes to make based on the feedback already provided.

@vikram-redhat
Copy link
Contributor

@jboxman I don't think we will get more input on this PR. Did you want to either follow up or close?

@jboxman
Copy link
Contributor Author

jboxman commented Nov 6, 2019

Based on #16791 (comment) I'm going to merge this; I'd like to revisit the observation about communicating what the relevant security role a user needs. That's important and using consistent language about that would be helpful.

@jboxman
Copy link
Contributor Author

jboxman commented Nov 6, 2019

@vikram-redhat, how many branches are we committing the contributing guides to? Just master or each 4.x branch? Thanks.

@vikram-redhat
Copy link
Contributor

@jboxman the contribution guides are only in master, so you may need to move this there.

@jboxman jboxman changed the base branch from enterprise-4.1 to master November 7, 2019 21:02
@jboxman jboxman merged commit 8ae141a into openshift:master Nov 7, 2019
@jboxman jboxman deleted the add-oc-cli-usage branch November 7, 2019 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
peer-review-done Signifies that the peer review team has reviewed this PR 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.

7 participants