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
5d1596c6
Commit
5d1596c6
authored
Aug 27, 2020
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
viking-test-app charts supports self-sharding config.
parent
885d3693
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 @
5d1596c6
{{
if
or .Values.acls .Values.vcl
-
}}
{{
if
coalesce .Values.acls .Values.vcl (hasKey .Values "selfSharding")
-
}}
{{
if empty .Values.vikingAdmSvc -
}}
{{
fail "Viking admin Service must be specified" -
}}
{{
end -
}}
...
...
@@ -22,4 +22,8 @@ spec:
vcl
:
|
{{ .Values.vcl | nindent 4 }}
{{
- end
}}
{{
- if hasKey .Values "selfSharding"
}}
self-sharding
:
{{
toYaml .Values.selfSharding | nindent 4
}}
{{
- end
}}
{{
- end
}}
charts/viking-test-app/values.yaml
View file @
5d1596c6
...
...
@@ -43,3 +43,7 @@ acls: []
# If non-empty, include as-is as custom VCL.
vcl
:
"
"
## Configuration for a sharded cache, specify the empty object for default
## config.
# selfSharding: {}
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