Kind
Operatorpolicy
Group
rabbitmq.com
Version
v1beta1
apiVersion: rabbitmq.com/v1beta1 kind: Operatorpolicy 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
OperatorPolicySpec defines the desired state of OperatorPolicy https://www.rabbitmq.com/parameters.html#operator-policies
applyTo string
What this operator policy applies to: 'queues', 'classic_queues', 'quorum_queues', 'streams'. Default to 'queues'.
enum: queues, classic_queues, quorum_queues, streams
definition object required
OperatorPolicy definition. Required property.
name string required
Required property; cannot be updated
pattern string required
Regular expression pattern used to match queues, e.g. "^my-queue$". Required property.
priority integer
Default to '0'. In the event that more than one operator policy can match a given queue, the operator policy with the greatest priority applies.
rabbitmqClusterReference object required
Reference to the RabbitmqCluster that the operator 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
OperatorPolicyStatus defines the observed state of OperatorPolicy
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 OperatorPolicy. It corresponds to the OperatorPolicy's generation, which is updated on mutation by the API Server.
format: int64
Copied!