-
Notifications
You must be signed in to change notification settings - Fork 66
/
policy.yaml
21 lines (21 loc) · 755 Bytes
/
policy.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
apiVersion: rabbitmq.com/v1beta1
kind: Policy
metadata:
name: policy-example
spec:
name: transient # name of the policy
vhost: "/a-vhost" # default to '/' if not provided
pattern: "^amq." # regex used to match queues and exchanges
applyTo: "queues" # set to 'queues', 'exchanges', or 'all'
priority: 1 # defaults to 0
definition: # policy definition
expires: 1800000
rabbitmqClusterReference:
name: test # rabbitmqCluster must exist in the same namespace as this resource
# status:
# conditions:
# - lastTransitionTime: ""
# status: "True" # true, false, or unknown
# type: Ready
# Reason: "SuccessfulCreateOrUpdate" # status false result in reason FailedCreateOrUpdate
# Message: "" # set when status is false