From 61a1145ed52513d024f73a394ea7cf4c3757d2ab Mon Sep 17 00:00:00 2001 From: Marcin Owsiany Date: Wed, 11 Sep 2024 18:27:35 +0200 Subject: [PATCH] Remove mention of unsupported flag Signed-off-by: Marcin Owsiany --- docs/testing/test-environments.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/testing/test-environments.md b/docs/testing/test-environments.md index 47db3ad3..f4057be2 100644 --- a/docs/testing/test-environments.md +++ b/docs/testing/test-environments.md @@ -8,10 +8,10 @@ A default environment for the tests can be defined in `kuttl-test.yaml` allowing If no configuration is provided, the tests will run against your default cluster context using whatever Kubernetes cluster is configured in your kubeconfig. -You can also provide an alternative kubeconfig file by either setting `$KUBECONFIG` or the `--kubeconfig` flag: +You can also provide an alternative kubeconfig file by setting the `$KUBECONFIG` environment variable: ```bash -kubectl kuttl test --kubeconfig=mycluster.yaml +KUBECONFIG=mycluster.yaml kubectl kuttl test ``` ## Kubernetes-in-docker