Added inlet for photos

This commit is contained in:
2021-04-05 08:16:14 +01:00
parent 1ecc6bf920
commit 99eb03aa5f
2 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
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:
serviceName: auth-proxy
servicePort: 80