add ingress
This commit is contained in:
25
deploy/uptime-kuma/uptime-kuma-ingress.yaml
Normal file
25
deploy/uptime-kuma/uptime-kuma-ingress.yaml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
namespace: uptime-kuma
|
||||||
|
name: uptime-kuma
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||||
|
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||||
|
spec:
|
||||||
|
ingressClassName: nginx
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- uptime.prod.panic.haus
|
||||||
|
secretName: uptime-kuma-tls
|
||||||
|
rules:
|
||||||
|
- host: uptime.prod.panic.haus
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: uptime-kuma
|
||||||
|
port:
|
||||||
|
number: 3001
|
||||||
Reference in New Issue
Block a user