2026-08-19 20:52:13 -07:00
|
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
|
|
|
kind: Kustomization
|
|
|
|
|
|
|
|
|
|
namespace: api
|
|
|
|
|
|
|
|
|
|
resources:
|
|
|
|
|
- rbac.yaml
|
|
|
|
|
- service.yaml
|
|
|
|
|
- deployment.yaml
|
|
|
|
|
- network-policy.yaml
|
|
|
|
|
- configmap.yaml
|
|
|
|
|
|
2026-08-19 21:48:11 -07:00
|
|
|
# The deployed image tag lives here and nowhere else. CI publishes
|
|
|
|
|
# forgejo.riotpiao.com/rock/api-gateway:<commit-sha>; promoting a build is a
|
|
|
|
|
# one-line commit bumping newTag, which Argo then syncs (G7).
|
|
|
|
|
#
|
|
|
|
|
# kustomize edit set image forgejo.riotpiao.com/rock/api-gateway=:<sha>
|
|
|
|
|
images:
|
|
|
|
|
- name: forgejo.riotpiao.com/rock/api-gateway
|
2026-08-19 23:57:21 -07:00
|
|
|
newTag: v0.1.0
|
2026-08-19 21:48:11 -07:00
|
|
|
|
2026-08-19 20:52:13 -07:00
|
|
|
commonLabels:
|
|
|
|
|
app: api-gateway
|
|
|
|
|
managed-by: argocd
|
|
|
|
|
|
|
|
|
|
commonAnnotations:
|
|
|
|
|
argocd.argoproj.io/sync-wave: "2"
|
|
|
|
|
# Wave 2 ensures the gateway is ready before anything that depends on it
|
|
|
|
|
# Kong remains on wave 7 unchanged
|