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

Fix outdated README file and add development notes #553

Merged
merged 75 commits into from
Dec 1, 2020

Conversation

AndrienkoAleksandr
Copy link
Contributor

What does this pr do:

Fix outdated info. Add more development info: how to debug che-operator, how to check che-operator compilation, info about CR/CRD and when should be updated Olm bundle, how to add new role/cluster role, how to use chectl to test che-operator and more.

Referenced issue:

eclipse-che/che#18295

Signed-off-by: Oleksandr Andriienko oandriie@redhat.com

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
@openshift-ci-robot
Copy link

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
.vscode/tasks.json Outdated Show resolved Hide resolved
.vscode/tasks.json Outdated Show resolved Hide resolved
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
.ci/README.md Outdated Show resolved Hide resolved
.ci/README.md Outdated Show resolved Hide resolved
.ci/README.md Outdated Show resolved Hide resolved
.ci/README.md Outdated Show resolved Hide resolved
.ci/README.md Outdated Show resolved Hide resolved
olm/README.md Outdated Show resolved Hide resolved
olm/README.md Outdated Show resolved Hide resolved
olm/README.md Outdated Show resolved Hide resolved
olm/README.md Outdated Show resolved Hide resolved
olm/README.md Outdated Show resolved Hide resolved
tolusha and others added 2 commits November 26, 2020 17:12
Co-authored-by: Yana Hontyk <yhontyk@redhat.com>
Co-authored-by: Yana Hontyk <yhontyk@redhat.com>
tolusha and others added 7 commits November 26, 2020 17:12
Co-authored-by: Yana Hontyk <yhontyk@redhat.com>
Co-authored-by: Yana Hontyk <yhontyk@redhat.com>
Co-authored-by: Yana Hontyk <yhontyk@redhat.com>
Co-authored-by: Yana Hontyk <yhontyk@redhat.com>
Co-authored-by: Yana Hontyk <yhontyk@redhat.com>
Co-authored-by: Yana Hontyk <yhontyk@redhat.com>
Co-authored-by: Yana Hontyk <yhontyk@redhat.com>
AndrienkoAleksandr and others added 14 commits November 27, 2020 12:22
Co-authored-by: Yana Hontyk <yhontyk@redhat.com>
Co-authored-by: Yana Hontyk <yhontyk@redhat.com>
Co-authored-by: Yana Hontyk <yhontyk@redhat.com>
Co-authored-by: Yana Hontyk <yhontyk@redhat.com>
Co-authored-by: Yana Hontyk <yhontyk@redhat.com>
Co-authored-by: Yana Hontyk <yhontyk@redhat.com>
Co-authored-by: Yana Hontyk <yhontyk@redhat.com>
Co-authored-by: Yana Hontyk <yhontyk@redhat.com>
Co-authored-by: Yana Hontyk <yhontyk@redhat.com>
Co-authored-by: Yana Hontyk <yhontyk@redhat.com>
Co-authored-by: Yana Hontyk <yhontyk@redhat.com>
Co-authored-by: Yana Hontyk <yhontyk@redhat.com>
Co-authored-by: Yana Hontyk <yhontyk@redhat.com>
Copy link
Contributor

@mmorhun mmorhun left a comment

Choose a reason for hiding this comment

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

Good job!

.ci/README.md Outdated
@@ -0,0 +1,41 @@
### Che-Operator CI
Che Operator currently support two CI launch cases for Pull Request checks:
Copy link
Contributor

Choose a reason for hiding this comment

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

launch cases -> flows

README.md Outdated
Comment on lines 120 to 121
You can also modify Kubernetes objects using the terminal.
You can edit checluster CR object using the command-line editor:
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the difference between these two?

README.md Outdated
If cluster router uses certificate signed by self-signed one, then parent/root CA certificate should be added into corresponding config map of additional trusted certificates (see `serverTrustStoreConfigMapName` option).

#### K8S

By default self-signed certificates for Che will be generated automatically.
If it is needed to use own certificates, create `che-tls` secret (see `k8s.tlsSecretName` option) with `key.crt` and `tls.crt` fields. In case of self-signed certificate `self-signed-certificate` secret should be created with public part of CA certificate under `ca.crt` key in secret data.
If it is needed to use your own certificates, create `che-tls` secret (see `k8s.tlsSecretName` option) with `key.crt` and `tls.crt` fields. In case of self-signed certificate `self-signed-certificate` secret should be created with the public part of CA certificate under `ca.crt` key in secret data.
Copy link
Contributor

Choose a reason for hiding this comment

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

Here we can add a note, that is is possible to use default certificate of Kubernetes cluster by passing empty string as a value of tlsSecretName:

spec:
  k8s:
    tlsSecretName: ''

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: AndrienkoAleksandr, mmorhun
To complete the pull request process, please assign after the PR has been reviewed.
You can assign the PR to them by writing /assign in a comment when ready.

The full list of commands accepted by this bot can be found 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

@mmorhun mmorhun removed their assignment Nov 30, 2020
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
@openshift-ci-robot
Copy link

New changes are detected. LGTM label has been removed.

@tolusha tolusha changed the title Fix outdated README file. Add more useful developement info. Fix outdated README file and add development notes Dec 1, 2020
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
@openshift-merge-robot
Copy link

openshift-merge-robot commented Dec 1, 2020

@AndrienkoAleksandr: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/v4-che-operator-update 2dd4cb8 link /test v4-che-operator-update

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@tolusha tolusha closed this Dec 1, 2020
@tolusha tolusha reopened this Dec 1, 2020
@tolusha tolusha merged commit 8b4a5e0 into master Dec 1, 2020
@tolusha tolusha deleted the fixOutDatedREADMEFile branch December 1, 2020 12:42
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.

7 participants