Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
k8s-ingress
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
uplex-varnish
k8s-ingress
Commits
8c0e453a
Unverified
Commit
8c0e453a
authored
Mar 22, 2021
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Advice on TemplateConfig and helm
parent
52ac05e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
ref-template-cfg.md
docs/ref-template-cfg.md
+17
-0
No files found.
docs/ref-template-cfg.md
View file @
8c0e453a
...
...
@@ -128,6 +128,23 @@ For fields not specified in a ``TemplateConfig``, the corresponding
template is unchanged -- the controller continues to use the template
for VCL generation as currently defined.
### Avoid templating in the wrong tool
Because the VCL template is a go template, when using
``helm``
or
other templating tools, care needs to be taken to avoid templating in
that tool.
[
With helm, there are several options to achieve
this](https://github.com/helm/helm/issues/2798), but then simplest
might be to surround the VCL with
``{{` ... `}}``
:
```
spec:
ingress: |
{{`
vcl 4.1;
#...
`}}
```
### ``spec.ingress``
``spec.ingress``
specifies a template for genaration of VCL to
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment