This commit is contained in:
2026-07-08 15:15:21 +07:00
parent 634c8e8ba5
commit 0052e152f2
5 changed files with 7 additions and 7 deletions

View File

@@ -4,8 +4,8 @@ Quản deploy lakehouse lên K8s qua ArgoCD. Theo khuôn `argo-k8s` (App-of-Apps
**Công cụ: Helm + ApplicationSet. KHÔNG Kustomize.**
## Git/CI — URL là biến số (không chờ hạ tầng)
- **`<REPO_URL>`** trong các Application = placeholder repo GitOps. Chạy được với repo BẤT KỲ đang dùng.
Đổi repo (vd sang Gitea `git.dbiz.com` sau này) = một lệnh: `grep -rl '<REPO_URL>' | xargs sed -i 's#<REPO_URL>#<url-thật>#g'`,
- **`https://git.renolation.com/renolation/dbiz-lake-k8s.git`** trong các Application = placeholder repo GitOps. Chạy được với repo BẤT KỲ đang dùng.
Đổi repo (vd sang Gitea `git.dbiz.com` sau này) = một lệnh: `grep -rl 'https://git.renolation.com/renolation/dbiz-lake-k8s.git' | xargs sed -i 's#https://git.renolation.com/renolation/dbiz-lake-k8s.git#<url-thật>#g'`,
rồi cập nhật ArgoCD repo creds. Không phải chờ Gitea.
- **`<IMAGE_REGISTRY>`** trong values = registry chứa image. Đổi tương tự khi chuyển registry.
- **CI: Woodpecker** (đã có) build + push image. File: `.woodpecker/`. Secret registry khai trong Woodpecker UI.

View File

@@ -6,13 +6,13 @@ metadata:
spec:
project: default
sources:
- repoURL: <REPO_URL>
- repoURL: https://git.renolation.com/renolation/dbiz-lake-k8s.git
targetRevision: main
path: charts/lake-cdc-job
helm:
valueFiles:
- $values/envs/dev/values/cdc-job.yaml
- repoURL: <REPO_URL>
- repoURL: https://git.renolation.com/renolation/dbiz-lake-k8s.git
targetRevision: main
ref: values
destination:

View File

@@ -6,7 +6,7 @@ metadata:
spec:
project: default
source:
repoURL: <REPO_URL>
repoURL: https://git.renolation.com/renolation/dbiz-lake-k8s.git
targetRevision: main
path: envs/dev/infra
directory:

View File

@@ -6,7 +6,7 @@ metadata:
spec:
project: default
source:
repoURL: <REPO_URL>
repoURL: https://git.renolation.com/renolation/dbiz-lake-k8s.git
targetRevision: main
path: envs/dev/kafka
directory: { recurse: true }

View File

@@ -6,7 +6,7 @@ metadata:
spec:
project: default
source:
repoURL: <REPO_URL>
repoURL: https://git.renolation.com/renolation/dbiz-lake-k8s.git
targetRevision: main
path: envs/dev/apps
destination: