Files
awoooi/k8s/awoooi-prod/kustomization.yaml
OG T 723e8ef251
All checks were successful
E2E Health Check / e2e-health (push) Successful in 16s
feat(api): Phase 21.3 Weekly Report (ADR-041)
- 新增 WeeklyReportMessage dataclass (telegram_gateway.py)
- 新增 WeeklyReportService (整合 StatsService + K3sMonitor)
- 新增 CronJob (每週五 18:00 台北)
- 新增 API 端點 (/stats/weekly/preview, /stats/weekly/report)

Phase 21 定期報告機制全部完成!
- 21.1 Daily E2E Schedule 
- 21.2 K3s Telegram Report 
- 21.3 Weekly Report 

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 11:28:46 +08:00

42 lines
1.5 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# AWOOOI 正式環境 Kustomization
# 負責人: CIO
# 版本: v1.0
# 日期: 2026-03-20
#
# ⚠️ 鐵律: 禁止在此檔案寫 newTagTag 由 CI 動態注入
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: awoooi-prod
# 通用標籤
# 注意: commonLabels 會加到 Deployment selector不能移除否則會 immutable error
# NetworkPolicy 的 egress[].to[].podSelector 不受 commonLabels 影響
commonLabels:
system: awoooi
environment: prod
resources:
- 01-namespace-quota.yaml
# 02-network-policy.yaml 不納入 - commonLabels 會破壞 DNS egress rule
# 由 CD 單獨 apply: kubectl apply -f k8s/awoooi-prod/02-network-policy.yaml
# 03-secrets.yaml 不納入,由 CI/CD 單獨處理
- 04-configmap.yaml
- 05-deployment-web.yaml
- 06-deployment-api.yaml
- 07-rbac.yaml # Phase 7: K8sExecutor 最小權限 RBAC
- 08-deployment-worker.yaml # Phase 6.5: Signal Worker
- 09-pdb.yaml # Phase K0.4: PodDisruptionBudget
- 13-cronjob-k3s-report.yaml # Phase 21.2: K3s 每日報告
- 14-cronjob-weekly-report.yaml # Phase 21.3: 週報
# 映像配置 (Tag 由 CI 動態注入)
# Harbor 金庫: 110 主機 (192.168.0.110:5000)
# ⚠️ 重要: name 必須與 deployment YAML 中的 image 完全匹配 (含 tag)
images:
- name: 192.168.0.110:5000/library/web:IMAGE_TAG_PLACEHOLDER
# newName + newTag 由 CI 透過 kustomize edit set image 注入
- name: 192.168.0.110:5000/library/api:IMAGE_TAG_PLACEHOLDER
# newName + newTag 由 CI 透過 kustomize edit set image 注入