新增 Kevisual 的 IngressRoute 配置,支持 WebSocket
This commit is contained in:
19
k8s/xiongxiao.me/kevisual-ingress/apps.yaml
Normal file
19
k8s/xiongxiao.me/kevisual-ingress/apps.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
# services全使用kevisual-external服务
|
||||
|
||||
# Kevisual - tale-theme.xiongxiao.me (支持 WebSocket)
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: tale-theme-https
|
||||
namespace: default
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`tale-theme.xiongxiao.me`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: kevisual-external
|
||||
port: 3005
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
Reference in New Issue
Block a user