2021-04-05 07:16:14 +00:00
|
|
|
apiVersion: extensions/v1beta1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: photos
|
|
|
|
namespace: inlets
|
|
|
|
labels:
|
|
|
|
app: photos
|
|
|
|
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:
|
|
|
|
- photos.cluster.fun
|
|
|
|
secretName: photos-ingress
|
|
|
|
rules:
|
|
|
|
- host: photos.cluster.fun
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
backend:
|
2021-04-07 09:21:25 +00:00
|
|
|
serviceName: auth-proxy
|
2021-04-05 07:16:14 +00:00
|
|
|
servicePort: 80
|