32 lines
837 B
YAML
32 lines
837 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
|
nginx.ingress.kubernetes.io/backend-protocol: HTTP
|
|
nginx.ingress.kubernetes.io/cors-allow-headers: Content-Type, x-gatus-cache
|
|
nginx.ingress.kubernetes.io/enable-cors: "true"
|
|
nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
|
|
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
|
labels:
|
|
app.kubernetes.io/name: gatus
|
|
name: gatus
|
|
namespace: uptime
|
|
spec:
|
|
ingressClassName: nginx
|
|
rules:
|
|
- host: uptime.hel1.oceanbox.io
|
|
http:
|
|
paths:
|
|
- backend:
|
|
service:
|
|
name: gatus
|
|
port:
|
|
number: 80
|
|
path: /
|
|
pathType: ImplementationSpecific
|
|
tls:
|
|
- hosts:
|
|
- uptime.hel1.oceanbox.io
|
|
secretName: gatus-tls
|