# Watches ./dev/api-gateway so the entrypoints in it — the GitRepository above, # the gateway and policies Kustomizations, the ExternalSecrets — reconcile from # git instead of waiting on a kubectl apply. Lives in that directory, so it # manages itself. # # In the payments namespace, not flux-system. The gateway Kustomizations sat in # flux-system only because postBuild.substituteFrom reads a ConfigMap from its # own namespace and dataplane-template-defaults existed nowhere else. That # ConfigMap is now in every domain namespace, so the constraint is gone and the # team can own its own gateway. # # Apply once with kubectl. That is the last manual apply this repo needs. apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: dataplane-payments-dev-bootstrap namespace: payments spec: interval: 10m sourceRef: kind: GitRepository name: dataplane-payments-dev path: ./dev/api-gateway prune: true