Add HTTPS configuration with cert-manager

- cert-manager namespace
- ClusterIssuer for Let's Encrypt (prod and staging)
- HTTPS Ingress for ArgoCD, Gitea, and test-app
- Automatic certificate management

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-04 05:13:41 +08:00
commit ef0d1af353
7 changed files with 172 additions and 0 deletions

24
README.md Normal file
View File

@@ -0,0 +1,24 @@
# HTTPS配置 - GitOps方式
## 方案说明
使用ArgoCD管理cert-manager实现完全GitOps化的HTTPS配置。
## 架构
Git仓库 -> ArgoCD监控 -> 自动部署cert-manager -> 自动申请证书 -> HTTPS启用
## 特点
- 完全GitOps化
- 支持幂等性
- 配置存储在Git
- 自动续期证书
- 修改Git自动更新
## 部署步骤
1. 推送到Gitea
2. 创建ArgoCD应用
3. ArgoCD自动部署
4. 自动申请证书