Skip to content

Commit

Permalink
Update rabbitmq topology and cluster schemas (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
tgh19 authored Apr 7, 2023
1 parent 6b9ce51 commit e6f9b33
Show file tree
Hide file tree
Showing 13 changed files with 828 additions and 58 deletions.
17 changes: 13 additions & 4 deletions rabbitmq.com/binding_v1beta1.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,27 @@
"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": {
"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",
"additionalProperties": false
},
"name": {
"description": "The name of the RabbitMQ cluster to reference.",
"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"
}
},
"required": [
"name"
],
"type": "object",
"additionalProperties": false
},
Expand Down
17 changes: 13 additions & 4 deletions rabbitmq.com/exchange_v1beta1.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,27 @@
"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": {
"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",
"additionalProperties": false
},
"name": {
"description": "The name of the RabbitMQ cluster to reference.",
"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"
}
},
"required": [
"name"
],
"type": "object",
"additionalProperties": false
},
Expand Down
18 changes: 14 additions & 4 deletions rabbitmq.com/federation_v1beta1.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,27 @@
"rabbitmqClusterReference": {
"description": "Reference to the RabbitmqCluster that this federation upstream 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": {
"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",
"additionalProperties": false
},
"name": {
"description": "The name of the RabbitMQ cluster to reference.",
"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"
}
},
"required": [
"name"
],
"type": "object",
"additionalProperties": false
},
Expand All @@ -78,6 +87,7 @@
}
},
"type": "object",
"x-kubernetes-map-type": "atomic",
"additionalProperties": false
},
"vhost": {
Expand Down
18 changes: 14 additions & 4 deletions rabbitmq.com/permission_v1beta1.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,27 @@
"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",
"additionalProperties": false
},
"name": {
"description": "The name of the RabbitMQ cluster to reference.",
"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"
}
},
"required": [
"name"
],
"type": "object",
"additionalProperties": false
},
Expand All @@ -62,6 +71,7 @@
}
},
"type": "object",
"x-kubernetes-map-type": "atomic",
"additionalProperties": false
},
"vhost": {
Expand Down
17 changes: 13 additions & 4 deletions rabbitmq.com/policy_v1beta1.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,27 @@
"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": {
"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",
"additionalProperties": false
},
"name": {
"description": "The name of the RabbitMQ cluster to reference.",
"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"
}
},
"required": [
"name"
],
"type": "object",
"additionalProperties": false
},
Expand Down
17 changes: 13 additions & 4 deletions rabbitmq.com/queue_v1beta1.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,27 @@
"rabbitmqClusterReference": {
"description": "Reference to the RabbitmqCluster that the queue 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": {
"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",
"additionalProperties": false
},
"name": {
"description": "The name of the RabbitMQ cluster to reference.",
"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"
}
},
"required": [
"name"
],
"type": "object",
"additionalProperties": false
},
Expand Down
Loading

0 comments on commit e6f9b33

Please sign in to comment.