2020-05-07 13:15:16 +00:00
|
|
|
apiVersion: extensions/v1beta1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: cctv-auth
|
2020-10-10 15:46:27 +00:00
|
|
|
namespace: inlets
|
2020-05-07 13:15:16 +00:00
|
|
|
labels:
|
|
|
|
app: cctv-auth
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: letsencrypt
|
|
|
|
traefik.ingress.kubernetes.io/frontend-entry-points: http,https
|
|
|
|
traefik.ingress.kubernetes.io/redirect-entry-point: https
|
|
|
|
traefik.ingress.kubernetes.io/redirect-permanent: "true"
|
|
|
|
spec:
|
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- cctv.cluster.fun
|
|
|
|
secretName: cctv-ingress
|
|
|
|
rules:
|
|
|
|
- host: cctv.cluster.fun
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
backend:
|
2020-10-10 15:46:27 +00:00
|
|
|
serviceName: auth-proxy
|
2020-05-07 13:15:16 +00:00
|
|
|
servicePort: 80
|