Added photos ingress

This commit is contained in:
Marcus Noble 2021-09-30 18:41:27 +01:00
parent 524cd8837b
commit c540580782

View File

@ -198,6 +198,31 @@ spec:
serviceName: inlets serviceName: inlets
servicePort: 80 servicePort: 80
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: photos
namespace: inlets
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: inlets
servicePort: 80
--- ---
kind: Service kind: Service
apiVersion: v1 apiVersion: v1