blob: 898f85a82ef45311db4aa9014a54c4e31d5da040 [file] [log] [blame]
# Source: https://raw.githubusercontent.com/rabbitmq/messaging-topology-operator/v{version}/config/crd/bases/rabbitmq.com_permissions.yaml
# Version: 1.14.1
# VersionOf: rmq-messaging-topology-operator
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
name: permissions.rabbitmq.com
spec:
group: rabbitmq.com
names:
categories:
- rabbitmq
kind: Permission
listKind: PermissionList
plural: permissions
singular: permission
scope: Namespaced
versions:
- name: v1beta1
schema:
openAPIV3Schema:
description: Permission is the Schema for the permissions API
properties:
apiVersion:
description: |-
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
type: string
kind:
description: |-
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
type: string
metadata:
type: object
spec:
description: PermissionSpec defines the desired state of Permission
properties:
permissions:
description: |-
Permissions to grant to the user in the specific vhost; required property.
See RabbitMQ doc for more information: https://www.rabbitmq.com/access-control.html#user-management
properties:
configure:
type: string
read:
type: string
write:
type: string
type: object
rabbitmqClusterReference:
description: |-
Reference to the RabbitmqCluster that both the provided user and vhost are.
Required property.
properties:
connectionSecret:
description: |-
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.
properties:
name:
description: |-
Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind, uid?
type: string
type: object
x-kubernetes-map-type: atomic
name:
description: |-
The name of the RabbitMQ cluster to reference.
Have to set either name or connectionSecret, but not both.
type: string
namespace:
description: |-
The namespace of the RabbitMQ cluster to reference.
Defaults to the namespace of the requested resource if omitted.
type: string
type: object
user:
description: Name of an existing user; must provide user or userReference,
else create/update will fail; cannot be updated
type: string
userReference:
description: Reference to an existing user.rabbitmq.com object; must
provide user or userReference, else create/update will fail; cannot
be updated
properties:
name:
description: |-
Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind, uid?
type: string
type: object
x-kubernetes-map-type: atomic
vhost:
description: Name of an existing vhost; required property; cannot
be updated
type: string
required:
- permissions
- rabbitmqClusterReference
- vhost
type: object
status:
description: PermissionStatus defines the observed state of Permission
properties:
conditions:
items:
properties:
lastTransitionTime:
description: The last time this Condition status changed.
format: date-time
type: string
message:
description: Full text reason for current status of the condition.
type: string
reason:
description: One word, camel-case reason for current status
of the condition.
type: string
status:
description: True, False, or Unknown
type: string
type:
description: Type indicates the scope of the custom resource
status addressed by the condition.
type: string
required:
- status
- type
type: object
type: array
observedGeneration:
description: |-
observedGeneration is the most recent successful generation observed for this Permission. It corresponds to the
Permission's generation, which is updated on mutation by the API Server.
format: int64
type: integer
type: object
type: object
served: true
storage: true
subresources:
status: {}