From ec775a016a57080888008f4553d6227103ec69ac Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Mon, 3 Aug 2020 17:30:04 +0200 Subject: [PATCH] doc: replace underscore by hyphen for k8s metadata names. --- docs/content/migration/v1-to-v2.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/content/migration/v1-to-v2.md b/docs/content/migration/v1-to-v2.md index ea680a746..8dbc4686a 100644 --- a/docs/content/migration/v1-to-v2.md +++ b/docs/content/migration/v1-to-v2.md @@ -453,7 +453,7 @@ To apply a redirection: - name: whoami port: 80 middlewares: - - name: https_redirect + - name: https-redirect --- apiVersion: traefik.containo.us/v1alpha1 @@ -476,7 +476,7 @@ To apply a redirection: apiVersion: traefik.containo.us/v1alpha1 kind: Middleware metadata: - name: https_redirect + name: https-redirect spec: redirectScheme: scheme: https @@ -501,7 +501,7 @@ To apply a redirection: [http.routers.router1.tls] [http.middlewares] - [http.middlewares.https_redirect.redirectScheme] + [http.middlewares.https-redirect.redirectScheme] scheme = "https" permanent = true ``` @@ -528,7 +528,7 @@ To apply a redirection: tls: {} middlewares: - https_redirect: + https-redirect: redirectScheme: scheme: https permanent: true