Allow custom nginx templates

This commit is contained in:
Manuel de Brito Fontes 2016-04-30 12:34:33 -03:00
parent 996c769080
commit b086a686dd
5 changed files with 78 additions and 2 deletions

View file

@ -0,0 +1,9 @@
This example shows how is possible to use a custom template
First create a configmap with a template inside running:
```
kubectl create configmap nginx-template --from-file=nginx.tmpl=../../nginx.tmpl
```
Next create the rc `kubectl create -f custom-template.yaml`