Skip to content

Commit dd17b82

Browse files
More edits to #2214
1 parent f491f20 commit dd17b82

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

kubernetes/operator/using-topology-operator.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -521,13 +521,19 @@ 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`, 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
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.
528526

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:
529536

530-
Example using Queue resource:
531537
```yaml
532538
apiVersion: rabbitmq.com/v1beta1
533539
kind: Queue

0 commit comments

Comments
 (0)