Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM scratch

LABEL operators.operatorframework.io.bundle.mediatype.v1=plain
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
LABEL operators.operatorframework.io.bundle.package.v1=rabbitmq-messaging-topology-operator
LABEL operators.operatorframework.io.bundle.channels.v1=stable
LABEL operators.operatorframework.io.bundle.channel.default.v1=stable

COPY manifests /manifests/
COPY metadata /metadata/

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.1
name: bindings.rabbitmq.com
spec:
group: rabbitmq.com
names:
categories:
- rabbitmq
kind: Binding
listKind: BindingList
plural: bindings
singular: binding
scope: Namespaced
versions:
- name: v1beta1
schema:
openAPIV3Schema:
description: Binding is the Schema for the bindings 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: BindingSpec defines the desired state of Binding
properties:
arguments:
description: Cannot be updated
type: object
x-kubernetes-preserve-unknown-fields: true
destination:
description: Cannot be updated
type: string
destinationType:
description: Cannot be updated
enum:
- exchange
- queue
type: string
rabbitmqClusterReference:
description: |-
Reference to the RabbitmqCluster that the binding will be created in.
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:
default: ""
description: |-
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
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
routingKey:
description: Cannot be updated
type: string
source:
description: Cannot be updated
type: string
vhost:
default: /
description: Default to vhost '/'; cannot be updated
type: string
required:
- rabbitmqClusterReference
type: object
status:
description: BindingStatus defines the observed state of Binding
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 Binding. It corresponds to the
Binding'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: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.1
name: exchanges.rabbitmq.com
spec:
group: rabbitmq.com
names:
categories:
- rabbitmq
kind: Exchange
listKind: ExchangeList
plural: exchanges
singular: exchange
scope: Namespaced
versions:
- name: v1beta1
schema:
openAPIV3Schema:
description: Exchange is the Schema for the exchanges 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: ExchangeSpec defines the desired state of Exchange
properties:
arguments:
type: object
x-kubernetes-preserve-unknown-fields: true
autoDelete:
description: Cannot be updated
type: boolean
durable:
description: Cannot be updated
type: boolean
name:
description: Required property; cannot be updated
type: string
rabbitmqClusterReference:
description: |-
Reference to the RabbitmqCluster that the exchange will be created in.
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:
default: ""
description: |-
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
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
type:
default: direct
description: Cannot be updated
type: string
vhost:
default: /
description: Default to vhost '/'; cannot be updated
type: string
required:
- name
- rabbitmqClusterReference
type: object
status:
description: ExchangeStatus defines the observed state of Exchange
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 Exchange. It corresponds to the
Exchange'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: {}
Loading
Loading