Skip to content

Commit 741c34d

Browse files
gman0ntnn
authored andcommitted
more fixes
On-behalf-of: @SAP robert.vasek@sap.com Signed-off-by: Robert Vasek <rvasek01@gmail.com>
1 parent 6d0dee1 commit 741c34d

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

how-to-guides/bootstrap-provider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ my-service Ready True
5555
The controller writes a kubeconfig Secret into the workspace where the `Provider` lives. Retrieve it:
5656

5757
```bash
58-
kubectl get secret my-service-provider-kubeconfig -o jsonpath='{.data.kubeconfig}' | base64 -d > provider-kubeconfig.yaml
58+
kubectl get secret my-service-provider-kubeconfig -n default -o jsonpath='{.data.kubeconfig}' | base64 -d > provider-kubeconfig.yaml
5959
```
6060

6161
Use this kubeconfig to authenticate against the provider workspace in kcp.

how-to-guides/onboard-managed-service.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ kubectl logs -n platform-mesh-system -l app=platform-mesh-operator --tail=50
7575

7676
## Step 3: Verify the kubeconfig Secret
7777

78-
Once `Ready`, the controller writes a kubeconfig Secret into the runtime cluster. Verify it exists:
78+
The controller writes the kubeconfig Secret during the `CopyingKubeconfig` phase. Once the resource is `Ready`, verify it exists:
7979

8080
```bash
8181
kubectl get secret my-service-provider-kubeconfig -n platform-mesh-system
@@ -95,8 +95,10 @@ kubectl get pods -n platform-mesh-system -l app.kubernetes.io/name=my-service-op
9595

9696
| Symptom | Likely cause |
9797
| --- | --- |
98-
| Stuck at `WaitingForProvider` | The `Provider` has not yet reached `Ready` — check the Provider controller logs for workspace or kubeconfig provisioning errors |
99-
| Stuck at `CopyingKubeconfig` | The Provider workspace is ready but the kubeconfig copy failed — check the ManagedProvider controller logs for Secret write errors |
98+
| Stuck at `WaitingForPlatformMesh` | The referenced `PlatformMesh` resource is not yet `Ready` — check the platform-mesh-operator logs and the `PlatformMesh` conditions |
99+
| Stuck at `WaitingForProvider` | The associated `Provider` has not yet reached `Ready` — check the Provider controller logs for workspace or kubeconfig provisioning errors |
100+
| Stuck at `CopyingKubeconfig` | The Provider controller has not yet populated the kubeconfig Secret — check the Provider controller logs |
101+
| Stuck at `CopyingKubeconfigFailed` | The `providerKubeconfigSecret` spec on the `Provider` does not match what the `ManagedProvider` expects — ensure the `providerKubeconfigSecret` fields are aligned between both resources |
100102
| Stuck at `Deploying` | The OCM component version does not exist in the registry, or FluxCD is not reconciling — check HelmRelease status in the namespace |
101103
| `Ready` but pods not running | The operator chart values may be misconfigured — check the HelmRelease events and operator pod logs |
102104

reference/resources/provider-resource.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ The **Provider controller**, part of the [Platform Mesh operator](/reference/com
5454
## What happens when you apply one
5555

5656
1. Finalizers are added for ordered cleanup.
57-
2. A workspace (WorkspaceType **`root:provider`**) is created under `root:providers`.
57+
2. A workspace (WorkspaceType **`root:provider`**) is created under `root:providers`. Its name is `<Provider.name>-<random-suffix>`.
5858
3. Inside that workspace, a ServiceAccount, ClusterRoleBinding, and token Secret are created.
59-
4. A kubeconfig is generated from those credentials and written to the Secret specified by `providerKubeconfigSecret` (or the default location).
59+
4. A kubeconfig is generated from those credentials and written to the Secret specified by `providerKubeconfigSecret` (or the default location). The Secret is placed in the workspace where the `Provider` object lives, not in the provider workspace itself.
6060
5. `status.phase` transitions to `Ready` once provisioning completes.
6161

6262
## Lifecycle

0 commit comments

Comments
 (0)