example of myvars

This commit is contained in:
Dr Nic Williams 2018-11-27 11:38:26 +10:00
parent 73677945fe
commit 2ab0692ea8
2 changed files with 4 additions and 1 deletions

View File

@ -34,12 +34,15 @@ Deploy with additional environment variables:
```shell
knctl deploy -s knative-env -i index.docker.io/drnic/knative-env \
--env MYVAR1=test1 \
--env MYVAR=test2
--env MYVAR2=test2
```
![myvars](docs/images/knative-env-myvars.png)
To view in browser, either setup Ingress and DNS, or use `kwt` as below. All routes from Knative will now work from local machine:
```shell
sudo -E kwt net start --dns-map-exec='knctl dns-map'
```
By default, your application will be viewable at http://knative-env.default.example.com

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB