Add missing certResolver in IngressRoute examples.

This commit is contained in:
Ludovic Fernandez 2020-02-03 14:54:06 +01:00 committed by GitHub
parent 03689251c5
commit eb2028e0fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 10 deletions

View file

@ -22,7 +22,6 @@ deploy:
```
```yaml tab="Kubernetes"
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:

View file

@ -18,7 +18,6 @@ deploy:
```
```yaml tab="Kubernetes"
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
@ -32,7 +31,8 @@ spec:
services:
- name: blog
port: 8080
tls: {}
tls:
certresolver: le
```
```json tab="Marathon"
@ -58,7 +58,7 @@ labels:
[http.routers.blog]
rule = "(Host(`company.com`) && Path(`/blog`)) || Host(`blog.company.org`)"
[http.routers.blog.tls]
certResolver = "le" # From static configuration
certResolver = "le"
```
```yaml tab="File (YAML)"

View file

@ -18,7 +18,6 @@ deploy:
```
```yaml tab="Kubernetes"
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
@ -32,7 +31,8 @@ spec:
services:
- name: blog
port: 8080
tls: {}
tls:
certresolver: le
```
```json tab="Marathon"
@ -55,10 +55,10 @@ labels:
```toml tab="Single Domain"
## Dynamic configuration
[http.routers]
[http.routers.blog]
rule = "Host(`company.com`) && Path(`/blog`)"
[http.routers.blog.tls]
certResolver = "le" # From static configuration
[http.routers.blog]
rule = "Host(`company.com`) && Path(`/blog`)"
[http.routers.blog.tls]
certResolver = "le"
```
```yaml tab="File (YAML)"