Skip to content

Commit

Permalink
Added information that the `kcp.provisioner.kyma-project.io/runtime-i…
Browse files Browse the repository at this point in the history
…d` label is being checked when looking for shoot
  • Loading branch information
akgalwas committed Jan 14, 2025
1 parent d11cb2e commit 20db9e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion hack/runtime-migrator/README-rb.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ The `backup-and-switch-results.json` file contains the following content:
]

```
In the above example the runtime with the `exxe4b14-7bc2-4947-931c-f8673793b02f` identifier was not found ; it may be incorrect, or the corresponding shoot was deleted for some reason.
In the above example the runtime with the `exxe4b14-7bc2-4947-931c-f8673793b02f` identifier was not found. In such a case verify whether:
- identifier is correct
- the corresponding shoot exists, and has `kcp.provisioner.kyma-project.io/runtime-id` label set

The runtime with the `a774bae2-ed8b-464e-85cc-ab8acd4461d5` was successfully processed and the backup was stored in the `backup/results/backup-2025-01-10T09:27:49+01:00/backup/a774bae2-ed8b-464e-85cc-ab8acd4461d5` folder. The `admin-cw4mz` Cluster Role Binding was marked as deprecated, and will be cleaned up at some point.

Expand Down
4 changes: 3 additions & 1 deletion hack/runtime-migrator/README-rr.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ The `restore-results.json` file contains the following content:
]
```

In the above example the runtime with the `exxe4b14-7bc2-4947-931c-f8673793b02f` identifier was not found ; it may be incorrect, or the corresponding shoot was deleted for some reason.
In the above example the runtime with the `exxe4b14-7bc2-4947-931c-f8673793b02f` identifier was not found. In such a case verify whether:
- identifier is correct
- the corresponding shoot exists, and has `kcp.provisioner.kyma-project.io/runtime-id` label set

The runtime with the `a774bae2-ed8b-464e-85cc-ab8acd4461d5` was successfully restored. The shoot spec was patched, and the following resources recreated:
- `admin-cw4mz` of type Cluster Role Binding
Expand Down

0 comments on commit 20db9e8

Please sign in to comment.