Files
awoooi/k8s/awoooi-prod/kustomization.yaml
Your Name 0ebd0d8a92
All checks were successful
Code Review / ai-code-review (push) Successful in 54s
fix(deploy): 緊急部署 API 2e17325c — governance skip cooldown + watchdog B4
CI cancel-in-progress 導致 CD 未執行,手動更新 kustomization.yaml。

包含修復:
- governance_dispatcher skip 路徑 cooldown(消除 30s 重複處理)
- watchdog B4 A2/A3/W6 三層修復(消除 META SYSTEM 重複告警)
- Operator Console leWOOOgo 積木化修復(e22b8e7)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 12:09:29 +08:00

46 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:
environment: prod
system: awoooi
# 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 單獨處理
resources:
- 01-namespace-quota.yaml
- 04-configmap.yaml
- 05-deployment-web.yaml
- 06-deployment-api.yaml
- 07-rbac.yaml
- 08-deployment-worker.yaml
- 09-pdb.yaml
- 13-cronjob-k3s-report.yaml
- 14-cronjob-weekly-report.yaml
- 15-cronjob-km-vectorize.yaml
# 映像配置 (Tag 由 CI 動態注入)
# Harbor 金庫: 110 主機 (192.168.0.110:5000)
# ⚠️ 重要: name 必須與 deployment YAML 中的 image 完全匹配 (含 tag)
# newName + newTag 由 CI 透過 kustomize edit set image 注入
images:
- name: 192.168.0.110:5000/library/api:IMAGE_TAG_PLACEHOLDER
newName: 192.168.0.110:5000/awoooi/api
newTag: 2e17325c3f66c16783172e50c2d29f686d2b574e
- name: 192.168.0.110:5000/library/web:IMAGE_TAG_PLACEHOLDER
newName: 192.168.0.110:5000/awoooi/web
newTag: 00684403887745e35848bbbab5ac795cfdd6fd58