26 lines
629 B
YAML
26 lines
629 B
YAML
apiVersion: extensions/v1beta1
|
|
kind: Ingress
|
|
metadata:
|
|
name: downloads-auth
|
|
namespace: inlets
|
|
labels:
|
|
app: downloads-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:
|
|
- downloads.cluster.fun
|
|
secretName: downloads-ingress
|
|
rules:
|
|
- host: downloads.cluster.fun
|
|
http:
|
|
paths:
|
|
- path: /
|
|
backend:
|
|
serviceName: auth-proxy
|
|
servicePort: 80
|