Allow custom nginx templates
This commit is contained in:
parent
996c769080
commit
b086a686dd
5 changed files with 78 additions and 2 deletions
9
controllers/nginx/examples/custom-template/README.md
Normal file
9
controllers/nginx/examples/custom-template/README.md
Normal 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`
|
||||
Loading…
Add table
Add a link
Reference in a new issue