26 lines
654 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
haproxy.org/auth-secret: basic-auth
haproxy.org/auth-type: basic-auth
haproxy.org/auth-realm: Authentication Required
name: user1-thanos-ruler
spec:
ingressClassName: haproxy
rules:
- host: user1-thanos-ruler.training.cluster.acend.ch
http:
paths:
- backend:
service:
name: thanos-ruler-operated
port:
number: 10902
path: /
pathType: ImplementationSpecific
tls:
- hosts:
- user1-thanos-ruler.training.cluster.acend.ch
secretName: acend-wildcard