Kind
Policy
Group
rabbitmq.com
Version
v1beta1
apiVersion: rabbitmq.com/v1beta1 kind: Policy metadata: name: example
View raw schema
apiVersion string
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind string
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata object
spec object
PolicySpec defines the desired state of Policy https://www.rabbitmq.com/parameters.html#policies
applyTo string
What this policy applies to: 'queues', 'classic_queues', 'quorum_queues', 'streams', 'exchanges', or 'all'. Default to 'all'.
enum: queues, classic_queues, quorum_queues, streams, exchanges, all
definition object required
Policy definition. Required property.
name string required
Required property; cannot be updated
pattern string required
Regular expression pattern used to match queues and exchanges, e.g. "^amq.". Required property.
priority integer
Default to '0'. In the event that more than one policy can match a given exchange or queue, the policy with the greatest priority applies.
rabbitmqClusterReference object required
Reference to the RabbitmqCluster that the policy will be created in. Required property.
connectionSecret object
Secret contains the http management uri for the RabbitMQ cluster. The Secret must contain the key `uri`, `username` and `password` or operator will error. Have to set either name or connectionSecret, but not both.
name string
Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
name string
The name of the RabbitMQ cluster to reference. Have to set either name or connectionSecret, but not both.
namespace string
The namespace of the RabbitMQ cluster to reference. Defaults to the namespace of the requested resource if omitted.
vhost string
Default to vhost '/'; cannot be updated
status object
PolicyStatus defines the observed state of Policy
conditions []object
lastTransitionTime string
The last time this Condition status changed.
format: date-time
message string
Full text reason for current status of the condition.
reason string
One word, camel-case reason for current status of the condition.
status string required
True, False, or Unknown
type string required
Type indicates the scope of the custom resource status addressed by the condition.
observedGeneration integer
observedGeneration is the most recent successful generation observed for this Policy. It corresponds to the Policy's generation, which is updated on mutation by the API Server.
format: int64
Copied!