chore(argocd): update api-gateway to track homelab-frontend prod branch
This commit is contained in:
@@ -9,8 +9,14 @@
|
|||||||
# `POST /v1/chat/completions` covers every model. See
|
# `POST /v1/chat/completions` covers every model. See
|
||||||
# docs/adr/ADR-0001-retire-kong-for-go-gateway.md in the frontend repo.
|
# 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
|
||||||
|
#
|
||||||
# Two sources:
|
# Two sources:
|
||||||
# 1. rock/homelab-frontend on the in-cluster Forgejo — the gateway's own
|
# 1. rock/homelab-frontend on the in-cluster Forgejo (prod branch) — the gateway's own
|
||||||
# kustomization (Deployment, Service, ConfigMap, RBAC, NetworkPolicy). It
|
# kustomization (Deployment, Service, ConfigMap, RBAC, NetworkPolicy). It
|
||||||
# sets `namespace: api` itself, so no transformer is needed here. The
|
# sets `namespace: api` itself, so no transformer is needed here. The
|
||||||
# Forgejo host must stay listed in the `homelab` AppProject sourceRepos or
|
# Forgejo host must stay listed in the `homelab` AppProject sourceRepos or
|
||||||
@@ -37,7 +43,7 @@ spec:
|
|||||||
revisionHistoryLimit: 3
|
revisionHistoryLimit: 3
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://forgejo.riotpiao.com/rock/homelab-frontend.git
|
- repoURL: https://forgejo.riotpiao.com/rock/homelab-frontend.git
|
||||||
targetRevision: main
|
targetRevision: prod
|
||||||
path: k8s
|
path: k8s
|
||||||
- repoURL: https://github.com/Riotpiaole/riotpiao.homelab.com.git
|
- repoURL: https://github.com/Riotpiaole/riotpiao.homelab.com.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
|
|||||||
Reference in New Issue
Block a user