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
7a52e844
Commit
7a52e844
authored
Aug 27, 2020
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
viking-test-app chart supoorts rewrite rules.
parent
5cfe63d3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
varnishconfig.yaml
charts/viking-test-app/templates/varnishconfig.yaml
+5
-1
values.yaml
charts/viking-test-app/values.yaml
+3
-0
No files found.
charts/viking-test-app/templates/varnishconfig.yaml
View file @
7a52e844
{{
if coalesce .Values.acls .Values.vcl (hasKey .Values "selfSharding") .Values.auth -
}}
{{
if coalesce .Values.acls .Values.vcl (hasKey .Values "selfSharding") .Values.auth
.Values.rewrites
-
}}
{{
if empty .Values.vikingAdmSvc -
}}
{{
if empty .Values.vikingAdmSvc -
}}
{{
fail "Viking admin Service must be specified" -
}}
{{
fail "Viking admin Service must be specified" -
}}
{{
end -
}}
{{
end -
}}
...
@@ -40,4 +40,8 @@ spec:
...
@@ -40,4 +40,8 @@ spec:
{{
- end
}}
{{
- end
}}
{{
- end
}}
{{
- end
}}
{{
- end
}}
{{
- end
}}
{{
- if .Values.rewrites
}}
rewrites
:
{{
toYaml .Values.rewrites | nindent 4
}}
{{
- end
}}
{{
- end
}}
{{
- end
}}
charts/viking-test-app/values.yaml
View file @
7a52e844
...
@@ -51,3 +51,6 @@ vcl: ""
...
@@ -51,3 +51,6 @@ vcl: ""
# Authentication (Basic or Proxy) for VarnishConfig.
# Authentication (Basic or Proxy) for VarnishConfig.
# Include a field "creds" with a name-value map for credentials.
# Include a field "creds" with a name-value map for credentials.
auth
:
[]
auth
:
[]
# Rewrite rules for headers and URL paths.
rewrites
:
[]
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