Hexo-Async-Offends/kubernetes/ingress-traefik.yaml
offends 6ea99f26e2
Some checks reported errors
continuous-integration/drone Build was killed
synchronization
2024-07-19 15:19:56 +08:00

23 lines
471 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: blog-ingress
namespace: blog
annotations:
kubernetes.io/ingress.class: traefik
spec:
rules:
- host: blog.offends.cn
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: blog-gateway
port:
number: 80
tls:
- hosts:
- blog.offends.cn
secretName: blog-tls