
* fix Ingress resources in docs Signed-off-by: Gerald Pape <gerald@giantswarm.io> * move to ingressClassName * fix more Ingress resource examples * empty commit Signed-off-by: Gerald Pape <gerald@giantswarm.io> * make NOTES.txt aware of version + add notice about ingress version to examples main page * add link to legacy documentation Signed-off-by: Gerald Pape <gerald@giantswarm.io>
45 lines
978 B
YAML
45 lines
978 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
annotations:
|
|
nginx.ingress.kubernetes.io/auth-url: "https://$host/oauth2/auth"
|
|
nginx.ingress.kubernetes.io/auth-signin: "https://$host/oauth2/start?rd=$escaped_request_uri"
|
|
name: external-auth-oauth2
|
|
namespace: kube-system
|
|
spec:
|
|
ingressClassName: nginx
|
|
rules:
|
|
- host: __INGRESS_HOST__
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: kubernetes-dashboard
|
|
port:
|
|
number: 80
|
|
---
|
|
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: oauth2-proxy
|
|
namespace: kube-system
|
|
spec:
|
|
ingressClassName: nginx
|
|
rules:
|
|
- host: __INGRESS_HOST__
|
|
http:
|
|
paths:
|
|
- path: /oauth2
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: oauth2-proxy
|
|
port:
|
|
number: 4180
|
|
tls:
|
|
- hosts:
|
|
- __INGRESS_HOST__
|
|
secretName: __INGRESS_SECRET__
|