Files
homelab-frontend/k8s/kustomization.yaml
T
Story Crater Bot 9740334d24
Build and push / Build and push image (push) Successful in 29s
Build / Build and push image (push) Successful in 27s
CI / Test, vet, build (push) Successful in 2m17s
ci(main): push latest tag on main commits, auto-deploy via kustomization
2026-08-21 20:56:47 -07:00

28 lines
679 B
YAML

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: api
resources:
- rbac.yaml
- service.yaml
- deployment.yaml
- network-policy.yaml
- configmap.yaml
# The deployed image tag lives here and nowhere else. CI publishes
# forgejo.riotpiao.com/rock/api-gateway:<commit-sha> and tags it as :latest on main.
# ArgoCD auto-syncs when the latest image is available.
images:
- name: forgejo.riotpiao.com/rock/api-gateway
newTag: latest
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