Skip to content

Commit fceaba1

Browse files
authored
Merge pull request #16 from averevki/readme-commands
Add command examples to readme
2 parents e6ecda1 + d7f00ba commit fceaba1

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

README.md

+16-4
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,23 @@ Secrets
1111
---
1212
Prior to the running of the pipeline, the following resources must be created in the pipeline namespace:
1313
- Opaque Secret named `openshift-pipelines-credentials` containing `KUBE_PASSWORD` and `KUBE_USER` keys
14-
with the credentials to access the testing cluster
14+
with the credentials to access the testing cluster. E.g.
15+
```shell
16+
kubectl create secret generic openshift-pipelines-credentials --from-literal=KUBE_USER="admin" --from-literal=KUBE_PASSWORD="admin" -n ${PIPELINE_NAMESPACE}
17+
```
1518
- Opaque Secret named `rp-credentials` containing `RP_URL` key with the URL of the ReportPortal instance
16-
and `RP_TOKEN` key with the ReportPortal user access token
17-
- ConfigMap named `rp-ca-bundle` containing the certificates trusted by the ReportPortal instance under the `tls-ca-bundle.pem` key
18-
- ConfigMap with testsuite settings under the `settings.local.yaml` key which is letter can be used as a parameter for the pipeline run
19+
and `RP_TOKEN` key with the ReportPortal user access token. E.g.
20+
```shell
21+
kubectl create secret generic rp-credentials --from-literal=RP_URL="https://reportportal-kuadrant-qe.example.io" --from-literal=RP_TOKEN="api-token" -n ${PIPELINE_NAMESPACE}
22+
```
23+
- ConfigMap named `rp-ca-bundle` containing the certificates trusted by the ReportPortal instance under the `tls-ca-bundle.pem` key. E.g.
24+
```shell
25+
kubectl create cm rp-ca-bundle --from-file=tls-ca-bundle.pem=./tls-ca-bundle.pem -n ${PIPELINE_NAMESPACE}
26+
```
27+
- ConfigMap with testsuite settings under the `settings.local.yaml` key which is later can be used as a parameter for the pipeline run. E.g.
28+
```shell
29+
kubectl create cm pipeline-settings-default --from-file=settings.local.yaml=./settings.yaml -n ${PIPELINE_NAMESPACE}
30+
```
1931

2032
Pipeline execution
2133
---

0 commit comments

Comments
 (0)