Auth Forward with certificates in templates.
This commit is contained in:
parent
bd3b787fd5
commit
9c8e518423
9 changed files with 32 additions and 32 deletions
|
@ -224,8 +224,8 @@ var _templatesConsul_catalogTmpl = []byte(`[backends]
|
||||||
[frontends."frontend-{{ $service.ServiceName }}".auth.forward.tls]
|
[frontends."frontend-{{ $service.ServiceName }}".auth.forward.tls]
|
||||||
ca = "{{ $auth.Forward.TLS.CA }}"
|
ca = "{{ $auth.Forward.TLS.CA }}"
|
||||||
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
||||||
cert = "{{ $auth.Forward.TLS.Cert }}"
|
cert = """{{ $auth.Forward.TLS.Cert }}"""
|
||||||
key = "{{ $auth.Forward.TLS.Key }}"
|
key = """{{ $auth.Forward.TLS.Key }}"""
|
||||||
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
@ -673,8 +673,8 @@ var _templatesDockerTmpl = []byte(`{{$backendServers := .Servers}}
|
||||||
[frontends."frontend-{{ $frontendName }}".auth.forward.tls]
|
[frontends."frontend-{{ $frontendName }}".auth.forward.tls]
|
||||||
ca = "{{ $auth.Forward.TLS.CA }}"
|
ca = "{{ $auth.Forward.TLS.CA }}"
|
||||||
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
||||||
cert = "{{ $auth.Forward.TLS.Cert }}"
|
cert = """{{ $auth.Forward.TLS.Cert }}"""
|
||||||
key = "{{ $auth.Forward.TLS.Key }}"
|
key = """{{ $auth.Forward.TLS.Key }}"""
|
||||||
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
@ -973,8 +973,8 @@ var _templatesEcsTmpl = []byte(`[backends]
|
||||||
[frontends."frontend-{{ $serviceName }}".auth.forward.tls]
|
[frontends."frontend-{{ $serviceName }}".auth.forward.tls]
|
||||||
ca = "{{ $auth.Forward.TLS.CA }}"
|
ca = "{{ $auth.Forward.TLS.CA }}"
|
||||||
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
||||||
cert = "{{ $auth.Forward.TLS.Cert }}"
|
cert = """{{ $auth.Forward.TLS.Cert }}"""
|
||||||
key = "{{ $auth.Forward.TLS.Key }}"
|
key = """{{ $auth.Forward.TLS.Key }}"""
|
||||||
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
@ -1246,8 +1246,8 @@ var _templatesKubernetesTmpl = []byte(`[backends]
|
||||||
trustForwardHeader = {{ $frontend.Auth.Forward.TrustForwardHeader }}
|
trustForwardHeader = {{ $frontend.Auth.Forward.TrustForwardHeader }}
|
||||||
{{if $frontend.Auth.Forward.TLS }}
|
{{if $frontend.Auth.Forward.TLS }}
|
||||||
[frontends."{{ $frontendName }}".auth.forward.tls]
|
[frontends."{{ $frontendName }}".auth.forward.tls]
|
||||||
cert = "{{ $frontend.Auth.Forward.TLS.Cert }}"
|
cert = """{{ $frontend.Auth.Forward.TLS.Cert }}"""
|
||||||
key = "{{ $frontend.Auth.Forward.TLS.Key }}"
|
key = """{{ $frontend.Auth.Forward.TLS.Key }}"""
|
||||||
insecureSkipVerify = {{ $frontend.Auth.Forward.TLS.InsecureSkipVerify }}
|
insecureSkipVerify = {{ $frontend.Auth.Forward.TLS.InsecureSkipVerify }}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
@ -1466,8 +1466,8 @@ var _templatesKvTmpl = []byte(`[backends]
|
||||||
[frontends."{{ $frontendName }}".auth.forward.tls]
|
[frontends."{{ $frontendName }}".auth.forward.tls]
|
||||||
ca = "{{ $auth.Forward.TLS.CA }}"
|
ca = "{{ $auth.Forward.TLS.CA }}"
|
||||||
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
||||||
cert = "{{ $auth.Forward.TLS.Cert }}"
|
cert = """{{ $auth.Forward.TLS.Cert }}"""
|
||||||
key = "{{ $auth.Forward.TLS.Key }}"
|
key = """{{ $auth.Forward.TLS.Key }}"""
|
||||||
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
@ -1808,8 +1808,8 @@ var _templatesMarathonTmpl = []byte(`{{ $apps := .Applications }}
|
||||||
[frontends."{{ $frontendName }}".auth.forward.tls]
|
[frontends."{{ $frontendName }}".auth.forward.tls]
|
||||||
ca = "{{ $auth.Forward.TLS.CA }}"
|
ca = "{{ $auth.Forward.TLS.CA }}"
|
||||||
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
||||||
cert = "{{ $auth.Forward.TLS.Cert }}"
|
cert = """{{ $auth.Forward.TLS.Cert }}"""
|
||||||
key = "{{ $auth.Forward.TLS.Key }}"
|
key = """{{ $auth.Forward.TLS.Key }}"""
|
||||||
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
@ -2094,8 +2094,8 @@ var _templatesMesosTmpl = []byte(`[backends]
|
||||||
[frontends."frontend-{{ $frontendName }}".auth.forward.tls]
|
[frontends."frontend-{{ $frontendName }}".auth.forward.tls]
|
||||||
ca = "{{ $auth.Forward.TLS.CA }}"
|
ca = "{{ $auth.Forward.TLS.CA }}"
|
||||||
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
||||||
cert = "{{ $auth.Forward.TLS.Cert }}"
|
cert = """{{ $auth.Forward.TLS.Cert }}"""
|
||||||
key = "{{ $auth.Forward.TLS.Key }}"
|
key = """{{ $auth.Forward.TLS.Key }}"""
|
||||||
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
@ -2433,8 +2433,8 @@ var _templatesRancherTmpl = []byte(`{{ $backendServers := .Backends }}
|
||||||
[frontends."frontend-{{ $frontendName }}".auth.forward.tls]
|
[frontends."frontend-{{ $frontendName }}".auth.forward.tls]
|
||||||
ca = "{{ $auth.Forward.TLS.CA }}"
|
ca = "{{ $auth.Forward.TLS.CA }}"
|
||||||
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
||||||
cert = "{{ $auth.Forward.TLS.Cert }}"
|
cert = """{{ $auth.Forward.TLS.Cert }}"""
|
||||||
key = "{{ $auth.Forward.TLS.Key }}"
|
key = """{{ $auth.Forward.TLS.Key }}"""
|
||||||
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
@ -89,8 +89,8 @@
|
||||||
[frontends."frontend-{{ $service.ServiceName }}".auth.forward.tls]
|
[frontends."frontend-{{ $service.ServiceName }}".auth.forward.tls]
|
||||||
ca = "{{ $auth.Forward.TLS.CA }}"
|
ca = "{{ $auth.Forward.TLS.CA }}"
|
||||||
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
||||||
cert = "{{ $auth.Forward.TLS.Cert }}"
|
cert = """{{ $auth.Forward.TLS.Cert }}"""
|
||||||
key = "{{ $auth.Forward.TLS.Key }}"
|
key = """{{ $auth.Forward.TLS.Key }}"""
|
||||||
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
@ -89,8 +89,8 @@
|
||||||
[frontends."frontend-{{ $frontendName }}".auth.forward.tls]
|
[frontends."frontend-{{ $frontendName }}".auth.forward.tls]
|
||||||
ca = "{{ $auth.Forward.TLS.CA }}"
|
ca = "{{ $auth.Forward.TLS.CA }}"
|
||||||
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
||||||
cert = "{{ $auth.Forward.TLS.Cert }}"
|
cert = """{{ $auth.Forward.TLS.Cert }}"""
|
||||||
key = "{{ $auth.Forward.TLS.Key }}"
|
key = """{{ $auth.Forward.TLS.Key }}"""
|
||||||
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
@ -88,8 +88,8 @@
|
||||||
[frontends."frontend-{{ $serviceName }}".auth.forward.tls]
|
[frontends."frontend-{{ $serviceName }}".auth.forward.tls]
|
||||||
ca = "{{ $auth.Forward.TLS.CA }}"
|
ca = "{{ $auth.Forward.TLS.CA }}"
|
||||||
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
||||||
cert = "{{ $auth.Forward.TLS.Cert }}"
|
cert = """{{ $auth.Forward.TLS.Cert }}"""
|
||||||
key = "{{ $auth.Forward.TLS.Key }}"
|
key = """{{ $auth.Forward.TLS.Key }}"""
|
||||||
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
@ -81,8 +81,8 @@
|
||||||
trustForwardHeader = {{ $frontend.Auth.Forward.TrustForwardHeader }}
|
trustForwardHeader = {{ $frontend.Auth.Forward.TrustForwardHeader }}
|
||||||
{{if $frontend.Auth.Forward.TLS }}
|
{{if $frontend.Auth.Forward.TLS }}
|
||||||
[frontends."{{ $frontendName }}".auth.forward.tls]
|
[frontends."{{ $frontendName }}".auth.forward.tls]
|
||||||
cert = "{{ $frontend.Auth.Forward.TLS.Cert }}"
|
cert = """{{ $frontend.Auth.Forward.TLS.Cert }}"""
|
||||||
key = "{{ $frontend.Auth.Forward.TLS.Key }}"
|
key = """{{ $frontend.Auth.Forward.TLS.Key }}"""
|
||||||
insecureSkipVerify = {{ $frontend.Auth.Forward.TLS.InsecureSkipVerify }}
|
insecureSkipVerify = {{ $frontend.Auth.Forward.TLS.InsecureSkipVerify }}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
@ -88,8 +88,8 @@
|
||||||
[frontends."{{ $frontendName }}".auth.forward.tls]
|
[frontends."{{ $frontendName }}".auth.forward.tls]
|
||||||
ca = "{{ $auth.Forward.TLS.CA }}"
|
ca = "{{ $auth.Forward.TLS.CA }}"
|
||||||
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
||||||
cert = "{{ $auth.Forward.TLS.Cert }}"
|
cert = """{{ $auth.Forward.TLS.Cert }}"""
|
||||||
key = "{{ $auth.Forward.TLS.Key }}"
|
key = """{{ $auth.Forward.TLS.Key }}"""
|
||||||
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
@ -91,8 +91,8 @@
|
||||||
[frontends."{{ $frontendName }}".auth.forward.tls]
|
[frontends."{{ $frontendName }}".auth.forward.tls]
|
||||||
ca = "{{ $auth.Forward.TLS.CA }}"
|
ca = "{{ $auth.Forward.TLS.CA }}"
|
||||||
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
||||||
cert = "{{ $auth.Forward.TLS.Cert }}"
|
cert = """{{ $auth.Forward.TLS.Cert }}"""
|
||||||
key = "{{ $auth.Forward.TLS.Key }}"
|
key = """{{ $auth.Forward.TLS.Key }}"""
|
||||||
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
@ -91,8 +91,8 @@
|
||||||
[frontends."frontend-{{ $frontendName }}".auth.forward.tls]
|
[frontends."frontend-{{ $frontendName }}".auth.forward.tls]
|
||||||
ca = "{{ $auth.Forward.TLS.CA }}"
|
ca = "{{ $auth.Forward.TLS.CA }}"
|
||||||
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
||||||
cert = "{{ $auth.Forward.TLS.Cert }}"
|
cert = """{{ $auth.Forward.TLS.Cert }}"""
|
||||||
key = "{{ $auth.Forward.TLS.Key }}"
|
key = """{{ $auth.Forward.TLS.Key }}"""
|
||||||
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
@ -89,8 +89,8 @@
|
||||||
[frontends."frontend-{{ $frontendName }}".auth.forward.tls]
|
[frontends."frontend-{{ $frontendName }}".auth.forward.tls]
|
||||||
ca = "{{ $auth.Forward.TLS.CA }}"
|
ca = "{{ $auth.Forward.TLS.CA }}"
|
||||||
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
caOptional = {{ $auth.Forward.TLS.CAOptional }}
|
||||||
cert = "{{ $auth.Forward.TLS.Cert }}"
|
cert = """{{ $auth.Forward.TLS.Cert }}"""
|
||||||
key = "{{ $auth.Forward.TLS.Key }}"
|
key = """{{ $auth.Forward.TLS.Key }}"""
|
||||||
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
Loading…
Reference in a new issue