From 7ae45971871fd336203a361db90b00c01028baa5 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Wed, 3 Jun 2020 20:18:54 +0100 Subject: [PATCH] Added proxy to pyload --- manifests/inlets.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/manifests/inlets.yaml b/manifests/inlets.yaml index c24d40d..c75b3c9 100644 --- a/manifests/inlets.yaml +++ b/manifests/inlets.yaml @@ -77,3 +77,27 @@ spec: backend: serviceName: inlets servicePort: 80 +--- +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + name: pyload + 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: + - pyload.cluster.fun + secretName: pyload-ingress + rules: + - host: pyload.cluster.fun + http: + paths: + - path: / + backend: + serviceName: inlets + servicePort: 80