You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[mkcert] (optional if you want to create new certificates).
126
127
-[kind] (option1, to run the cluster).
127
-
-[k3s] (option2, to run the cluster)
128
128
- ssh (to expose our webhook to the internet).
129
129
130
130
### (Optional) Certificates
@@ -146,19 +146,19 @@ Go integration tests require this env vars:
146
146
-`TEST_WEBHOOK_URL`: The url where the apiserver should make the webhook requests.
147
147
-`TEST_LISTEN_PORT`: The port where our webhook will be listening the requests.
148
148
149
-
There are 2 ways of bootstrapping the integration tests, one using kind and another using [k3s].
149
+
Kind is what is used to bootstrap the integration tests.
150
150
151
151
To run the integration tests do:
152
152
153
153
```bash
154
154
make integration-test
155
155
```
156
156
157
-
This it will bootstrap a cluster with [kind] by default and a [k3s] cluster if `K3S=true` env var is set. A ssh tunnel in a random address, and finally use the precreated certificates (see previous step), after this will execute the tests, and do it's best effort to tear down the clusters (on k3s could be problems, so have a check on k3s processes).
157
+
This it will bootstrap a cluster with [kind] by default. A ssh tunnel in a random address, and finally use the precreated certificates (see previous step), after this will execute the tests, and do it's best effort to tear down the clusters.
158
158
159
159
### Developing integration tests
160
160
161
-
To develop integration test is handy to run a k3s cluster and a serveo tunnel, then check out [/tests/integration/helper/config] and use this development settings on the integration tests.
161
+
To develop integration test is handy to run a [k3s] cluster and a Ngrok tunnel, then check out [/tests/integration/helper/config] and use this development settings on the integration tests.
0 commit comments