Add redirect-permanent to kubernetes template

This commit is contained in:
Daniel Tomcej 2018-05-16 02:46:03 -06:00 committed by Traefiker Bot
parent 7a1feb3c51
commit f5b306e7ff
2 changed files with 2 additions and 0 deletions

View file

@ -1089,6 +1089,7 @@ var _templatesKubernetesTmpl = []byte(`[backends]
entryPoint = "{{ $frontend.Redirect.EntryPoint }}" entryPoint = "{{ $frontend.Redirect.EntryPoint }}"
regex = "{{ $frontend.Redirect.Regex }}" regex = "{{ $frontend.Redirect.Regex }}"
replacement = "{{ $frontend.Redirect.Replacement }}" replacement = "{{ $frontend.Redirect.Replacement }}"
permanent = {{ $frontend.Redirect.Permanent }}
{{end}} {{end}}
{{if $frontend.Errors }} {{if $frontend.Errors }}

View file

@ -69,6 +69,7 @@
entryPoint = "{{ $frontend.Redirect.EntryPoint }}" entryPoint = "{{ $frontend.Redirect.EntryPoint }}"
regex = "{{ $frontend.Redirect.Regex }}" regex = "{{ $frontend.Redirect.Regex }}"
replacement = "{{ $frontend.Redirect.Replacement }}" replacement = "{{ $frontend.Redirect.Replacement }}"
permanent = {{ $frontend.Redirect.Permanent }}
{{end}} {{end}}
{{if $frontend.Errors }} {{if $frontend.Errors }}