Build customers-api REST layer (Layer 3), mirroring catalog-api

8 routes over Customer + orders/payments sub-resources, proxying to
classic-models-api. openid-connect with RFC 8693 token exchange to
classic-models-api audience, rate-limiting, proxy-cache, audit-log —
same plugin set and structure as catalog-api's REST surface.

Not deployed: dev/gitrepository.yaml points at a gitea repo that
doesn't exist yet (kong-customers-api.git, 404). No MCP layer yet
either, unlike catalog-api.
This commit is contained in:
Stéphane Tailland
2026-08-23 14:34:47 +02:00
parent 7ab1cbb569
commit 66565367f1
17 changed files with 775 additions and 9 deletions
+25
View File
@@ -0,0 +1,25 @@
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: customers-api-git-auth
namespace: customers
spec:
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: vault-kong-v2
target:
name: customers-api-git-auth
data:
- secretKey: identity
remoteRef:
key: kong-v2/customers-api/git-deploy-key
property: identity
- secretKey: identity.pub
remoteRef:
key: kong-v2/customers-api/git-deploy-key
property: identity.pub
- secretKey: known_hosts
remoteRef:
key: kong-v2/customers-api/git-deploy-key
property: known_hosts