apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: sales-dev-api-gateway-policies namespace: sales spec: interval: 10m sourceRef: kind: GitRepository name: k8s-platform # k8s-platform lives in flux-system: the templates are the platform's, # this Kustomization is the team's. sourceRef resolves in the # Kustomization's own namespace unless told otherwise, hence the # explicit namespace rather than a copy of the source per domain. namespace: flux-system path: ./dataplane-globalpolicy-template prune: true postBuild: substitute: NAME: sales-dev NAMESPACE: sales CONTROL_PLANE_REF_NAME: sales-dev-cp JWT_AUDIENCE_WHITELIST: '["sales-api", "mcp-sales"]' OIDC_ISSUER: https://keycloak.sttlab.local/realms/classic-models substituteFrom: - kind: ConfigMap name: dataplane-template-defaults