Commit 5d1596c6 authored by Geoff Simmons's avatar Geoff Simmons

viking-test-app charts supports self-sharding config.

parent 885d3693
{{ 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 }}
......@@ -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: {}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment