31 lines
583 B
YAML
31 lines
583 B
YAML
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: health-ingress
|
|
namespace: health
|
|
annotations:
|
|
kubernetes.io/ingress.class: nginx
|
|
spec:
|
|
defaultBackend:
|
|
service:
|
|
name: health-node
|
|
port:
|
|
number: 8443
|
|
ingressClassName: nginx
|
|
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
|