diff --git a/autogen/gentemplates/gen.go b/autogen/gentemplates/gen.go index 5390fbe2d..d07d4440d 100644 --- a/autogen/gentemplates/gen.go +++ b/autogen/gentemplates/gen.go @@ -224,8 +224,8 @@ var _templatesConsul_catalogTmpl = []byte(`[backends] [frontends."frontend-{{ $service.ServiceName }}".auth.forward.tls] ca = "{{ $auth.Forward.TLS.CA }}" caOptional = {{ $auth.Forward.TLS.CAOptional }} - cert = "{{ $auth.Forward.TLS.Cert }}" - key = "{{ $auth.Forward.TLS.Key }}" + cert = """{{ $auth.Forward.TLS.Cert }}""" + key = """{{ $auth.Forward.TLS.Key }}""" insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }} {{end}} {{end}} @@ -673,8 +673,8 @@ var _templatesDockerTmpl = []byte(`{{$backendServers := .Servers}} [frontends."frontend-{{ $frontendName }}".auth.forward.tls] ca = "{{ $auth.Forward.TLS.CA }}" caOptional = {{ $auth.Forward.TLS.CAOptional }} - cert = "{{ $auth.Forward.TLS.Cert }}" - key = "{{ $auth.Forward.TLS.Key }}" + cert = """{{ $auth.Forward.TLS.Cert }}""" + key = """{{ $auth.Forward.TLS.Key }}""" insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }} {{end}} {{end}} @@ -973,8 +973,8 @@ var _templatesEcsTmpl = []byte(`[backends] [frontends."frontend-{{ $serviceName }}".auth.forward.tls] ca = "{{ $auth.Forward.TLS.CA }}" caOptional = {{ $auth.Forward.TLS.CAOptional }} - cert = "{{ $auth.Forward.TLS.Cert }}" - key = "{{ $auth.Forward.TLS.Key }}" + cert = """{{ $auth.Forward.TLS.Cert }}""" + key = """{{ $auth.Forward.TLS.Key }}""" insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }} {{end}} {{end}} @@ -1246,8 +1246,8 @@ var _templatesKubernetesTmpl = []byte(`[backends] trustForwardHeader = {{ $frontend.Auth.Forward.TrustForwardHeader }} {{if $frontend.Auth.Forward.TLS }} [frontends."{{ $frontendName }}".auth.forward.tls] - cert = "{{ $frontend.Auth.Forward.TLS.Cert }}" - key = "{{ $frontend.Auth.Forward.TLS.Key }}" + cert = """{{ $frontend.Auth.Forward.TLS.Cert }}""" + key = """{{ $frontend.Auth.Forward.TLS.Key }}""" insecureSkipVerify = {{ $frontend.Auth.Forward.TLS.InsecureSkipVerify }} {{end}} {{end}} @@ -1466,8 +1466,8 @@ var _templatesKvTmpl = []byte(`[backends] [frontends."{{ $frontendName }}".auth.forward.tls] ca = "{{ $auth.Forward.TLS.CA }}" caOptional = {{ $auth.Forward.TLS.CAOptional }} - cert = "{{ $auth.Forward.TLS.Cert }}" - key = "{{ $auth.Forward.TLS.Key }}" + cert = """{{ $auth.Forward.TLS.Cert }}""" + key = """{{ $auth.Forward.TLS.Key }}""" insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }} {{end}} {{end}} @@ -1808,8 +1808,8 @@ var _templatesMarathonTmpl = []byte(`{{ $apps := .Applications }} [frontends."{{ $frontendName }}".auth.forward.tls] ca = "{{ $auth.Forward.TLS.CA }}" caOptional = {{ $auth.Forward.TLS.CAOptional }} - cert = "{{ $auth.Forward.TLS.Cert }}" - key = "{{ $auth.Forward.TLS.Key }}" + cert = """{{ $auth.Forward.TLS.Cert }}""" + key = """{{ $auth.Forward.TLS.Key }}""" insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }} {{end}} {{end}} @@ -2094,8 +2094,8 @@ var _templatesMesosTmpl = []byte(`[backends] [frontends."frontend-{{ $frontendName }}".auth.forward.tls] ca = "{{ $auth.Forward.TLS.CA }}" caOptional = {{ $auth.Forward.TLS.CAOptional }} - cert = "{{ $auth.Forward.TLS.Cert }}" - key = "{{ $auth.Forward.TLS.Key }}" + cert = """{{ $auth.Forward.TLS.Cert }}""" + key = """{{ $auth.Forward.TLS.Key }}""" insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }} {{end}} {{end}} @@ -2433,8 +2433,8 @@ var _templatesRancherTmpl = []byte(`{{ $backendServers := .Backends }} [frontends."frontend-{{ $frontendName }}".auth.forward.tls] ca = "{{ $auth.Forward.TLS.CA }}" caOptional = {{ $auth.Forward.TLS.CAOptional }} - cert = "{{ $auth.Forward.TLS.Cert }}" - key = "{{ $auth.Forward.TLS.Key }}" + cert = """{{ $auth.Forward.TLS.Cert }}""" + key = """{{ $auth.Forward.TLS.Key }}""" insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }} {{end}} {{end}} diff --git a/templates/consul_catalog.tmpl b/templates/consul_catalog.tmpl index c7105d55e..a7ee338ae 100644 --- a/templates/consul_catalog.tmpl +++ b/templates/consul_catalog.tmpl @@ -89,8 +89,8 @@ [frontends."frontend-{{ $service.ServiceName }}".auth.forward.tls] ca = "{{ $auth.Forward.TLS.CA }}" caOptional = {{ $auth.Forward.TLS.CAOptional }} - cert = "{{ $auth.Forward.TLS.Cert }}" - key = "{{ $auth.Forward.TLS.Key }}" + cert = """{{ $auth.Forward.TLS.Cert }}""" + key = """{{ $auth.Forward.TLS.Key }}""" insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }} {{end}} {{end}} diff --git a/templates/docker.tmpl b/templates/docker.tmpl index ae01d9efe..c200551c5 100644 --- a/templates/docker.tmpl +++ b/templates/docker.tmpl @@ -89,8 +89,8 @@ [frontends."frontend-{{ $frontendName }}".auth.forward.tls] ca = "{{ $auth.Forward.TLS.CA }}" caOptional = {{ $auth.Forward.TLS.CAOptional }} - cert = "{{ $auth.Forward.TLS.Cert }}" - key = "{{ $auth.Forward.TLS.Key }}" + cert = """{{ $auth.Forward.TLS.Cert }}""" + key = """{{ $auth.Forward.TLS.Key }}""" insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }} {{end}} {{end}} diff --git a/templates/ecs.tmpl b/templates/ecs.tmpl index f230b120e..7801a2ff1 100644 --- a/templates/ecs.tmpl +++ b/templates/ecs.tmpl @@ -88,8 +88,8 @@ [frontends."frontend-{{ $serviceName }}".auth.forward.tls] ca = "{{ $auth.Forward.TLS.CA }}" caOptional = {{ $auth.Forward.TLS.CAOptional }} - cert = "{{ $auth.Forward.TLS.Cert }}" - key = "{{ $auth.Forward.TLS.Key }}" + cert = """{{ $auth.Forward.TLS.Cert }}""" + key = """{{ $auth.Forward.TLS.Key }}""" insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }} {{end}} {{end}} diff --git a/templates/kubernetes.tmpl b/templates/kubernetes.tmpl index 51c03a748..57e5e6344 100644 --- a/templates/kubernetes.tmpl +++ b/templates/kubernetes.tmpl @@ -81,8 +81,8 @@ trustForwardHeader = {{ $frontend.Auth.Forward.TrustForwardHeader }} {{if $frontend.Auth.Forward.TLS }} [frontends."{{ $frontendName }}".auth.forward.tls] - cert = "{{ $frontend.Auth.Forward.TLS.Cert }}" - key = "{{ $frontend.Auth.Forward.TLS.Key }}" + cert = """{{ $frontend.Auth.Forward.TLS.Cert }}""" + key = """{{ $frontend.Auth.Forward.TLS.Key }}""" insecureSkipVerify = {{ $frontend.Auth.Forward.TLS.InsecureSkipVerify }} {{end}} {{end}} diff --git a/templates/kv.tmpl b/templates/kv.tmpl index 03a5dd6e1..afeebdabc 100644 --- a/templates/kv.tmpl +++ b/templates/kv.tmpl @@ -88,8 +88,8 @@ [frontends."{{ $frontendName }}".auth.forward.tls] ca = "{{ $auth.Forward.TLS.CA }}" caOptional = {{ $auth.Forward.TLS.CAOptional }} - cert = "{{ $auth.Forward.TLS.Cert }}" - key = "{{ $auth.Forward.TLS.Key }}" + cert = """{{ $auth.Forward.TLS.Cert }}""" + key = """{{ $auth.Forward.TLS.Key }}""" insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }} {{end}} {{end}} diff --git a/templates/marathon.tmpl b/templates/marathon.tmpl index 6b42630cb..01b1b09ad 100644 --- a/templates/marathon.tmpl +++ b/templates/marathon.tmpl @@ -91,8 +91,8 @@ [frontends."{{ $frontendName }}".auth.forward.tls] ca = "{{ $auth.Forward.TLS.CA }}" caOptional = {{ $auth.Forward.TLS.CAOptional }} - cert = "{{ $auth.Forward.TLS.Cert }}" - key = "{{ $auth.Forward.TLS.Key }}" + cert = """{{ $auth.Forward.TLS.Cert }}""" + key = """{{ $auth.Forward.TLS.Key }}""" insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }} {{end}} {{end}} diff --git a/templates/mesos.tmpl b/templates/mesos.tmpl index 6337cee30..1927e694d 100644 --- a/templates/mesos.tmpl +++ b/templates/mesos.tmpl @@ -91,8 +91,8 @@ [frontends."frontend-{{ $frontendName }}".auth.forward.tls] ca = "{{ $auth.Forward.TLS.CA }}" caOptional = {{ $auth.Forward.TLS.CAOptional }} - cert = "{{ $auth.Forward.TLS.Cert }}" - key = "{{ $auth.Forward.TLS.Key }}" + cert = """{{ $auth.Forward.TLS.Cert }}""" + key = """{{ $auth.Forward.TLS.Key }}""" insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }} {{end}} {{end}} diff --git a/templates/rancher.tmpl b/templates/rancher.tmpl index 0b4d38ecb..96500c41b 100644 --- a/templates/rancher.tmpl +++ b/templates/rancher.tmpl @@ -89,8 +89,8 @@ [frontends."frontend-{{ $frontendName }}".auth.forward.tls] ca = "{{ $auth.Forward.TLS.CA }}" caOptional = {{ $auth.Forward.TLS.CAOptional }} - cert = "{{ $auth.Forward.TLS.Cert }}" - key = "{{ $auth.Forward.TLS.Key }}" + cert = """{{ $auth.Forward.TLS.Cert }}""" + key = """{{ $auth.Forward.TLS.Key }}""" insecureSkipVerify = {{ $auth.Forward.TLS.InsecureSkipVerify }} {{end}} {{end}}