Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

Conversation

@johnmcollier
Copy link
Contributor

@johnmcollier johnmcollier commented Aug 28, 2019

Adds a small note on what users need to do if they're installing Che with the Che operator.

Signed-off-by: John Collier <John.J.Collier@ibm.com>
Signed-off-by: John Collier <John.J.Collier@ibm.com>
- You do not need to set up the PV for local Kube, such as Minikube, Minishift, Docker Desktop, and others.
- Set up the ClusterRole.
- **Important:** If you are running on OKD or OpenShift, install Che first and then set up the ClusterRole.
- **Important:** If you are installing Che with with the `deploy_che.sh` script for OpenShift, do this step *after* installing Che
Copy link
Contributor

Choose a reason for hiding this comment

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

  • Typo: Remove the double "with" in line 31.
  • Add a period at the end of the last sentence.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed, thanks!

Signed-off-by: John Collier <John.J.Collier@ibm.com>
4. Run the `kubectl apply -f setup/install_che/codewind-clusterrole.yaml` command to create a cluster role with the required permission.
5. Next, run `kubectl apply -f setup/install_che/codewind-rolebinding.yaml` command.
3. Run the `kubectl apply -f setup/install_che/codewind-clusterrole.yaml` command to create a cluster role with the required permission.
4. Next, run `kubectl apply -f setup/install_che/codewind-rolebinding.yaml` command.
Copy link
Contributor

Choose a reason for hiding this comment

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

  • I'd add "the" before you list the command itself so that way it reads, "the kubectl apply -f setup/install_che/codewind-rolebinding.yaml command."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, fixed!

3. Run the `kubectl apply -f setup/install_che/codewind-clusterrole.yaml` command to create a cluster role with the required permission.
4. Next, run `kubectl apply -f setup/install_che/codewind-rolebinding.yaml` command.

## Installing Che with the Operator
Copy link
Contributor

Choose a reason for hiding this comment

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

  • Don't need to capitalize "Operator."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

Signed-off-by: John Collier <John.J.Collier@ibm.com>

## Installing Che with the Operator

For instructions on installing Che with the Che operator, please consult https://operatorhub.io/operator/eclipse-che
Copy link
Contributor

Choose a reason for hiding this comment

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

  • Instead of "please consult" say "see".
  • Also, add the title instead of the URL.
  • Add a period at the end of the sentence.

So it looks like this:
see [Eclipse Che](https://operatorhub.io/operator/eclipse-che).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed!


For instructions on installing Che with the Che operator, please consult https://operatorhub.io/operator/eclipse-che

**Note:** You must do the following prior to creating your `CheCluster` custom resource
Copy link
Contributor

Choose a reason for hiding this comment

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

  • I'd say, "Complete the following steps before you create your CheCluster custom resource."
  • Don't forget the period at the end of the sentence. :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed!


2. Ensure the following fields in your `CheCluster` yaml file are set:
- `spec.server.cheWorkspaceClusterRole` to `eclipse-codewind` (the Codewind ClusterRole applied in the previous step)
- `spec.storage.preCreateSubPaths` to `true`
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 we could clarify this step a little more by fleshing it out.

  • "Ensure that the following fields in your CheCluster .yaml file are set to these values:"
  • "The spec.server.cheWorkspaceClusterRole field is set to eclipse-codewind when you previously applied the Codewind ClusterRole."
  • "The spec.storage.preCreateSubPaths field is set to true."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed


### Installing Che with deployment scripts

If the Che operator was not used to install Eclipse Che, follow these steps instead, otherwise skip this step:
Copy link
Contributor

Choose a reason for hiding this comment

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

This line should be two sentences:
"...instead. Otherwise, skip..."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.


### Step 1: Setting up the Che Helm chart

If the Che operator was not used to install Eclipse Che, follow these steps instead, otherwise skip this step:
Copy link
Contributor

Choose a reason for hiding this comment

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

This line should be two sentences:
"...instead. Otherwise, skip..."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

Signed-off-by: John Collier <John.J.Collier@ibm.com>
# Table of Contents
1. [Prerequisites](#prerequisites)
2. [Installing Che with the operator](#installing-che-with-the-operator)
2. [Setting up OKD and OpenShift](#setting-up-okd-and-openshift)
Copy link
Contributor

Choose a reason for hiding this comment

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

I just noticed that this Table of Contents needs to be re-numbered. There are two "2's" with the new section added.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, fixed!

1. Create the `eclipse-codewind` cluster role: `kubectl apply -f https://raw.githubusercontent.com/eclipse/codewind-che-plugin/master/setup/install_che/codewind-clusterrole.yaml`

2. Ensure the following fields in your `CheCluster` `.yaml` file are set:
- The spec.server.cheWorkspaceClusterRole field is set to eclipse-codewind, which was created when you previously applied the Codewind ClusterRole.
Copy link
Contributor

Choose a reason for hiding this comment

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

We're missing the tick marks around spec.server.cheWorkspaceClusterRole and eclipse-codewind.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, fixed!

Signed-off-by: John Collier <John.J.Collier@ibm.com>
Signed-off-by: John Collier <John.J.Collier@ibm.com>
@johnmcollier johnmcollier merged commit 4ffb1dc into eclipse-archived:master Aug 28, 2019
jcockbain pushed a commit to jcockbain/codewind-docs that referenced this pull request May 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants