Skip to content

Commit

Permalink
[artemiscloud-operator-crds] - initial version
Browse files Browse the repository at this point in the history
Signed-off-by: Tiago Bueno <[email protected]>
  • Loading branch information
tlbueno committed May 21, 2024
1 parent 46dea5b commit 4f7d8b6
Show file tree
Hide file tree
Showing 7 changed files with 5,965 additions and 0 deletions.
23 changes: 23 additions & 0 deletions charts/artemiscloud-operator-crds/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
21 changes: 21 additions & 0 deletions charts/artemiscloud-operator-crds/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: v2
name: artemiscloud-operator-crds
description: A Helm chart to install ArtemisCloud Operator CRDs

# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
# Along with chart version, the app version needs to in match with the operator version where the CRDs
# where consumed from, also, it must match with the parent chart appVersion.
appVersion: "1.1.0"
9 changes: 9 additions & 0 deletions charts/artemiscloud-operator-crds/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Thank you for installing {{ .Chart.Name }}.

Your release is named {{ .Release.Name }}.

To learn more about the release, try:

$ helm status {{ .Release.Name }}
$ helm get all {{ .Release.Name }}

4,570 changes: 4,570 additions & 0 deletions charts/artemiscloud-operator-crds/templates/broker_activemqartemis_crd.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,335 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.11.2
name: activemqartemisaddresses.broker.amq.io
spec:
group: broker.amq.io
names:
kind: ActiveMQArtemisAddress
listKind: ActiveMQArtemisAddressList
plural: activemqartemisaddresses
shortNames:
- aaa
singular: activemqartemisaddress
scope: Namespaced
versions:
- name: v1beta1
schema:
openAPIV3Schema:
description: Adding and removing addresses using custom resource definitions
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: ActiveMQArtemisAddressSpec defines the desired state of ActiveMQArtemisAddress
properties:
addressName:
description: The Address Name
type: string
applyToCrNames:
description: Apply to the broker crs in the current namespace. A value of * or empty string means applying to all broker crs. Default apply to all broker crs
items:
type: string
type: array
password:
description: The password for the user
type: string
queueConfiguration:
description: Specify the queue configuration
properties:
autoCreateAddress:
description: Whether auto create address
type: boolean
autoDelete:
description: Auto-delete the queue
type: boolean
autoDeleteDelay:
description: Delay (Milliseconds) before auto-delete the queue
format: int64
type: integer
autoDeleteMessageCount:
description: Message count of the queue to allow auto delete
format: int64
type: integer
configurationManaged:
description: If the queue is configuration managed
type: boolean
consumerPriority:
description: Consumer Priority
format: int32
type: integer
consumersBeforeDispatch:
description: Number of consumers required before dispatching messages
format: int32
type: integer
delayBeforeDispatch:
description: Milliseconds to wait for `consumers-before-dispatch` to be met before dispatching messages anyway
format: int64
type: integer
durable:
description: If the queue is durable or not
type: boolean
enabled:
description: If the queue is enabled
type: boolean
exclusive:
description: If the queue is exclusive
type: boolean
filterString:
description: The filter string for the queue
type: string
groupBuckets:
description: Number of messaging group buckets
format: int32
type: integer
groupFirstKey:
description: Header set on the first group message
type: string
groupRebalance:
description: If rebalance the message group
type: boolean
groupRebalancePauseDispatch:
description: If pause message dispatch when rebalancing groups
type: boolean
ignoreIfExists:
description: If ignore if the target queue already exists
type: boolean
lastValue:
description: If it is a last value queue
type: boolean
lastValueKey:
description: The property used for last value queue to identify last values
type: string
maxConsumers:
description: Max number of consumers allowed on this queue
format: int32
type: integer
nonDestructive:
description: If force non-destructive consumers on the queue
type: boolean
purgeOnNoConsumers:
description: Whether to delete all messages when no consumers connected to the queue
type: boolean
ringSize:
description: The size the queue should maintain according to ring semantics
format: int64
type: integer
routingType:
description: The routing type of the queue
type: string
temporary:
description: If the queue is temporary
type: boolean
user:
description: The user associated with the queue
type: string
type: object
queueName:
description: The Queue Name
type: string
removeFromBrokerOnDelete:
description: Whether or not delete the queue from broker when CR is undeployed(default false)
type: boolean
routingType:
description: The Routing Type
type: string
user:
description: User name for creating the queue or address
type: string
type: object
status:
description: ActiveMQArtemisAddressStatus defines the observed state of ActiveMQArtemisAddress
type: object
type: object
served: true
storage: true
subresources:
status: {}
- name: v2alpha1
schema:
openAPIV3Schema:
description: ActiveMQArtemisAddress is the Schema for the activemqartemisaddresses 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: ActiveMQArtemisAddressSpec defines the desired state of ActiveMQArtemisAddress
properties:
addressName:
type: string
queueName:
type: string
routingType:
type: string
required:
- addressName
- queueName
- routingType
type: object
status:
description: ActiveMQArtemisAddressStatus defines the observed state of ActiveMQArtemisAddress
type: object
type: object
served: true
storage: false
subresources:
status: {}
- name: v2alpha2
schema:
openAPIV3Schema:
description: ActiveMQArtemisAddress is the Schema for the activemqartemisaddresses 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: ActiveMQArtemisAddressSpec defines the desired state of ActiveMQArtemisAddress
properties:
addressName:
type: string
queueName:
type: string
removeFromBrokerOnDelete:
type: boolean
routingType:
type: string
required:
- addressName
- queueName
- removeFromBrokerOnDelete
- routingType
type: object
status:
description: ActiveMQArtemisAddressStatus defines the observed state of ActiveMQArtemisAddress
type: object
type: object
served: true
storage: false
subresources:
status: {}
- name: v2alpha3
schema:
openAPIV3Schema:
description: ActiveMQArtemisAddress is the Schema for the activemqartemisaddresses 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: ActiveMQArtemisAddressSpec defines the desired state of ActiveMQArtemisAddress
properties:
addressName:
type: string
applyToCrNames:
items:
type: string
type: array
password:
type: string
queueConfiguration:
properties:
autoCreateAddress:
type: boolean
autoDelete:
type: boolean
autoDeleteDelay:
format: int64
type: integer
autoDeleteMessageCount:
format: int64
type: integer
configurationManaged:
type: boolean
consumerPriority:
format: int32
type: integer
consumersBeforeDispatch:
format: int32
type: integer
delayBeforeDispatch:
format: int64
type: integer
durable:
type: boolean
enabled:
type: boolean
exclusive:
type: boolean
filterString:
type: string
groupBuckets:
format: int32
type: integer
groupFirstKey:
type: string
groupRebalance:
type: boolean
groupRebalancePauseDispatch:
type: boolean
ignoreIfExists:
type: boolean
lastValue:
type: boolean
lastValueKey:
type: string
maxConsumers:
format: int32
type: integer
nonDestructive:
type: boolean
purgeOnNoConsumers:
type: boolean
ringSize:
format: int64
type: integer
routingType:
type: string
temporary:
type: boolean
user:
type: string
required:
- maxConsumers
- purgeOnNoConsumers
type: object
queueName:
type: string
removeFromBrokerOnDelete:
type: boolean
routingType:
type: string
user:
type: string
type: object
status:
description: ActiveMQArtemisAddressStatus defines the observed state of ActiveMQArtemisAddress
type: object
type: object
served: true
storage: false
subresources:
status: {}
Loading

0 comments on commit 4f7d8b6

Please sign in to comment.