k8s-manifests/health/overlays/test/health-ingress.yml

33 lines
666 B
YAML
Raw Permalink Normal View History

2024-02-08 15:52:19 +00:00
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: health-ingress
namespace: health
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
spec:
defaultBackend:
service:
name: health-node
port:
number: 8443
2024-02-09 15:53:17 +00:00
ingressClassName: traefik
2024-02-08 15:52:19 +00:00
tls:
- hosts:
- kube.drive.test.sunet.se
secretName: tls-secret
rules:
- host: kube.drive.test.sunet.se
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: health-node
port:
number: 8080