From 12e462f383efc6c14a98933b0df34f67f8a7e6b1 Mon Sep 17 00:00:00 2001 From: Rick Herrick Date: Wed, 3 Jun 2020 10:24:04 -0500 Subject: [PATCH] Update kubernetes-crd.md --- .../routing/providers/kubernetes-crd.md | 54 +++++++++---------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/docs/content/routing/providers/kubernetes-crd.md b/docs/content/routing/providers/kubernetes-crd.md index f07d50573..7201fa994 100644 --- a/docs/content/routing/providers/kubernetes-crd.md +++ b/docs/content/routing/providers/kubernetes-crd.md @@ -108,24 +108,24 @@ 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 - kind: IngressRouteTCP - metadata: - name: ingressroute.tcp + kind: IngressRouteTCP + metadata: + name: ingressroute.tcp namespace: default - + spec: entryPoints: - tcpep @@ -135,22 +135,22 @@ The Kubernetes Ingress Controller, The Custom Resource Way. services: - name: whoamitcp port: 8080 - + --- apiVersion: traefik.containo.us/v1alpha1 - kind: IngressRouteUDP - metadata: - name: ingressroute.udp - namespace: default - - spec: - entryPoints: - - fooudp - routes: - - kind: Rule - services: - - name: whoamiudp - port: 8080 + kind: IngressRouteUDP + metadata: + name: ingressroute.udp + namespace: default + + spec: + entryPoints: + - fooudp + routes: + - kind: Rule + services: + - name: whoamiudp + port: 8080 ``` ```yaml tab="Whoami"