website/docs: Change Kubernetes ingress apiVersion out of beta (#4099)

* Change Kubernetes ingress apiVersion out of beta

* fix lint

Co-authored-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Alex Wigen 2022-11-29 01:42:59 +10:00 committed by GitHub
parent 147ebf1a5e
commit 4e04461820
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 8 deletions

View File

@ -1,7 +1,7 @@
Create a new ingress for the outpost Create a new ingress for the outpost
```yaml ```yaml
apiVersion: networking.k8s.io/v1beta1 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
name: authentik-outpost name: authentik-outpost
@ -9,13 +9,15 @@ spec:
rules: rules:
- host: app.company - host: app.company
http: http:
paths: paths: /outpost.goauthentik.io
- backend: pathType: Prefix
# Or, to use an external Outpost, create an ExternalName service and reference that here. backend:
# See https://kubernetes.io/docs/concepts/services-networking/service/#externalname # Or, to use an external Outpost, create an ExternalName service and reference that here.
serviceName: ak-outpost-example-outpost # See https://kubernetes.io/docs/concepts/services-networking/service/#externalname
servicePort: 9000 service:
path: /outpost.goauthentik.io name: ak-outpost-example-outpost
port:
number: 9000
``` ```
This ingress handles authentication requests, and the sign-in flow. This ingress handles authentication requests, and the sign-in flow.