K3s-cluster/nginx/ingress.yaml
2022-06-24 20:43:24 +02:00

24 lines
545 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: nginx-ingress
annotations:
kubernetes.io/ingress.class: "traefik"
spec:
tls:
- secretName: nginx-beta-tls
hosts:
- nginx.beta.halia.dev
rules:
- host: nginx.beta.halia.dev
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: nginx-svc
port:
number: 80