Commit 4dd40d64 authored by Geoff Simmons's avatar Geoff Simmons

viking-test-app chart supports custom VCL.

parent 725e4bda
{{ if .Values.acls -}}
{{ if or .Values.acls .Values.vcl -}}
{{ if empty .Values.vikingAdmSvc -}}
{{ fail "Viking admin Service must be specified" -}}
{{ end -}}
......@@ -18,4 +18,8 @@ spec:
acl:
{{ toYaml .Values.acls | nindent 4 }}
{{- end }}
{{- if .Values.vcl }}
vcl: |
{{ .Values.vcl | nindent 4 }}
{{- end }}
{{- end }}
......@@ -40,3 +40,6 @@ vikingAdmSvc: ""
# ACL elements for VarnishConfig
acls: []
# If non-empty, include as-is as custom VCL.
vcl: ""
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