k3s-files/nwbot/ingress.yaml
2023-01-08 14:41:12 +08:00

25 lines
512 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: nwbot
namespace: nwbot
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
kubernetes.io/ingress.class: nginx
spec:
rules:
- host: bot.biudi.cn
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: nwbot
port:
number: 53121
tls:
- hosts:
- bot.biudi.cn
secretName: nwbot