Create ingress.yaml

This commit is contained in:
tehNooB 2023-10-24 13:37:27 +01:00 committed by GitHub
parent 60335e6c40
commit b7fe55d28b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

View File

@ -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