0b73242b65
Most ingresses annotations should be work with small changes.
30 lines
685 B
YAML
30 lines
685 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: ca-issuer
|
|
haproxy.org/backend-protocol: h1
|
|
haproxy.org/cors-allow-headers: Content-Type, x-gatus-cache
|
|
haproxy.org/cors-enable: "true"
|
|
labels:
|
|
app.kubernetes.io/name: gatus
|
|
name: gatus
|
|
namespace: uptime
|
|
spec:
|
|
ingressClassName: haproxy
|
|
rules:
|
|
- host: uptime.adm.hel1.obx
|
|
http:
|
|
paths:
|
|
- backend:
|
|
service:
|
|
name: gatus
|
|
port:
|
|
number: 80
|
|
path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- uptime.adm.hel1.obx
|
|
secretName: gatus-tls
|