Skip to content

Commit 7d076f2

Browse files
committed
Use oc kuttl instead of kubectl-kuttl
And address typos (wrong test names/namespaces) on the Kuttl docs
1 parent 9f30f03 commit 7d076f2

8 files changed

Lines changed: 16 additions & 16 deletions

File tree

test/kuttl/tests/autoscaling/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ Once the kuttl requirements are satisfied, the actual tests can be executed from
4040

4141
```bash
4242
cd telemetry-operator/
43-
kubectl-kuttl test --test autoscaling --namespace telemetry-kuttl-tls
43+
oc kuttl test --test autoscaling --namespace telemetry-kuttl-autoscaling
4444
```
4545

4646
Same tests can be executed from a different location via:
4747

4848
```bash
49-
kubectl-kuttl test --config <KUTTL_CONFIG> <KUTTL_TESTS_DIR> --test autoscaling --namespace telemetry-kuttl-tls
49+
oc kuttl test --config <KUTTL_CONFIG> <KUTTL_TESTS_DIR> --test autoscaling --namespace telemetry-kuttl-autoscaling
5050
```
5151

5252
> **NOTE**: <KUTTL_CONFIG> is the path where kuttl-test.yaml for the repo is located and <KUTTL_TESTS_DIR> is where the tests are located.

test/kuttl/tests/ceilometer/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ Once the kuttl requirements are satisfied, the actual tests can be executed from
3939

4040
```bash
4141
cd telemetry-operator/
42-
kubectl-kuttl test --test ceilometer --namespace telemetry-kuttl-ceilometer
42+
oc kuttl test --test ceilometer --namespace telemetry-kuttl-ceilometer
4343
```
4444

4545
Same tests can be executed from a different location via:
4646

4747
```bash
48-
kubectl-kuttl test --config <KUTTL_CONFIG> <KUTTL_TESTS_DIR> --test ceilometer --namespace telemetry-kuttl-ceilometer
48+
oc kuttl test --config <KUTTL_CONFIG> <KUTTL_TESTS_DIR> --test ceilometer --namespace telemetry-kuttl-ceilometer
4949
```
5050

5151
> **NOTE**: <KUTTL_CONFIG> is the path where kuttl-test.yaml for the repo is located and <KUTTL_TESTS_DIR> is where the tests are located.

test/kuttl/tests/cloudkitty/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ Once the kuttl requirements are satisfied, the actual tests can be executed from
4747

4848
```bash
4949
cd telemetry-operator/
50-
kubectl-kuttl test --test cloudkitty --namespace telemetry-kuttl-cloudkitty
50+
oc kuttl test --test cloudkitty --namespace telemetry-kuttl-cloudkitty
5151
```
5252

5353
Same tests can be executed from a different location via:
5454

5555
```bash
56-
kubectl-kuttl test --config <KUTTL_CONFIG> <KUTTL_TESTS_DIR> --test cloudkitty --namespace telemetry-kuttl-cloudkitty
56+
oc kuttl test --config <KUTTL_CONFIG> <KUTTL_TESTS_DIR> --test cloudkitty --namespace telemetry-kuttl-cloudkitty
5757
```
5858

5959
> **NOTE**: <KUTTL_CONFIG> is the path where kuttl-test.yaml for the repo is located and <KUTTL_TESTS_DIR> is where the tests are located.

test/kuttl/tests/default/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ Once the kuttl requirements are satisfied, the actual tests can be executed from
4444

4545
```bash
4646
cd telemetry-operator/
47-
kubectl-kuttl test --test ceilometer --namespace telemetry-kuttl-default
47+
oc kuttl test --test default --namespace telemetry-kuttl-default
4848
```
4949

5050
Same tests can be executed from a different location via:
5151

5252
```bash
53-
kubectl-kuttl test --config <KUTTL_CONFIG> <KUTTL_TESTS_DIR> --test ceilometer --namespace telemetry-kuttl-default
53+
oc kuttl test --config <KUTTL_CONFIG> <KUTTL_TESTS_DIR> --test default --namespace telemetry-kuttl-default
5454
```
5555

5656
> **NOTE**: <KUTTL_CONFIG> is the path where kuttl-test.yaml for the repo is located and <KUTTL_TESTS_DIR> is where the tests are located.

test/kuttl/tests/logging/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ Once the kuttl requirements are satisfied, the actual tests can be executed from
3333

3434
```bash
3535
cd telemetry-operator/
36-
kubectl-kuttl test --test logging --namespace telemetry-kuttl-logging
36+
oc kuttl test --test logging --namespace telemetry-kuttl-logging
3737
```
3838

3939
Same tests can be executed from a different location via:
4040

4141
```bash
42-
kubectl-kuttl test --config <KUTTL_CONFIG> <KUTTL_TESTS_DIR> --test logging --namespace telemetry-kuttl-logging
42+
oc kuttl test --config <KUTTL_CONFIG> <KUTTL_TESTS_DIR> --test logging --namespace telemetry-kuttl-logging
4343
```
4444

4545
> **NOTE**: <KUTTL_CONFIG> is the path where kuttl-test.yaml for the repo is located and <KUTTL_TESTS_DIR> is where the tests are located.

test/kuttl/tests/metricstorage/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ Once the kuttl requirements are satisfied, the actual tests can be executed from
4141

4242
```bash
4343
cd telemetry-operator/
44-
kubectl-kuttl test --test metricstorage --namespace telemetry-kuttl-metricstorage
44+
oc kuttl test --test metricstorage --namespace telemetry-kuttl-metricstorage
4545
```
4646

4747
Same tests can be executed from a different location via:
4848

4949
```bash
50-
kubectl-kuttl test --config <KUTTL_CONFIG> <KUTTL_TESTS_DIR> --test metricstorage --namespace telemetry-kuttl-metricstorage
50+
oc kuttl test --config <KUTTL_CONFIG> <KUTTL_TESTS_DIR> --test metricstorage --namespace telemetry-kuttl-metricstorage
5151
```
5252

5353
> **NOTE**: <KUTTL_CONFIG> is the path where kuttl-test.yaml for the repo is located and <KUTTL_TESTS_DIR> is where the tests are located.

test/kuttl/tests/tls/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ Once the kuttl requirements are satisfied, the actual tests can be executed from
4343

4444
```bash
4545
cd telemetry-operator/
46-
kubectl-kuttl test --test tls --namespace telemetry-kuttl-tls
46+
oc kuttl test --test tls --namespace telemetry-kuttl-tls
4747
```
4848

4949
Same tests can be executed from a different location via:
5050

5151
```bash
52-
kubectl-kuttl test --config <KUTTL_CONFIG> <KUTTL_TESTS_DIR> --test tls --namespace telemetry-kuttl-tls
52+
oc kuttl test --config <KUTTL_CONFIG> <KUTTL_TESTS_DIR> --test tls --namespace telemetry-kuttl-tls
5353
```
5454

5555
> **NOTE**: <KUTTL_CONFIG> is the path where kuttl-test.yaml for the repo is located and <KUTTL_TESTS_DIR> is where the tests are located.

test/kuttl/tests/topology/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ Once the kuttl requirements are satisfied, the actual tests can be executed from
4949

5050
```bash
5151
cd telemetry-operator/
52-
kubectl-kuttl test --test topology --namespace telemetry-kuttl-topology
52+
oc kuttl test --test topology --namespace telemetry-kuttl-topology
5353
```
5454

5555
Same tests can be executed from a different location via:
5656

5757
```bash
58-
kubectl-kuttl test --config <KUTTL_CONFIG> <KUTTL_TESTS_DIR> --test topology --namespace telemetry-kuttl-topology
58+
oc kuttl test --config <KUTTL_CONFIG> <KUTTL_TESTS_DIR> --test topology --namespace telemetry-kuttl-topology
5959
```
6060

6161
> **NOTE**: <KUTTL_CONFIG> is the path where kuttl-test.yaml for the repo is located and <KUTTL_TESTS_DIR> is where the tests are located.

0 commit comments

Comments
 (0)