Add ingress

This commit is contained in:
Jim Nicholson 2021-12-21 16:18:34 -08:00
parent 94f48922ad
commit 0d7d4bfa8c
2 changed files with 24 additions and 0 deletions

23
ingress.yaml Normal file
View File

@ -0,0 +1,23 @@
# https://kubernetes.io/docs/concepts/services-networking/ingress/
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: uptime-kuma-ingress
namespace: uptime-kuma
annotations:
kubernetes.io/ingress.class: "traefik"
traefik.ingress.kubernetes.io/redirect-entry-point: https
cert-manager.io/cluster-issuer: http-clusterissuer
spec:
rules:
- host: uptime.thejimnicholson.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: uptime-kuma-web
port:
number: 80
---

View File

@ -5,3 +5,4 @@ resources:
- storage.yaml
- deployment.yaml
- service.yaml
- ingress.yaml