File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,8 +45,15 @@ bin/backend \
4545```
4646
4747
48- 6 . Run ` kubectl ws create sub-provider --enter `
49- 7 . Bind the APIExport to the workspace
48+ 6 . Copy the kubeconfig to the consumer:
49+ ``` bash
50+ cp .kcp/admin.kubeconfig .kcp/sub-provider.kubeconfig
51+ export KUBECONFIG=.kcp/sub-provider.kubeconfig
52+ k ws use :root
53+ ```
54+
55+ 7 . Run ` kubectl ws create sub-provider --enter `
56+ 8 . Bind the APIExport to the workspace
5057``` bash
5158kubectl kcp bind apiexport root:kube-bind:kube-bind.io --accept-permission-claim clusterrolebindings.rbac.authorization.k8s.io \
5259 --accept-permission-claim clusterroles.rbac.authorization.k8s.io \
@@ -56,7 +63,7 @@ kubectl kcp bind apiexport root:kube-bind:kube-bind.io --accept-permission-claim
5663 --accept-permission-claim secrets.core \
5764 --accept-permission-claim namespaces.core \
5865 --accept-permission-claim serviceaccounts.rbac.authorization.k8s.io \
59- --accept-permission-claim roles.rbac.authorization.k8s.io \
66+ --accept-permission-claim roles.rbac.authorization.k8s.io
6067```
6168
62698 . Create CRD:
@@ -75,9 +82,6 @@ kubectl ws create consumer --enter
7582```
7683
7784
78-
79-
80-
8185## Debug
8286
8387``` bash
You can’t perform that action at this time.
0 commit comments