Commit 7a52e844 authored by Geoff Simmons's avatar Geoff Simmons

viking-test-app chart supoorts rewrite rules.

parent 5cfe63d3
{{ 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 -}}
{{ fail "Viking admin Service must be specified" -}}
{{ end -}}
......@@ -40,4 +40,8 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{- if .Values.rewrites }}
rewrites:
{{ toYaml .Values.rewrites | nindent 4 }}
{{- end }}
{{- end }}
......@@ -51,3 +51,6 @@ vcl: ""
# Authentication (Basic or Proxy) for VarnishConfig.
# Include a field "creds" with a name-value map for credentials.
auth: []
# Rewrite rules for headers and URL paths.
rewrites: []
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