k3s-files/nwbot/ingress.yaml

25 lines
512 B
YAML
Raw Permalink Normal View History

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