kubernetes-crd: fix whitespace in configuration examples

This commit is contained in:
NT-florianernst 2020-08-03 17:40:07 +02:00 committed by GitHub
parent ec775a016a
commit 3214904cc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,16 +108,16 @@ The Kubernetes Ingress Controller, The Custom Resource Way.
name: myingressroute name: myingressroute
namespace: default namespace: default
spec: spec:
entryPoints: entryPoints:
- web - web
routes: routes:
- match: Host(`foo`) && PathPrefix(`/bar`) - match: Host(`foo`) && PathPrefix(`/bar`)
kind: Rule kind: Rule
services: services:
- name: whoami - name: whoami
port: 80 port: 80
--- ---
apiVersion: traefik.containo.us/v1alpha1 apiVersion: traefik.containo.us/v1alpha1
@ -126,15 +126,15 @@ The Kubernetes Ingress Controller, The Custom Resource Way.
name: ingressroute.tcp name: ingressroute.tcp
namespace: default namespace: default
spec: spec:
entryPoints: entryPoints:
- tcpep - tcpep
routes: routes:
- match: HostSNI(`bar`) - match: HostSNI(`bar`)
kind: Rule kind: Rule
services: services:
- name: whoamitcp - name: whoamitcp
port: 8080 port: 8080
--- ---
apiVersion: traefik.containo.us/v1alpha1 apiVersion: traefik.containo.us/v1alpha1
@ -143,14 +143,14 @@ The Kubernetes Ingress Controller, The Custom Resource Way.
name: ingressroute.udp name: ingressroute.udp
namespace: default namespace: default
spec: spec:
entryPoints: entryPoints:
- fooudp - fooudp
routes: routes:
- kind: Rule - kind: Rule
services: services:
- name: whoamiudp - name: whoamiudp
port: 8080 port: 8080
``` ```
```yaml tab="Whoami" ```yaml tab="Whoami"