Skip to content

Commit

Permalink
doc: use full "Traefik IngressRoute" name
Browse files Browse the repository at this point in the history
  • Loading branch information
mpl authored and traefiker committed Mar 19, 2019
1 parent ce9a30f commit 0f910a9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/content/middlewares/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Pieces of middleware can be combined in chains to fit every scenario.
- "traefik.http.middlewares.foo-add-prefix.addprefix.prefix=/foo",
```

??? example "In a Kubernetes CRD"
??? example "As a Kubernetes Traefik IngressRoute"

```yaml
apiVersion: apiextensions.k8s.io/v1beta1
Expand Down
6 changes: 3 additions & 3 deletions docs/content/providers/kubernetes-crd.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ it would manage access to a cluster services by supporting the [Ingress](https:/
However, as the community expressed the need to benefit from Traefik features without resorting to (lots of) annotations,
we ended up writing a [Custom Resource Definition](https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/) (alias CRD in the following) for an IngressRoute type, defined below, in order to provide a better way to configure access to a Kubernetes cluster.

## IngressRoute definitionInIngressRouteIngressRoutegressRoute
## Traefik IngressRoute definition

```yaml
--8<-- "content/providers/crd_ingress_route.yml"
Expand Down Expand Up @@ -102,7 +102,7 @@ data:
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: ingressroute.crd
name: ingressroutetls.crd

spec:
entryPoints:
Expand All @@ -119,4 +119,4 @@ spec:

## Full reference example

[Kubernetes CRD Reference](../reference/providers/kubernetescrd.md).
[Traefik IngressRoute Reference](../reference/providers/kubernetescrd.md).
2 changes: 1 addition & 1 deletion docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ nav:
- 'Overview': 'providers/overview.md'
- 'Docker': 'providers/docker.md'
- 'File': 'providers/file.md'
- 'Kubernetes CRD': 'providers/kubernetes-crd.md'
- 'Kubernetes IngressRoute': 'providers/kubernetes-crd.md'
- 'Routing & Load Balancing':
- 'Overview': 'routing/overview.md'
- 'Entrypoints': 'routing/entrypoints.md'
Expand Down

0 comments on commit 0f910a9

Please sign in to comment.