rename
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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 }
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user