Support 'networking.k8s.io/v1beta1' ingress apiVersion

This commit is contained in:
Ludovic Fernandez 2020-01-16 10:14:06 +01:00 committed by Traefiker Bot
parent 6b7be462b8
commit 72e702a15a
47 changed files with 190 additions and 161 deletions

View file

@ -40,7 +40,7 @@ Then any router can refer to an instance of the wanted middleware.
```
```yaml tab="K8s Ingress"
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: traefik

View file

@ -24,7 +24,7 @@ The Kubernetes Ingress Controller, The Custom Resource Way.
---
kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1
metadata:
name: traefik
labels:
@ -97,7 +97,7 @@ The Kubernetes Ingress Controller, The Custom Resource Way.
```yaml tab="Whoami"
kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1
metadata:
name: whoami
namespace: default

View file

@ -11,7 +11,7 @@ which in turn will create the resulting routers, services, handlers, etc.
```yaml
kind: Ingress
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1beta1
metadata:
name: foo
namespace: production
@ -40,7 +40,7 @@ spec:
```yaml tab="Ingress"
kind: Ingress
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1beta1
metadata:
name: foo
namespace: production
@ -234,7 +234,7 @@ and will connect via TLS automatically.
```yaml tab="Ingress"
kind: Ingress
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1beta1
metadata:
name: foo
namespace: production
@ -276,7 +276,7 @@ TLS certificates can be managed in Secrets objects.
Ingresses can be created that look like the following:
```yaml
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: cheese