Skip to content

Commit a3a4bd2

Browse files
committed
simplify doc
1 parent 1ce5bce commit a3a4bd2

2 files changed

Lines changed: 68 additions & 445 deletions

File tree

contrib/kcp/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,20 @@ kubectl ws create consumer --enter
242242
This is where it starts to differ from normal setup. CLI login and binding will not work without OIDC and API.
243243
So we need manually create binding request.
244244

245+
**Backend-Only Binding Process:**
246+
247+
In traditional mode, `BindableResourcesRequest` is sent as a REST API payload to the backend HTTP server, which then:
248+
1. Creates a dedicated namespace for the consumer
249+
2. Generates a kubeconfig for that namespace
250+
3. Returns it as an HTTP response
251+
252+
In backend-only mode, `BindableResourcesRequest` is a **CRD** that triggers the same binding process:
253+
1. A controller watches for `BindableResourcesRequest` resources
254+
2. Creates the namespace and kubeconfig automatically
255+
3. Stores the response in a Secret (specified by `kubeconfigSecretRef`)
256+
257+
This enables GitOps and automation without requiring HTTP API access.
258+
245259
We need first to get identity for the cluster we gonna use.
246260
```
247261
kubectl bind cluster-identity

0 commit comments

Comments
 (0)