From b7fe55d28bf6651a976c35a87db9a05733029f61 Mon Sep 17 00:00:00 2001 From: tehNooB <125163838+JamesTurland@users.noreply.github.com> Date: Tue, 24 Oct 2023 13:37:27 +0100 Subject: [PATCH] Create ingress.yaml --- Kubernetes/GitOps/Gotify/ingress.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Kubernetes/GitOps/Gotify/ingress.yaml diff --git a/Kubernetes/GitOps/Gotify/ingress.yaml b/Kubernetes/GitOps/Gotify/ingress.yaml new file mode 100644 index 0000000..dc88102 --- /dev/null +++ b/Kubernetes/GitOps/Gotify/ingress.yaml @@ -0,0 +1,26 @@ +--- +apiVersion: traefik.containo.us/v1alpha1 +kind: IngressRoute +metadata: + name: gotify + namespace: gotify + annotations: + kubernetes.io/ingress.class: traefik-external +spec: + entryPoints: + - websecure + routes: + - match: Host(`www.gotify.jimsgarage.co.uk`) # change to your domain + kind: Rule + services: + - name: gotify + port: 80 + - match: Host(`gotify.jimsgarage.co.uk`) # change to your domain + kind: Rule + services: + - name: gotify + port: 80 + middlewares: + - name: default-headers + tls: + secretName: jimsgarage-tls # change to your cert