Files
macos-tools/devops/gitea-values.yaml
gaoandClaude c6154b15fe feat: 添加完整的云原生 CI/CD 架构配置
## 新增组件
- ✅ Gitea Kubernetes 部署配置 (Helm)
- ✅ ArgoCD GitOps 应用配置
- ✅ Tekton Pipelines 完整流水线
- ✅ Tekton Triggers 自动触发
- ✅ Kubernetes 部署清单
- ✅ 安全配置和密钥管理
- ✅ 监控和可观测性配置

## 架构特点
- 🚀 云原生设计,轻量级高效
- 🔄 GitOps 最佳实践
- 🔧 自动化 CI/CD 流水线
- 🛡️ 安全扫描和权限控制
- 📊 监控和告警集成
- 📈 水平扩缩容支持

## 支持的应用
- 📚 Bookstore 智能阅读平台
- 🔧 Spring Boot + MyBatis Plus
- 🤖 AI 集成 (Ollama/OpenAI)
- 📊 OpenSearch 向量搜索
- 💾 MySQL + Redis 数据存储

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-22 16:44:07 +08:00

73 lines
1.2 KiB
YAML

# Gitea Kubernetes 配置
gitea:
config:
APP_NAME: "Gitea: Git with a cup of tea"
repository:
ENABLE_PUSH_CREATE_USER: true
ENABLE_PUSH_CREATE_ORG: true
server:
DOMAIN: gitea.local.lan
ROOT_URL: http://gitea.local.lan:30080
HTTP_PORT: 3000
webhook:
ALLOWED_HOST_LIST: localhost,jenkins,harbor.local.lan
service:
DISABLE_REGISTRATION: false
REQUIRE_SIGNIN_VIEW: false
actions:
ENABLED: true
ingress:
enabled: false # 我们使用 NodePort
service:
http:
type: NodePort
port: 3000
nodePort: 30080
ssh:
type: NodePort
port: 22
nodePort: 30022
persistence:
enabled: true
size: 10Gi
storageClass: "local-path"
postgresql:
enabled: true
global:
postgresql:
auth:
database: gitea
username: gitea
password: gitea123
persistence:
enabled: true
size: 8Gi
storageClass: "local-path"
redis:
enabled: true
auth:
enabled: false
master:
persistence:
enabled: true
size: 2Gi
storageClass: "local-path"
# 禁用高可用 PostgreSQL
postgresql-ha:
enabled: false
# 禁用其他不需要的组件
memcached:
enabled: false
mysql:
enabled: false
mariadb:
enabled: false