From 3214904cc73edf9c54d351a111e210356b02cc40 Mon Sep 17 00:00:00 2001 From: NT-florianernst <67905629+NT-florianernst@users.noreply.github.com> Date: Mon, 3 Aug 2020 17:40:07 +0200 Subject: [PATCH] kubernetes-crd: fix whitespace in configuration examples --- .../routing/providers/kubernetes-crd.md | 52 +++++++++---------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/docs/content/routing/providers/kubernetes-crd.md b/docs/content/routing/providers/kubernetes-crd.md index 7201fa994..655309ce7 100644 --- a/docs/content/routing/providers/kubernetes-crd.md +++ b/docs/content/routing/providers/kubernetes-crd.md @@ -108,16 +108,16 @@ The Kubernetes Ingress Controller, The Custom Resource Way. name: myingressroute namespace: default - spec: - entryPoints: - - web + spec: + entryPoints: + - web - routes: - - match: Host(`foo`) && PathPrefix(`/bar`) - kind: Rule - services: - - name: whoami - port: 80 + routes: + - match: Host(`foo`) && PathPrefix(`/bar`) + kind: Rule + services: + - name: whoami + port: 80 --- apiVersion: traefik.containo.us/v1alpha1 @@ -126,15 +126,15 @@ The Kubernetes Ingress Controller, The Custom Resource Way. name: ingressroute.tcp namespace: default - spec: - entryPoints: - - tcpep - routes: - - match: HostSNI(`bar`) - kind: Rule - services: - - name: whoamitcp - port: 8080 + spec: + entryPoints: + - tcpep + routes: + - match: HostSNI(`bar`) + kind: Rule + services: + - name: whoamitcp + port: 8080 --- apiVersion: traefik.containo.us/v1alpha1 @@ -143,14 +143,14 @@ The Kubernetes Ingress Controller, The Custom Resource Way. name: ingressroute.udp namespace: default - spec: - entryPoints: - - fooudp - routes: - - kind: Rule - services: - - name: whoamiudp - port: 8080 + spec: + entryPoints: + - fooudp + routes: + - kind: Rule + services: + - name: whoamiudp + port: 8080 ``` ```yaml tab="Whoami"