Skip to content

Commit f45c95e

Browse files
Revert "More edits to #2214"
This reverts commit dd17b82.
1 parent dd17b82 commit f45c95e

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

kubernetes/operator/using-topology-operator.md

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -521,19 +521,13 @@ Deleting custom resources will delete the corresponding resources in the RabbitM
521521
[finalizers](https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#finalizers) on all custom
522522
resources.
523523

524-
Starting from Messaging Topology Operator version `1.17`, the deletion behavior for `Federation`, `Queue`, `Shovel`, and `Vhost` resources
525-
can be controlled using the `deletionPolicy` property.
524+
Starting from Messaging Topology Operator version `1.17`, deletion behavior for `Federation`, `Queue`, `Shovel`, and `Vhost` resources can be controlled using the `deletionPolicy` field.
525+
This field determines what happens to the corresponding resource in RabbitMQ cluster when the custom resource is deleted. The deletionPolicy can be set to:
526+
* `delete`: The resource will be removed from RabbitMQ cluster when the custom resource deleted (default)
527+
* `retain`: The resource will remain in RabbitMQ cluster when the custom resource deleted
526528

527-
This property determines what happens to the corresponding resources in the cluster
528-
when the custom resource is deleted.
529-
530-
The `deletionPolicy` supports the following values:
531-
532-
* `delete`: the resource will be removed from the cluster when the custom resource is deleted (this is the default)
533-
* `retain`: the resource will remain in RabbitMQ cluster when the custom resource is deleted
534-
535-
The following uses a `Queue` resource:
536529

530+
Example using Queue resource:
537531
```yaml
538532
apiVersion: rabbitmq.com/v1beta1
539533
kind: Queue

0 commit comments

Comments
 (0)