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
|
2026-08-21 20:56:47 -07:00
|
|
|
# forgejo.riotpiao.com/rock/api-gateway:<commit-sha> and tags it as :latest on main.
|
|
|
|
|
# ArgoCD auto-syncs when the latest image is available.
|
2026-08-19 21:48:11 -07:00
|
|
|
images:
|
|
|
|
|
- name: forgejo.riotpiao.com/rock/api-gateway
|
2026-08-21 20:56:47 -07:00
|
|
|
newTag: latest
|
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
|