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
e83a841f
Commit
e83a841f
authored
Aug 27, 2020
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
viking-test-app chart supports VarnishConfig req-disposition.
parent
19e8bcac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
varnishconfig.yaml
charts/viking-test-app/templates/varnishconfig.yaml
+5
-1
values.yaml
charts/viking-test-app/values.yaml
+4
-0
No files found.
charts/viking-test-app/templates/varnishconfig.yaml
View file @
e83a841f
{{
if coalesce .Values.acls .Values.vcl (hasKey .Values "selfSharding") .Values.auth .Values.rewrites -
}}
{{
if coalesce .Values.acls .Values.vcl (hasKey .Values "selfSharding") .Values.auth .Values.rewrites
.Values.reqDisposition
-
}}
{{
if empty .Values.vikingAdmSvc -
}}
{{
fail "Viking admin Service must be specified" -
}}
{{
end -
}}
...
...
@@ -44,4 +44,8 @@ spec:
rewrites
:
{{
toYaml .Values.rewrites | nindent 4
}}
{{
- end
}}
{{
- if .Values.reqDisposition
}}
req-disposition
:
{{
toYaml .Values.reqDisposition | nindent 4
}}
{{
- end
}}
{{
- end
}}
charts/viking-test-app/values.yaml
View file @
e83a841f
...
...
@@ -54,3 +54,7 @@ auth: []
# Rewrite rules for headers and URL paths.
rewrites
:
[]
# Request disposition -- rules for handling incoming requests
# (overriding vcl_recv in builtin-in VCL).
reqDisposition
:
[]
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