@@ -148,8 +148,8 @@ Run the container:
148
148
``` bash
149
149
podman run -p 3131:8080 \
150
150
--env K8S_TOKEN=$TOKEN \
151
- --env ENDPOINT =localhost:3131 \
152
- --env INSECURE_ENDPOINT =true \
151
+ --env APPLICATION_URL =localhost:3131 \
152
+ --env DISABLE_TLS =true \
153
153
--env KUBERNETES_SERVICE_HOST=< k8s_controlplane_host> \
154
154
--env KUBERNETES_SERVICE_PORT_HTTPS=< k8s_controlplane_port> \
155
155
--env NAMESPACE=namespace1,namespace2 \
@@ -159,7 +159,7 @@ luckysideburn/kubeinvaders:latest
159
159
Given this example, you can access k-inv at the following address: [ http://localhost:3131 ] ( http://localhost:3131 )
160
160
161
161
- Please pay attention to the command "podman run -p 3131:8080". Forwarding port 8080 is important.
162
- - We suggest using ` INSECURE_ENDPOINT =true` for local development environments.
162
+ - We suggest using ` DISABLE_TLS =true` for local development environments.
163
163
- Follow the instructions above to create the token for ` K8S_TOKEN ` .
164
164
- In the example, we use image tag ` latest ` , use ` latest_debug ` for debugging.
165
165
@@ -179,13 +179,13 @@ These are the permissions your service account must have. You can take an exampl
179
179
resources: [ "* "]
180
180
verbs: [ "get", "watch", "list"]
181
181
182
- ##### ENDPOINT
182
+ ##### APPLICATION_URL
183
183
184
- Host and port of the web console.
184
+ URL of the web console
185
185
186
- ##### INSECURE_ENDPOINT
186
+ ##### DISABLE_TLS
187
187
188
- Select HTTP or HTTPS for the web console.
188
+ Disable HTTPS for the web console
189
189
190
190
##### KUBERNETES_SERVICE_HOST
191
191
@@ -202,8 +202,8 @@ List the namespaces you want to stress or on which you want to see logs (logs ar
202
202
``` bash
203
203
docker run -p 8080:8080 \
204
204
--env K8S_TOKEN=< k8s_service_account_token> \
205
- --env ENDPOINT= localhost:8080 \
206
- --env INSECURE_ENDPOINT =true \
205
+ --env APPLICATION_URL=http:// localhost:8080 \
206
+ --env DISABLE_TLS =true \
207
207
--env KUBERNETES_SERVICE_HOST=< k8s_controlplane_host> \
208
208
--env KUBERNETES_SERVICE_PORT_HTTPS=< k8s_controlplane_port> \
209
209
--env NAMESPACE=< comma_separated_namespaces_to_stress> \
@@ -289,7 +289,7 @@ helm install kubeinvaders --set-string config.target_namespace="namespace1\,name
289
289
``` bash
290
290
helm install kubeinvaders --set-string config.target_namespace=" namespace1\,namespace2" -n kubeinvaders kubeinvaders/kubeinvaders --set ingress.enabled=true --set ingress.hostName=kubeinvaders.local --set deployment.image.tag=latest --set service.type=LoadBalancer --set service.port=80
291
291
292
- kubectl set env deployment/kubeinvaders INSECURE_ENDPOINT =true -n kubeinvaders
292
+ kubectl set env deployment/kubeinvaders DISABLE_TLS =true -n kubeinvaders
293
293
```
294
294
295
295
### SCC for Openshift
0 commit comments