Skip to content
Snippets Groups Projects
Commit 0a404acf authored by Varac's avatar Varac
Browse files

Merge branch '1180-broken-installation' into 'main'

Fix documentation about running tests

See merge request !890
parents 477e93a7 1900e074
No related branches found
No related tags found
2 merge requests!961Release v0.8.1 to v0.8 branch,!890Fix documentation about running tests
......@@ -54,11 +54,16 @@ machine**.
To run the test against your cluster, first export the ``CLUSTER_DIR``
environment variable with the location of your cluster config directory (replace
``stackspin.example.org`` with your cluster name):
``stackspin.example.org`` with your cluster name). Then export the
``KUBECONFIG`` variable that lets ``kubectl`` talk to your cluster. Thirdly,
we'll export a variable that contains the password for the Prometheus HTTP
endpoint.
.. code:: bash
export CLUSTER_DIR="../clusters/stackspin.example.org"
export CLUSTER_DIR="${PWD}/../clusters/stackspin.example.org"
export KUBECONFIG=${CLUSTER_DIR}/kube_config_cluster.yml
export BASIC_AUTH_PW=$(kubectl get secret -n stackspin stackspin-prometheus-basic-auth --template '{{ .data.pass }}' | base64 -d)
Run all tests
'''''''''''''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment