Commit e83a841f authored by Geoff Simmons's avatar Geoff Simmons

viking-test-app chart supports VarnishConfig req-disposition.

parent 19e8bcac
{{ 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 }}
......@@ -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: []
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