Skip to content

Commit 66fca41

Browse files
committed
chore: again, fix README.md to clarify migration behavior
1 parent 36a6729 commit 66fca41

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,14 @@ In more complex scenarios, users might want the operator to manage existing Mini
8585

8686
1. Model and deploy a _minio-operator-ext_ resource modelling the existing Minio object.
8787
2. Verify that the deployed resource _fails to reconcile_ because the operator detects that the resource already exists
88-
3. Patch/edit the resource with a _.spec.migrate_ set to _true_. For example, you'd edit an existing _MinioBucket_ named 'a' with the following field:
88+
3. Patch/edit the resource - adding a new field, _.spec.migrate_, set to _true_. For example, an edited resource might look like:
8989
```yaml
9090
apiVersion: bfiola.dev/v1
9191
kind: MinioBucket
9292
...
9393
spec:
9494
...
95-
name: a
96-
migrate: true # <- add this
95+
migrate: true # <- add this field
9796
```
9897
4. The operator will acknowledge the _.spec.migrate_ field, ignore existence checks and 'take ownership' of the existing resource.
9998
5. The operator will delete the _.spec.migrate_ field - indicating that the operator now manages the resource.

0 commit comments

Comments
 (0)