feat(consul): 为 Consul 添加 TLS 支持

- 在 ingress 规则中添加 TLS 配置
- 为 consul.kl.suyiiyii.top 域名配置 HTTPS
- 使用 cert-manager 生成并管理 TLS 证书
This commit is contained in:
suyiiyii 2025-01-20 12:17:17 +08:00
parent c86810dcfe
commit 01d85d5f7f
Signed by: suyiiyii
GPG Key ID: 044704CB29B8AD85

View File

@ -5,6 +5,10 @@ metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
tls:
- hosts:
- consul.kl.suyiiyii.top
secretName: consul-tls
rules:
- host: consul.kl.suyiiyii.top
http:
@ -15,4 +19,4 @@ spec:
service:
name: consul
port:
number: 8500
number: 8500