From eb2028e0faae8f9ead780aa3281422f403adbe1d Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Mon, 3 Feb 2020 14:54:06 +0100 Subject: [PATCH] Add missing certResolver in IngressRoute examples. --- .../https/include-acme-multiple-domains-example.md | 1 - ...nclude-acme-multiple-domains-from-rule-example.md | 6 +++--- .../https/include-acme-single-domain-example.md | 12 ++++++------ 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/docs/content/https/include-acme-multiple-domains-example.md b/docs/content/https/include-acme-multiple-domains-example.md index 2fe5b156c..0c4832105 100644 --- a/docs/content/https/include-acme-multiple-domains-example.md +++ b/docs/content/https/include-acme-multiple-domains-example.md @@ -22,7 +22,6 @@ deploy: ``` ```yaml tab="Kubernetes" ---- apiVersion: traefik.containo.us/v1alpha1 kind: IngressRoute metadata: diff --git a/docs/content/https/include-acme-multiple-domains-from-rule-example.md b/docs/content/https/include-acme-multiple-domains-from-rule-example.md index b33f368fa..26ad0ed6d 100644 --- a/docs/content/https/include-acme-multiple-domains-from-rule-example.md +++ b/docs/content/https/include-acme-multiple-domains-from-rule-example.md @@ -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)" diff --git a/docs/content/https/include-acme-single-domain-example.md b/docs/content/https/include-acme-single-domain-example.md index b153222ff..41fff7c44 100644 --- a/docs/content/https/include-acme-single-domain-example.md +++ b/docs/content/https/include-acme-single-domain-example.md @@ -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)"