2880e21ef1
16 routes: Office (single key, full CRUD + employees sub-resource) and Employee (single key, full CRUD + reports + customers sub-resources). MCP layer built with the single-route pattern from the start. Only domain where customer role has zero access — verified against ReferenceDataPermission.check(): read_only/product_manager/support get reads, writes are admin-only, customer isn't in the allow-list at all. All 9 MCP tool ACLs reflect this exactly. Keycloak (local): workforce-api-audience + mcp-workforce-audience client scopes, resource clients, broker/librechat attachments. Deploy key and broker secret reused/mirrored, same pattern as every domain since payments-api.
60 lines
1.3 KiB
YAML
60 lines
1.3 KiB
YAML
apiVersion: configuration.konghq.com/v1beta1
|
|
kind: KongConsumerGroup
|
|
metadata:
|
|
name: ${NAME}-admin
|
|
namespace: ${NAMESPACE}
|
|
spec:
|
|
controlPlaneRef:
|
|
type: konnectNamespacedRef
|
|
konnectNamespacedRef:
|
|
name: ${CONTROL_PLANE_REF_NAME}
|
|
name: admin
|
|
---
|
|
apiVersion: configuration.konghq.com/v1beta1
|
|
kind: KongConsumerGroup
|
|
metadata:
|
|
name: ${NAME}-read-only
|
|
namespace: ${NAMESPACE}
|
|
spec:
|
|
controlPlaneRef:
|
|
type: konnectNamespacedRef
|
|
konnectNamespacedRef:
|
|
name: ${CONTROL_PLANE_REF_NAME}
|
|
name: read_only
|
|
---
|
|
apiVersion: configuration.konghq.com/v1beta1
|
|
kind: KongConsumerGroup
|
|
metadata:
|
|
name: ${NAME}-product-manager
|
|
namespace: ${NAMESPACE}
|
|
spec:
|
|
controlPlaneRef:
|
|
type: konnectNamespacedRef
|
|
konnectNamespacedRef:
|
|
name: ${CONTROL_PLANE_REF_NAME}
|
|
name: product_manager
|
|
---
|
|
apiVersion: configuration.konghq.com/v1beta1
|
|
kind: KongConsumerGroup
|
|
metadata:
|
|
name: ${NAME}-customer
|
|
namespace: ${NAMESPACE}
|
|
spec:
|
|
controlPlaneRef:
|
|
type: konnectNamespacedRef
|
|
konnectNamespacedRef:
|
|
name: ${CONTROL_PLANE_REF_NAME}
|
|
name: customer
|
|
---
|
|
apiVersion: configuration.konghq.com/v1beta1
|
|
kind: KongConsumerGroup
|
|
metadata:
|
|
name: ${NAME}-support
|
|
namespace: ${NAMESPACE}
|
|
spec:
|
|
controlPlaneRef:
|
|
type: konnectNamespacedRef
|
|
konnectNamespacedRef:
|
|
name: ${CONTROL_PLANE_REF_NAME}
|
|
name: support
|