dynk8s-provisioner/tests/README.md

22 lines
285 B
Markdown

# Integration Tests
## Prerequisites
Create the test resources in Kubernetes:
```sh
kubectl apply -f setup.yaml
```
Generate a kubeconfig for the test service account:
```sh
sh genkubeconfig.sh > kubeconfig
```
## Run the Tests
```sh
KUBECONFIG=${PWD}/kubeconfig cargo test
```