Add support for fetching k8s Ingress TLS data from secrets
This commit is contained in:
parent
9b3750320b
commit
8327dd0c0b
7 changed files with 495 additions and 3 deletions
|
@ -92,4 +92,14 @@
|
|||
[frontends."{{$frontendName}}".routes."{{$routeName}}"]
|
||||
rule = "{{$route.Rule}}"
|
||||
{{end}}
|
||||
{{end}}
|
||||
{{end}}
|
||||
|
||||
{{range $tlsConfiguration := .TLSConfiguration}}
|
||||
[[tlsConfiguration]]
|
||||
entryPoints = [{{range $tlsConfiguration.EntryPoints}}
|
||||
"{{.}}",
|
||||
{{end}}]
|
||||
[tlsConfiguration.certificate]
|
||||
certFile = """{{$tlsConfiguration.Certificate.CertFile}}"""
|
||||
keyFile = """{{$tlsConfiguration.Certificate.KeyFile}}"""
|
||||
{{end}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue