Skip to content

Commit

Permalink
kubernetes-crd: fix whitespace in configuration examples
Browse files Browse the repository at this point in the history
  • Loading branch information
NT-florianernst committed Aug 3, 2020
1 parent ec775a0 commit 3214904
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions docs/content/routing/providers/kubernetes-crd.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit 3214904

Please sign in to comment.