chore(argocd): track main branch instead of prod for auto-sync on every commit
This commit is contained in:
@@ -9,11 +9,9 @@
|
||||
# `POST /v1/chat/completions` covers every model. See
|
||||
# docs/adr/ADR-0001-retire-kong-for-go-gateway.md in the frontend repo.
|
||||
#
|
||||
# UPDATED 2026-08-21: Tracks prod branch of homelab-frontend (not main).
|
||||
# Image promotion via kustomization:
|
||||
# cd k8s && kustomize edit set image forgejo.riotpiao.com/rock/api-gateway=forgejo.riotpiao.com/rock/api-gateway:<commit-sha>
|
||||
# git add kustomization.yaml && git commit -m "chore(deploy): promote api-gateway to <commit-sha>"
|
||||
# git push origin prod
|
||||
# UPDATED 2026-08-22: Tracks main branch of homelab-frontend (auto-syncs on each push).
|
||||
# Image built on every main commit with tag <commit-sha>.
|
||||
# ArgoCD auto-pulls the latest image (live reconciliation ~3min).
|
||||
#
|
||||
# Two sources:
|
||||
# 1. rock/homelab-frontend on the in-cluster Forgejo (prod branch) — the gateway's own
|
||||
@@ -43,7 +41,7 @@ spec:
|
||||
revisionHistoryLimit: 3
|
||||
sources:
|
||||
- repoURL: https://forgejo.riotpiao.com/rock/homelab-frontend.git
|
||||
targetRevision: prod
|
||||
targetRevision: main
|
||||
path: k8s
|
||||
- repoURL: https://github.com/Riotpiaole/riotpiao.homelab.com.git
|
||||
targetRevision: main
|
||||
|
||||
Reference in New Issue
Block a user