Files
todo-frontend/k8s/ingress.yaml
13332247026 a41773a801
All checks were successful
continuous-integration/drone/push Build is passing
更新 k8s/ingress.yaml
2026-03-23 15:35:22 +00:00

26 lines
594 B
YAML

# ingress.yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: sales-ingress
namespace: drone
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
# traefik.ingress.kubernetes.io/service.protocol: http
spec:
tls:
- hosts:
- sales.violin-work.online
secretName: violin-tls
rules:
- host: sales.violin-work.online
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: todo-frontend
port:
number: 80