From c540580782e1c0371bac2667b913727d0ae494ab Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Thu, 30 Sep 2021 18:41:27 +0100 Subject: [PATCH] Added photos ingress --- manifests/inlets/inlets.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/manifests/inlets/inlets.yaml b/manifests/inlets/inlets.yaml index 85e26f9..36645e5 100644 --- a/manifests/inlets/inlets.yaml +++ b/manifests/inlets/inlets.yaml @@ -198,6 +198,31 @@ spec: serviceName: inlets 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 apiVersion: v1