2018-03-04 17:01:38 +00:00
|
|
|
---
|
|
|
|
apiVersion: extensions/v1beta1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: secure-ingress
|
|
|
|
namespace: authelia
|
|
|
|
annotations:
|
|
|
|
kubernetes.io/ingress.class: "nginx"
|
|
|
|
nginx.ingress.kubernetes.io/auth-url: "http://authelia-service.authelia.svc.cluster.local/api/verify"
|
2018-04-24 21:03:05 +00:00
|
|
|
nginx.ingress.kubernetes.io/auth-signin: "https://login.kube.example.com"
|
2018-03-04 17:01:38 +00:00
|
|
|
spec:
|
|
|
|
tls:
|
|
|
|
- secretName: app2-tls
|
|
|
|
hosts:
|
|
|
|
- app2.kube.example.com
|
|
|
|
rules:
|
|
|
|
- host: app2.kube.example.com
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
backend:
|
|
|
|
serviceName: test-app2-service
|
|
|
|
servicePort: 80
|