example of myvars
This commit is contained in:
parent
73677945fe
commit
2ab0692ea8
|
@ -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 |
Loading…
Reference in New Issue