From 7063274e0c2aca800412d2bf77ab9a3ed719673a Mon Sep 17 00:00:00 2001 From: Chunyi Lyu Date: Tue, 27 Apr 2021 17:29:37 +0100 Subject: [PATCH] Bump API version to v1beta1 --- Makefile | 2 +- PROJECT | 16 +- api/{v1alpha2 => v1beta1}/binding_types.go | 2 +- .../binding_types_test.go | 2 +- api/{v1alpha2 => v1beta1}/binding_webhook.go | 4 +- .../binding_webhook_test.go | 2 +- api/{v1alpha2 => v1beta1}/conditions.go | 2 +- api/{v1alpha2 => v1beta1}/conditions_test.go | 2 +- api/{v1alpha2 => v1beta1}/exchange_types.go | 2 +- .../exchange_types_test.go | 2 +- api/{v1alpha2 => v1beta1}/exchange_webhook.go | 4 +- .../exchange_webhook_test.go | 2 +- .../groupversion_info.go | 6 +- api/{v1alpha2 => v1beta1}/permission_types.go | 2 +- .../permission_types_test.go | 2 +- .../permission_webhook.go | 4 +- .../permission_webhook_test.go | 2 +- api/{v1alpha2 => v1beta1}/policy_types.go | 2 +- .../policy_types_test.go | 2 +- api/{v1alpha2 => v1beta1}/policy_webhook.go | 4 +- .../policy_webhook_test.go | 2 +- api/{v1alpha2 => v1beta1}/queue_types.go | 2 +- api/{v1alpha2 => v1beta1}/queue_types_test.go | 2 +- api/{v1alpha2 => v1beta1}/queue_webhook.go | 4 +- .../queue_webhook_test.go | 2 +- .../schemareplication_types.go | 2 +- .../schemareplication_types_test.go | 2 +- .../schemareplication_webhook.go | 4 +- .../schemareplication_webhook_test.go | 2 +- api/{v1alpha2 => v1beta1}/suite_test.go | 4 +- api/{v1alpha2 => v1beta1}/user_types.go | 2 +- api/{v1alpha2 => v1beta1}/user_types_test.go | 2 +- api/{v1alpha2 => v1beta1}/user_webhook.go | 4 +- .../user_webhook_test.go | 2 +- api/{v1alpha2 => v1beta1}/vhost_types.go | 2 +- api/{v1alpha2 => v1beta1}/vhost_types_test.go | 2 +- api/{v1alpha2 => v1beta1}/vhost_webhook.go | 4 +- .../vhost_webhook_test.go | 2 +- .../zz_generated.deepcopy.go | 2 +- config/crd/bases/rabbitmq.com_bindings.yaml | 2 +- config/crd/bases/rabbitmq.com_exchanges.yaml | 2 +- .../crd/bases/rabbitmq.com_permissions.yaml | 2 +- config/crd/bases/rabbitmq.com_policies.yaml | 2 +- config/crd/bases/rabbitmq.com_queues.yaml | 2 +- .../rabbitmq.com_schemareplications.yaml | 2 +- config/crd/bases/rabbitmq.com_users.yaml | 2 +- config/crd/bases/rabbitmq.com_vhosts.yaml | 2 +- config/webhook/manifests.yaml | 32 +- controllers/binding_controller.go | 2 +- controllers/binding_controller_test.go | 2 +- controllers/exchange_controller.go | 2 +- controllers/exchange_controller_test.go | 2 +- controllers/permission_controller.go | 2 +- controllers/permission_controller_test.go | 2 +- controllers/policy_controller.go | 2 +- controllers/policy_controller_test.go | 2 +- controllers/queue_controller.go | 2 +- controllers/queue_controller_test.go | 2 +- controllers/schemareplication_controller.go | 2 +- .../schemareplication_controller_test.go | 2 +- controllers/suite_test.go | 2 +- controllers/user_controller.go | 2 +- controllers/user_controller_test.go | 2 +- controllers/vhost_controller.go | 2 +- controllers/vhost_controller_test.go | 2 +- docs/api/rabbitmq.com.ref.asciidoc | 318 +++++++++--------- docs/examples/bindings/binding.yaml | 2 +- docs/examples/exchanges/direct-exchange.yaml | 2 +- docs/examples/exchanges/fanout-exchange.yaml | 2 +- docs/examples/permissions/permission.yaml | 2 +- docs/examples/policies/lazy-queue-policy.yaml | 2 +- docs/examples/policies/policy.yaml | 2 +- docs/examples/queues/lazy-queue.yaml | 4 +- docs/examples/queues/quorum-queue.yaml | 2 +- docs/examples/users/publish-consume-user.yaml | 4 +- docs/examples/users/user.yaml | 2 +- docs/examples/users/userPreDefinedCreds.yaml | 2 +- docs/examples/vhosts/vhost.yaml | 2 +- hack/update-codegen.sh | 12 +- internal/binding.go | 2 +- internal/binding_test.go | 2 +- internal/cluster_reference.go | 2 +- internal/cluster_reference_test.go | 2 +- internal/exchange_settings.go | 2 +- internal/exchange_settings_test.go | 2 +- internal/permissions.go | 2 +- internal/permissions_test.go | 2 +- internal/policy.go | 2 +- internal/policy_test.go | 2 +- internal/queue_settings.go | 2 +- internal/queue_settings_test.go | 2 +- internal/user_settings.go | 2 +- internal/user_settings_test.go | 2 +- internal/vhost_settings.go | 2 +- internal/vhost_settings_test.go | 2 +- main.go | 2 +- system_tests/binding_system_test.go | 2 +- system_tests/deletion_system_test.go | 2 +- system_tests/exchange_system_test.go | 2 +- system_tests/permissions_system_test.go | 2 +- system_tests/policy_system_test.go | 2 +- system_tests/queue_system_test.go | 2 +- .../schema_replication_system_test.go | 2 +- system_tests/suite_test.go | 2 +- system_tests/tls_system_test.go | 2 +- system_tests/user_system_test.go | 2 +- system_tests/vhost_system_test.go | 2 +- 107 files changed, 305 insertions(+), 305 deletions(-) rename api/{v1alpha2 => v1beta1}/binding_types.go (99%) rename api/{v1alpha2 => v1beta1}/binding_types_test.go (99%) rename api/{v1alpha2 => v1beta1}/binding_webhook.go (92%) rename api/{v1alpha2 => v1beta1}/binding_webhook_test.go (99%) rename api/{v1alpha2 => v1beta1}/conditions.go (98%) rename api/{v1alpha2 => v1beta1}/conditions_test.go (98%) rename api/{v1alpha2 => v1beta1}/exchange_types.go (99%) rename api/{v1alpha2 => v1beta1}/exchange_types_test.go (99%) rename api/{v1alpha2 => v1beta1}/exchange_webhook.go (92%) rename api/{v1alpha2 => v1beta1}/exchange_webhook_test.go (99%) rename api/{v1alpha2 => v1beta1}/groupversion_info.go (92%) rename api/{v1alpha2 => v1beta1}/permission_types.go (99%) rename api/{v1alpha2 => v1beta1}/permission_types_test.go (99%) rename api/{v1alpha2 => v1beta1}/permission_webhook.go (88%) rename api/{v1alpha2 => v1beta1}/permission_webhook_test.go (99%) rename api/{v1alpha2 => v1beta1}/policy_types.go (99%) rename api/{v1alpha2 => v1beta1}/policy_types_test.go (99%) rename api/{v1alpha2 => v1beta1}/policy_webhook.go (89%) rename api/{v1alpha2 => v1beta1}/policy_webhook_test.go (99%) rename api/{v1alpha2 => v1beta1}/queue_types.go (99%) rename api/{v1alpha2 => v1beta1}/queue_types_test.go (99%) rename api/{v1alpha2 => v1beta1}/queue_webhook.go (91%) rename api/{v1alpha2 => v1beta1}/queue_webhook_test.go (99%) rename api/{v1alpha2 => v1beta1}/schemareplication_types.go (99%) rename api/{v1alpha2 => v1beta1}/schemareplication_types_test.go (98%) rename api/{v1alpha2 => v1beta1}/schemareplication_webhook.go (85%) rename api/{v1alpha2 => v1beta1}/schemareplication_webhook_test.go (98%) rename api/{v1alpha2 => v1beta1}/suite_test.go (97%) rename api/{v1alpha2 => v1beta1}/user_types.go (99%) rename api/{v1alpha2 => v1beta1}/user_types_test.go (99%) rename api/{v1alpha2 => v1beta1}/user_webhook.go (86%) rename api/{v1alpha2 => v1beta1}/user_webhook_test.go (98%) rename api/{v1alpha2 => v1beta1}/vhost_types.go (99%) rename api/{v1alpha2 => v1beta1}/vhost_types_test.go (99%) rename api/{v1alpha2 => v1beta1}/vhost_webhook.go (88%) rename api/{v1alpha2 => v1beta1}/vhost_webhook_test.go (98%) rename api/{v1alpha2 => v1beta1}/zz_generated.deepcopy.go (99%) diff --git a/Makefile b/Makefile index 2c385567..b4c3803e 100644 --- a/Makefile +++ b/Makefile @@ -72,7 +72,7 @@ manifests: install-tools # Generate API reference documentation api-reference: crd-ref-docs \ - --source-path ./api/v1alpha2 \ + --source-path ./api/v1beta1 \ --config ./docs/api/autogen/config.yaml \ --templates-dir ./docs/api/autogen/templates \ --output-path ./docs/api/rabbitmq.com.ref.asciidoc \ diff --git a/PROJECT b/PROJECT index be243df5..3a77cb92 100644 --- a/PROJECT +++ b/PROJECT @@ -3,26 +3,26 @@ repo: github.com/rabbitmq/messaging-topology-operator resources: - group: rabbitmq.com kind: Queue - version: v1alpha2 + version: v1beta1 - group: rabbitmq.com kind: Exchange - version: v1alpha2 + version: v1beta1 - group: rabbitmq.com kind: Binding - version: v1alpha2 + version: v1beta1 - group: rabbitmq.com kind: User - version: v1alpha2 + version: v1beta1 - group: rabbitmq.com kind: Vhost - version: v1alpha2 + version: v1beta1 - group: rabbitmq.com kind: Policy - version: v1alpha2 + version: v1beta1 - group: rabbitmq.com kind: Permission - version: v1alpha2 + version: v1beta1 - group: rabbitmq.com kind: SchemaReplication - version: v1alpha2 + version: v1beta1 version: "2" diff --git a/api/v1alpha2/binding_types.go b/api/v1beta1/binding_types.go similarity index 99% rename from api/v1alpha2/binding_types.go rename to api/v1beta1/binding_types.go index d93e8157..15d83edd 100644 --- a/api/v1alpha2/binding_types.go +++ b/api/v1beta1/binding_types.go @@ -7,7 +7,7 @@ This product is licensed to you under the Mozilla Public License 2.0 license (th This product may include a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file. */ -package v1alpha2 +package v1beta1 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/api/v1alpha2/binding_types_test.go b/api/v1beta1/binding_types_test.go similarity index 99% rename from api/v1alpha2/binding_types_test.go rename to api/v1beta1/binding_types_test.go index 3fcb2f18..84175f06 100644 --- a/api/v1alpha2/binding_types_test.go +++ b/api/v1beta1/binding_types_test.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( "context" diff --git a/api/v1alpha2/binding_webhook.go b/api/v1beta1/binding_webhook.go similarity index 92% rename from api/v1alpha2/binding_webhook.go rename to api/v1beta1/binding_webhook.go index 68de3b77..67ce1fbc 100644 --- a/api/v1alpha2/binding_webhook.go +++ b/api/v1beta1/binding_webhook.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( "fmt" @@ -16,7 +16,7 @@ func (b *Binding) SetupWebhookWithManager(mgr ctrl.Manager) error { Complete() } -// +kubebuilder:webhook:verbs=create;update,path=/validate-rabbitmq-com-v1alpha2-binding,mutating=false,failurePolicy=fail,groups=rabbitmq.com,resources=bindings,versions=v1alpha2,name=vbinding.kb.io,sideEffects=none,admissionReviewVersions=v1 +// +kubebuilder:webhook:verbs=create;update,path=/validate-rabbitmq-com-v1beta1-binding,mutating=false,failurePolicy=fail,groups=rabbitmq.com,resources=bindings,versions=v1beta1,name=vbinding.kb.io,sideEffects=none,admissionReviewVersions=v1 var _ webhook.Validator = &Binding{} diff --git a/api/v1alpha2/binding_webhook_test.go b/api/v1beta1/binding_webhook_test.go similarity index 99% rename from api/v1alpha2/binding_webhook_test.go rename to api/v1beta1/binding_webhook_test.go index a570e72a..d81104c9 100644 --- a/api/v1alpha2/binding_webhook_test.go +++ b/api/v1beta1/binding_webhook_test.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( . "github.com/onsi/ginkgo" diff --git a/api/v1alpha2/conditions.go b/api/v1beta1/conditions.go similarity index 98% rename from api/v1alpha2/conditions.go rename to api/v1beta1/conditions.go index da620b8f..e28980d5 100644 --- a/api/v1alpha2/conditions.go +++ b/api/v1beta1/conditions.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( corev1 "k8s.io/api/core/v1" diff --git a/api/v1alpha2/conditions_test.go b/api/v1beta1/conditions_test.go similarity index 98% rename from api/v1alpha2/conditions_test.go rename to api/v1beta1/conditions_test.go index a5a0dde4..4f799c18 100644 --- a/api/v1alpha2/conditions_test.go +++ b/api/v1beta1/conditions_test.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( . "github.com/onsi/ginkgo" diff --git a/api/v1alpha2/exchange_types.go b/api/v1beta1/exchange_types.go similarity index 99% rename from api/v1alpha2/exchange_types.go rename to api/v1beta1/exchange_types.go index 1aa2eaed..6565201c 100644 --- a/api/v1alpha2/exchange_types.go +++ b/api/v1beta1/exchange_types.go @@ -7,7 +7,7 @@ This product is licensed to you under the Mozilla Public License 2.0 license (th This product may include a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file. */ -package v1alpha2 +package v1beta1 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/api/v1alpha2/exchange_types_test.go b/api/v1beta1/exchange_types_test.go similarity index 99% rename from api/v1alpha2/exchange_types_test.go rename to api/v1beta1/exchange_types_test.go index 5b12a2bc..d59387cc 100644 --- a/api/v1alpha2/exchange_types_test.go +++ b/api/v1beta1/exchange_types_test.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( "context" diff --git a/api/v1alpha2/exchange_webhook.go b/api/v1beta1/exchange_webhook.go similarity index 92% rename from api/v1alpha2/exchange_webhook.go rename to api/v1beta1/exchange_webhook.go index 07dd5a1e..c07a3e3d 100644 --- a/api/v1alpha2/exchange_webhook.go +++ b/api/v1beta1/exchange_webhook.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( "fmt" @@ -15,7 +15,7 @@ func (r *Exchange) SetupWebhookWithManager(mgr ctrl.Manager) error { Complete() } -// +kubebuilder:webhook:verbs=create;update,path=/validate-rabbitmq-com-v1alpha2-exchange,mutating=false,failurePolicy=fail,groups=rabbitmq.com,resources=exchanges,versions=v1alpha2,name=vexchange.kb.io,sideEffects=none,admissionReviewVersions=v1 +// +kubebuilder:webhook:verbs=create;update,path=/validate-rabbitmq-com-v1beta1-exchange,mutating=false,failurePolicy=fail,groups=rabbitmq.com,resources=exchanges,versions=v1beta1,name=vexchange.kb.io,sideEffects=none,admissionReviewVersions=v1 var _ webhook.Validator = &Exchange{} diff --git a/api/v1alpha2/exchange_webhook_test.go b/api/v1beta1/exchange_webhook_test.go similarity index 99% rename from api/v1alpha2/exchange_webhook_test.go rename to api/v1beta1/exchange_webhook_test.go index ee2c8069..19ac45a6 100644 --- a/api/v1alpha2/exchange_webhook_test.go +++ b/api/v1beta1/exchange_webhook_test.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( . "github.com/onsi/ginkgo" diff --git a/api/v1alpha2/groupversion_info.go b/api/v1beta1/groupversion_info.go similarity index 92% rename from api/v1alpha2/groupversion_info.go rename to api/v1beta1/groupversion_info.go index 02353cd7..88edce75 100644 --- a/api/v1alpha2/groupversion_info.go +++ b/api/v1beta1/groupversion_info.go @@ -7,10 +7,10 @@ This product is licensed to you under the Mozilla Public License 2.0 license (th This product may include a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file. */ -// Package v1alpha2 contains API Schema definitions for the rabbitmq.com v1alpha2 API group +// Package v1beta1 contains API Schema definitions for the rabbitmq.com v1beta1 API group // +kubebuilder:object:generate=true // +groupName=rabbitmq.com -package v1alpha2 +package v1beta1 import ( "k8s.io/apimachinery/pkg/runtime/schema" @@ -19,7 +19,7 @@ import ( var ( // GroupVersion is group version used to register these objects - GroupVersion = schema.GroupVersion{Group: "rabbitmq.com", Version: "v1alpha2"} + GroupVersion = schema.GroupVersion{Group: "rabbitmq.com", Version: "v1beta1"} // SchemeGroupVersion is group version used to register these objects // added for generated clientset diff --git a/api/v1alpha2/permission_types.go b/api/v1beta1/permission_types.go similarity index 99% rename from api/v1alpha2/permission_types.go rename to api/v1beta1/permission_types.go index 9bae1720..0c179a7d 100644 --- a/api/v1alpha2/permission_types.go +++ b/api/v1beta1/permission_types.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/api/v1alpha2/permission_types_test.go b/api/v1beta1/permission_types_test.go similarity index 99% rename from api/v1alpha2/permission_types_test.go rename to api/v1beta1/permission_types_test.go index 527552a3..4f961196 100644 --- a/api/v1alpha2/permission_types_test.go +++ b/api/v1beta1/permission_types_test.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( "context" diff --git a/api/v1alpha2/permission_webhook.go b/api/v1beta1/permission_webhook.go similarity index 88% rename from api/v1alpha2/permission_webhook.go rename to api/v1beta1/permission_webhook.go index 39498e9b..8fed9716 100644 --- a/api/v1alpha2/permission_webhook.go +++ b/api/v1beta1/permission_webhook.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( "fmt" @@ -15,7 +15,7 @@ func (p *Permission) SetupWebhookWithManager(mgr ctrl.Manager) error { Complete() } -// +kubebuilder:webhook:verbs=create;update,path=/validate-rabbitmq-com-v1alpha2-permission,mutating=false,failurePolicy=fail,groups=rabbitmq.com,resources=permissions,versions=v1alpha2,name=vpermission.kb.io,sideEffects=none,admissionReviewVersions=v1 +// +kubebuilder:webhook:verbs=create;update,path=/validate-rabbitmq-com-v1beta1-permission,mutating=false,failurePolicy=fail,groups=rabbitmq.com,resources=permissions,versions=v1beta1,name=vpermission.kb.io,sideEffects=none,admissionReviewVersions=v1 var _ webhook.Validator = &Permission{} diff --git a/api/v1alpha2/permission_webhook_test.go b/api/v1beta1/permission_webhook_test.go similarity index 99% rename from api/v1alpha2/permission_webhook_test.go rename to api/v1beta1/permission_webhook_test.go index 9c9e59d4..be394b20 100644 --- a/api/v1alpha2/permission_webhook_test.go +++ b/api/v1beta1/permission_webhook_test.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( . "github.com/onsi/ginkgo" diff --git a/api/v1alpha2/policy_types.go b/api/v1beta1/policy_types.go similarity index 99% rename from api/v1alpha2/policy_types.go rename to api/v1beta1/policy_types.go index 7de14fb8..c760d2d2 100644 --- a/api/v1alpha2/policy_types.go +++ b/api/v1beta1/policy_types.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/api/v1alpha2/policy_types_test.go b/api/v1beta1/policy_types_test.go similarity index 99% rename from api/v1alpha2/policy_types_test.go rename to api/v1beta1/policy_types_test.go index 3545ac55..2a74bab8 100644 --- a/api/v1alpha2/policy_types_test.go +++ b/api/v1beta1/policy_types_test.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( "context" diff --git a/api/v1alpha2/policy_webhook.go b/api/v1beta1/policy_webhook.go similarity index 89% rename from api/v1alpha2/policy_webhook.go rename to api/v1beta1/policy_webhook.go index 1b37adde..865deb35 100644 --- a/api/v1alpha2/policy_webhook.go +++ b/api/v1beta1/policy_webhook.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( "fmt" @@ -15,7 +15,7 @@ func (p *Policy) SetupWebhookWithManager(mgr ctrl.Manager) error { Complete() } -// +kubebuilder:webhook:verbs=create;update,path=/validate-rabbitmq-com-v1alpha2-policy,mutating=false,failurePolicy=fail,groups=rabbitmq.com,resources=policies,versions=v1alpha2,name=vpolicy.kb.io,sideEffects=none,admissionReviewVersions=v1 +// +kubebuilder:webhook:verbs=create;update,path=/validate-rabbitmq-com-v1beta1-policy,mutating=false,failurePolicy=fail,groups=rabbitmq.com,resources=policies,versions=v1beta1,name=vpolicy.kb.io,sideEffects=none,admissionReviewVersions=v1 var _ webhook.Validator = &Policy{} diff --git a/api/v1alpha2/policy_webhook_test.go b/api/v1beta1/policy_webhook_test.go similarity index 99% rename from api/v1alpha2/policy_webhook_test.go rename to api/v1beta1/policy_webhook_test.go index 91c338de..c206cb42 100644 --- a/api/v1alpha2/policy_webhook_test.go +++ b/api/v1beta1/policy_webhook_test.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( . "github.com/onsi/ginkgo" diff --git a/api/v1alpha2/queue_types.go b/api/v1beta1/queue_types.go similarity index 99% rename from api/v1alpha2/queue_types.go rename to api/v1beta1/queue_types.go index 6e7c2be4..473f71b7 100644 --- a/api/v1alpha2/queue_types.go +++ b/api/v1beta1/queue_types.go @@ -7,7 +7,7 @@ This product is licensed to you under the Mozilla Public License 2.0 license (th This product may include a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file. */ -package v1alpha2 +package v1beta1 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/api/v1alpha2/queue_types_test.go b/api/v1beta1/queue_types_test.go similarity index 99% rename from api/v1alpha2/queue_types_test.go rename to api/v1beta1/queue_types_test.go index fc48b3cc..48dee44c 100644 --- a/api/v1alpha2/queue_types_test.go +++ b/api/v1beta1/queue_types_test.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( "context" diff --git a/api/v1alpha2/queue_webhook.go b/api/v1beta1/queue_webhook.go similarity index 91% rename from api/v1alpha2/queue_webhook.go rename to api/v1beta1/queue_webhook.go index 395a756b..4da07ba0 100644 --- a/api/v1alpha2/queue_webhook.go +++ b/api/v1beta1/queue_webhook.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( "fmt" @@ -15,7 +15,7 @@ func (r *Queue) SetupWebhookWithManager(mgr ctrl.Manager) error { Complete() } -// +kubebuilder:webhook:verbs=create;update,path=/validate-rabbitmq-com-v1alpha2-queue,mutating=false,failurePolicy=fail,groups=rabbitmq.com,resources=queues,versions=v1alpha2,name=vqueue.kb.io,sideEffects=none,admissionReviewVersions=v1sideEffects=none,admissionReviewVersions=v1 +// +kubebuilder:webhook:verbs=create;update,path=/validate-rabbitmq-com-v1beta1-queue,mutating=false,failurePolicy=fail,groups=rabbitmq.com,resources=queues,versions=v1beta1,name=vqueue.kb.io,sideEffects=none,admissionReviewVersions=v1sideEffects=none,admissionReviewVersions=v1 var _ webhook.Validator = &Queue{} diff --git a/api/v1alpha2/queue_webhook_test.go b/api/v1beta1/queue_webhook_test.go similarity index 99% rename from api/v1alpha2/queue_webhook_test.go rename to api/v1beta1/queue_webhook_test.go index ac819f8f..ca58b7b8 100644 --- a/api/v1alpha2/queue_webhook_test.go +++ b/api/v1beta1/queue_webhook_test.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( . "github.com/onsi/ginkgo" diff --git a/api/v1alpha2/schemareplication_types.go b/api/v1beta1/schemareplication_types.go similarity index 99% rename from api/v1alpha2/schemareplication_types.go rename to api/v1beta1/schemareplication_types.go index ab31bf82..e6a80dc2 100644 --- a/api/v1alpha2/schemareplication_types.go +++ b/api/v1beta1/schemareplication_types.go @@ -7,7 +7,7 @@ This product is licensed to you under the Mozilla Public License 2.0 license (th This product may include a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file. */ -package v1alpha2 +package v1beta1 import ( corev1 "k8s.io/api/core/v1" diff --git a/api/v1alpha2/schemareplication_types_test.go b/api/v1beta1/schemareplication_types_test.go similarity index 98% rename from api/v1alpha2/schemareplication_types_test.go rename to api/v1beta1/schemareplication_types_test.go index 495d6866..35edd6af 100644 --- a/api/v1alpha2/schemareplication_types_test.go +++ b/api/v1beta1/schemareplication_types_test.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( "context" diff --git a/api/v1alpha2/schemareplication_webhook.go b/api/v1beta1/schemareplication_webhook.go similarity index 85% rename from api/v1alpha2/schemareplication_webhook.go rename to api/v1beta1/schemareplication_webhook.go index fa71eceb..a9073575 100644 --- a/api/v1alpha2/schemareplication_webhook.go +++ b/api/v1beta1/schemareplication_webhook.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( "fmt" @@ -15,7 +15,7 @@ func (s *SchemaReplication) SetupWebhookWithManager(mgr ctrl.Manager) error { Complete() } -// +kubebuilder:webhook:verbs=create;update,path=/validate-rabbitmq-com-v1alpha2-schemareplication,mutating=false,failurePolicy=fail,groups=rabbitmq.com,resources=schemareplications,versions=v1alpha2,name=vschemareplication.kb.io,sideEffects=none,admissionReviewVersions=v1 +// +kubebuilder:webhook:verbs=create;update,path=/validate-rabbitmq-com-v1beta1-schemareplication,mutating=false,failurePolicy=fail,groups=rabbitmq.com,resources=schemareplications,versions=v1beta1,name=vschemareplication.kb.io,sideEffects=none,admissionReviewVersions=v1 var _ webhook.Validator = &SchemaReplication{} diff --git a/api/v1alpha2/schemareplication_webhook_test.go b/api/v1beta1/schemareplication_webhook_test.go similarity index 98% rename from api/v1alpha2/schemareplication_webhook_test.go rename to api/v1beta1/schemareplication_webhook_test.go index 8b9e3a4c..1b3abab2 100644 --- a/api/v1alpha2/schemareplication_webhook_test.go +++ b/api/v1beta1/schemareplication_webhook_test.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( . "github.com/onsi/ginkgo" diff --git a/api/v1alpha2/suite_test.go b/api/v1beta1/suite_test.go similarity index 97% rename from api/v1alpha2/suite_test.go rename to api/v1beta1/suite_test.go index 085b5f7e..4df0e8f2 100644 --- a/api/v1alpha2/suite_test.go +++ b/api/v1beta1/suite_test.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( "path/filepath" @@ -24,7 +24,7 @@ func TestAPIs(t *testing.T) { RegisterFailHandler(Fail) RunSpecsWithDefaultAndCustomReporters(t, - "v1alpha2 Suite", + "v1beta1 Suite", []Reporter{printer.NewlineReporter{}}) } diff --git a/api/v1alpha2/user_types.go b/api/v1beta1/user_types.go similarity index 99% rename from api/v1alpha2/user_types.go rename to api/v1beta1/user_types.go index 22590fee..174d6177 100644 --- a/api/v1alpha2/user_types.go +++ b/api/v1beta1/user_types.go @@ -7,7 +7,7 @@ This product is licensed to you under the Mozilla Public License 2.0 license (th This product may include a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file. */ -package v1alpha2 +package v1beta1 import ( corev1 "k8s.io/api/core/v1" diff --git a/api/v1alpha2/user_types_test.go b/api/v1beta1/user_types_test.go similarity index 99% rename from api/v1alpha2/user_types_test.go rename to api/v1beta1/user_types_test.go index eb589854..f6742b2a 100644 --- a/api/v1alpha2/user_types_test.go +++ b/api/v1beta1/user_types_test.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( "context" diff --git a/api/v1alpha2/user_webhook.go b/api/v1beta1/user_webhook.go similarity index 86% rename from api/v1alpha2/user_webhook.go rename to api/v1beta1/user_webhook.go index ccf4283e..f6eecada 100644 --- a/api/v1alpha2/user_webhook.go +++ b/api/v1beta1/user_webhook.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( "fmt" @@ -15,7 +15,7 @@ func (u *User) SetupWebhookWithManager(mgr ctrl.Manager) error { Complete() } -// +kubebuilder:webhook:verbs=create;update,path=/validate-rabbitmq-com-v1alpha2-user,mutating=false,failurePolicy=fail,groups=rabbitmq.com,resources=users,versions=v1alpha2,name=vuser.kb.io,sideEffects=none,admissionReviewVersions=v1 +// +kubebuilder:webhook:verbs=create;update,path=/validate-rabbitmq-com-v1beta1-user,mutating=false,failurePolicy=fail,groups=rabbitmq.com,resources=users,versions=v1beta1,name=vuser.kb.io,sideEffects=none,admissionReviewVersions=v1 var _ webhook.Validator = &User{} diff --git a/api/v1alpha2/user_webhook_test.go b/api/v1beta1/user_webhook_test.go similarity index 98% rename from api/v1alpha2/user_webhook_test.go rename to api/v1beta1/user_webhook_test.go index 60af3d38..79e09178 100644 --- a/api/v1alpha2/user_webhook_test.go +++ b/api/v1beta1/user_webhook_test.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( . "github.com/onsi/ginkgo" diff --git a/api/v1alpha2/vhost_types.go b/api/v1beta1/vhost_types.go similarity index 99% rename from api/v1alpha2/vhost_types.go rename to api/v1beta1/vhost_types.go index df3b6fb2..d114f60b 100644 --- a/api/v1alpha2/vhost_types.go +++ b/api/v1beta1/vhost_types.go @@ -7,7 +7,7 @@ This product is licensed to you under the Mozilla Public License 2.0 license (th This product may include a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file. */ -package v1alpha2 +package v1beta1 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/api/v1alpha2/vhost_types_test.go b/api/v1beta1/vhost_types_test.go similarity index 99% rename from api/v1alpha2/vhost_types_test.go rename to api/v1beta1/vhost_types_test.go index 9c1dcc12..d00cec6a 100644 --- a/api/v1alpha2/vhost_types_test.go +++ b/api/v1beta1/vhost_types_test.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( "context" diff --git a/api/v1alpha2/vhost_webhook.go b/api/v1beta1/vhost_webhook.go similarity index 88% rename from api/v1alpha2/vhost_webhook.go rename to api/v1beta1/vhost_webhook.go index 5931bfd7..ad8d1786 100644 --- a/api/v1alpha2/vhost_webhook.go +++ b/api/v1beta1/vhost_webhook.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( "fmt" @@ -15,7 +15,7 @@ func (r *Vhost) SetupWebhookWithManager(mgr ctrl.Manager) error { Complete() } -// +kubebuilder:webhook:verbs=create;update,path=/validate-rabbitmq-com-v1alpha2-vhost,mutating=false,failurePolicy=fail,groups=rabbitmq.com,resources=vhosts,versions=v1alpha2,name=vvhost.kb.io,sideEffects=none,admissionReviewVersions=v1 +// +kubebuilder:webhook:verbs=create;update,path=/validate-rabbitmq-com-v1beta1-vhost,mutating=false,failurePolicy=fail,groups=rabbitmq.com,resources=vhosts,versions=v1beta1,name=vvhost.kb.io,sideEffects=none,admissionReviewVersions=v1 var _ webhook.Validator = &Vhost{} diff --git a/api/v1alpha2/vhost_webhook_test.go b/api/v1beta1/vhost_webhook_test.go similarity index 98% rename from api/v1alpha2/vhost_webhook_test.go rename to api/v1beta1/vhost_webhook_test.go index 29959614..888931b3 100644 --- a/api/v1alpha2/vhost_webhook_test.go +++ b/api/v1beta1/vhost_webhook_test.go @@ -1,4 +1,4 @@ -package v1alpha2 +package v1beta1 import ( . "github.com/onsi/ginkgo" diff --git a/api/v1alpha2/zz_generated.deepcopy.go b/api/v1beta1/zz_generated.deepcopy.go similarity index 99% rename from api/v1alpha2/zz_generated.deepcopy.go rename to api/v1beta1/zz_generated.deepcopy.go index f8edaa55..e8d5ea64 100644 --- a/api/v1alpha2/zz_generated.deepcopy.go +++ b/api/v1beta1/zz_generated.deepcopy.go @@ -11,7 +11,7 @@ This product may include a number of subcomponents with separate copyright notic // Code generated by controller-gen. DO NOT EDIT. -package v1alpha2 +package v1beta1 import ( "k8s.io/api/core/v1" diff --git a/config/crd/bases/rabbitmq.com_bindings.yaml b/config/crd/bases/rabbitmq.com_bindings.yaml index a2fa67d1..231e25f0 100644 --- a/config/crd/bases/rabbitmq.com_bindings.yaml +++ b/config/crd/bases/rabbitmq.com_bindings.yaml @@ -18,7 +18,7 @@ spec: singular: binding scope: Namespaced versions: - - name: v1alpha2 + - name: v1beta1 schema: openAPIV3Schema: description: Binding is the Schema for the bindings API diff --git a/config/crd/bases/rabbitmq.com_exchanges.yaml b/config/crd/bases/rabbitmq.com_exchanges.yaml index 22fa431d..70e96328 100644 --- a/config/crd/bases/rabbitmq.com_exchanges.yaml +++ b/config/crd/bases/rabbitmq.com_exchanges.yaml @@ -18,7 +18,7 @@ spec: singular: exchange scope: Namespaced versions: - - name: v1alpha2 + - name: v1beta1 schema: openAPIV3Schema: description: Exchange is the Schema for the exchanges API diff --git a/config/crd/bases/rabbitmq.com_permissions.yaml b/config/crd/bases/rabbitmq.com_permissions.yaml index 7d606700..22d06c46 100644 --- a/config/crd/bases/rabbitmq.com_permissions.yaml +++ b/config/crd/bases/rabbitmq.com_permissions.yaml @@ -18,7 +18,7 @@ spec: singular: permission scope: Namespaced versions: - - name: v1alpha2 + - name: v1beta1 schema: openAPIV3Schema: description: Permission is the Schema for the permissions API diff --git a/config/crd/bases/rabbitmq.com_policies.yaml b/config/crd/bases/rabbitmq.com_policies.yaml index 55bc75e4..7b23fb19 100644 --- a/config/crd/bases/rabbitmq.com_policies.yaml +++ b/config/crd/bases/rabbitmq.com_policies.yaml @@ -18,7 +18,7 @@ spec: singular: policy scope: Namespaced versions: - - name: v1alpha2 + - name: v1beta1 schema: openAPIV3Schema: description: Policy is the Schema for the policies API diff --git a/config/crd/bases/rabbitmq.com_queues.yaml b/config/crd/bases/rabbitmq.com_queues.yaml index 8dfe8c9a..6d20bc78 100644 --- a/config/crd/bases/rabbitmq.com_queues.yaml +++ b/config/crd/bases/rabbitmq.com_queues.yaml @@ -18,7 +18,7 @@ spec: singular: queue scope: Namespaced versions: - - name: v1alpha2 + - name: v1beta1 schema: openAPIV3Schema: description: Queue is the Schema for the queues API diff --git a/config/crd/bases/rabbitmq.com_schemareplications.yaml b/config/crd/bases/rabbitmq.com_schemareplications.yaml index 5e1e45ba..39bcb188 100644 --- a/config/crd/bases/rabbitmq.com_schemareplications.yaml +++ b/config/crd/bases/rabbitmq.com_schemareplications.yaml @@ -16,7 +16,7 @@ spec: singular: schemareplication scope: Namespaced versions: - - name: v1alpha2 + - name: v1beta1 schema: openAPIV3Schema: description: 'SchemaReplication is the Schema for the schemareplications API diff --git a/config/crd/bases/rabbitmq.com_users.yaml b/config/crd/bases/rabbitmq.com_users.yaml index 76e11d27..609879c3 100644 --- a/config/crd/bases/rabbitmq.com_users.yaml +++ b/config/crd/bases/rabbitmq.com_users.yaml @@ -18,7 +18,7 @@ spec: singular: user scope: Namespaced versions: - - name: v1alpha2 + - name: v1beta1 schema: openAPIV3Schema: description: User is the Schema for the users API. diff --git a/config/crd/bases/rabbitmq.com_vhosts.yaml b/config/crd/bases/rabbitmq.com_vhosts.yaml index fe732a55..47a050a9 100644 --- a/config/crd/bases/rabbitmq.com_vhosts.yaml +++ b/config/crd/bases/rabbitmq.com_vhosts.yaml @@ -18,7 +18,7 @@ spec: singular: vhost scope: Namespaced versions: - - name: v1alpha2 + - name: v1beta1 schema: openAPIV3Schema: description: Vhost is the Schema for the vhosts API diff --git a/config/webhook/manifests.yaml b/config/webhook/manifests.yaml index 4017475d..eb63f6b2 100644 --- a/config/webhook/manifests.yaml +++ b/config/webhook/manifests.yaml @@ -12,14 +12,14 @@ webhooks: service: name: webhook-service namespace: system - path: /validate-rabbitmq-com-v1alpha2-binding + path: /validate-rabbitmq-com-v1beta1-binding failurePolicy: Fail name: vbinding.kb.io rules: - apiGroups: - rabbitmq.com apiVersions: - - v1alpha2 + - v1beta1 operations: - CREATE - UPDATE @@ -32,14 +32,14 @@ webhooks: service: name: webhook-service namespace: system - path: /validate-rabbitmq-com-v1alpha2-exchange + path: /validate-rabbitmq-com-v1beta1-exchange failurePolicy: Fail name: vexchange.kb.io rules: - apiGroups: - rabbitmq.com apiVersions: - - v1alpha2 + - v1beta1 operations: - CREATE - UPDATE @@ -52,14 +52,14 @@ webhooks: service: name: webhook-service namespace: system - path: /validate-rabbitmq-com-v1alpha2-permission + path: /validate-rabbitmq-com-v1beta1-permission failurePolicy: Fail name: vpermission.kb.io rules: - apiGroups: - rabbitmq.com apiVersions: - - v1alpha2 + - v1beta1 operations: - CREATE - UPDATE @@ -72,14 +72,14 @@ webhooks: service: name: webhook-service namespace: system - path: /validate-rabbitmq-com-v1alpha2-policy + path: /validate-rabbitmq-com-v1beta1-policy failurePolicy: Fail name: vpolicy.kb.io rules: - apiGroups: - rabbitmq.com apiVersions: - - v1alpha2 + - v1beta1 operations: - CREATE - UPDATE @@ -92,14 +92,14 @@ webhooks: service: name: webhook-service namespace: system - path: /validate-rabbitmq-com-v1alpha2-queue + path: /validate-rabbitmq-com-v1beta1-queue failurePolicy: Fail name: vqueue.kb.io rules: - apiGroups: - rabbitmq.com apiVersions: - - v1alpha2 + - v1beta1 operations: - CREATE - UPDATE @@ -112,14 +112,14 @@ webhooks: service: name: webhook-service namespace: system - path: /validate-rabbitmq-com-v1alpha2-schemareplication + path: /validate-rabbitmq-com-v1beta1-schemareplication failurePolicy: Fail name: vschemareplication.kb.io rules: - apiGroups: - rabbitmq.com apiVersions: - - v1alpha2 + - v1beta1 operations: - CREATE - UPDATE @@ -132,14 +132,14 @@ webhooks: service: name: webhook-service namespace: system - path: /validate-rabbitmq-com-v1alpha2-user + path: /validate-rabbitmq-com-v1beta1-user failurePolicy: Fail name: vuser.kb.io rules: - apiGroups: - rabbitmq.com apiVersions: - - v1alpha2 + - v1beta1 operations: - CREATE - UPDATE @@ -152,14 +152,14 @@ webhooks: service: name: webhook-service namespace: system - path: /validate-rabbitmq-com-v1alpha2-vhost + path: /validate-rabbitmq-com-v1beta1-vhost failurePolicy: Fail name: vvhost.kb.io rules: - apiGroups: - rabbitmq.com apiVersions: - - v1alpha2 + - v1beta1 operations: - CREATE - UPDATE diff --git a/controllers/binding_controller.go b/controllers/binding_controller.go index 932bb826..66ec8ac4 100644 --- a/controllers/binding_controller.go +++ b/controllers/binding_controller.go @@ -29,7 +29,7 @@ import ( ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" ) const bindingFinalizer = "deletion.finalizers.bindings.rabbitmq.com" diff --git a/controllers/binding_controller_test.go b/controllers/binding_controller_test.go index b84a13ae..b50a0b5a 100644 --- a/controllers/binding_controller_test.go +++ b/controllers/binding_controller_test.go @@ -10,7 +10,7 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" . "github.com/onsi/gomega/gstruct" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" corev1 "k8s.io/api/core/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/controllers/exchange_controller.go b/controllers/exchange_controller.go index 85aa1fff..6dee5791 100644 --- a/controllers/exchange_controller.go +++ b/controllers/exchange_controller.go @@ -27,7 +27,7 @@ import ( ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" ) const exchangeFinalizer = "deletion.finalizers.exchanges.rabbitmq.com" diff --git a/controllers/exchange_controller_test.go b/controllers/exchange_controller_test.go index d5a9cf27..faae7a1f 100644 --- a/controllers/exchange_controller_test.go +++ b/controllers/exchange_controller_test.go @@ -10,7 +10,7 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" . "github.com/onsi/gomega/gstruct" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" corev1 "k8s.io/api/core/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/controllers/permission_controller.go b/controllers/permission_controller.go index a722cb7a..8eb1e03c 100644 --- a/controllers/permission_controller.go +++ b/controllers/permission_controller.go @@ -18,7 +18,7 @@ import ( ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" ) const permissionFinalizer = "deletion.finalizers.permissions.rabbitmq.com" diff --git a/controllers/permission_controller_test.go b/controllers/permission_controller_test.go index 17446485..1ac779db 100644 --- a/controllers/permission_controller_test.go +++ b/controllers/permission_controller_test.go @@ -10,7 +10,7 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" . "github.com/onsi/gomega/gstruct" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" corev1 "k8s.io/api/core/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/controllers/policy_controller.go b/controllers/policy_controller.go index 898e91f7..fe94a288 100644 --- a/controllers/policy_controller.go +++ b/controllers/policy_controller.go @@ -27,7 +27,7 @@ import ( ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" ) const policyFinalizer = "deletion.finalizers.policies.rabbitmq.com" diff --git a/controllers/policy_controller_test.go b/controllers/policy_controller_test.go index 893b810c..6958b3cf 100644 --- a/controllers/policy_controller_test.go +++ b/controllers/policy_controller_test.go @@ -12,7 +12,7 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" . "github.com/onsi/gomega/gstruct" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" corev1 "k8s.io/api/core/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/controllers/queue_controller.go b/controllers/queue_controller.go index 1cfc033a..e0d0b02c 100644 --- a/controllers/queue_controller.go +++ b/controllers/queue_controller.go @@ -16,7 +16,7 @@ import ( "time" "github.com/go-logr/logr" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" "github.com/rabbitmq/messaging-topology-operator/internal" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/controllers/queue_controller_test.go b/controllers/queue_controller_test.go index f33e8de7..aca09d0e 100644 --- a/controllers/queue_controller_test.go +++ b/controllers/queue_controller_test.go @@ -10,7 +10,7 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" . "github.com/onsi/gomega/gstruct" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" corev1 "k8s.io/api/core/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/controllers/schemareplication_controller.go b/controllers/schemareplication_controller.go index 59c92dde..235fd63a 100644 --- a/controllers/schemareplication_controller.go +++ b/controllers/schemareplication_controller.go @@ -20,7 +20,7 @@ import ( ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" ) const replicationFinalizer = "deletion.finalizers.schemareplications.rabbitmq.com" diff --git a/controllers/schemareplication_controller_test.go b/controllers/schemareplication_controller_test.go index e6ded7af..f3f5df90 100644 --- a/controllers/schemareplication_controller_test.go +++ b/controllers/schemareplication_controller_test.go @@ -10,7 +10,7 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" . "github.com/onsi/gomega/gstruct" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" corev1 "k8s.io/api/core/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/controllers/suite_test.go b/controllers/suite_test.go index ec6c5937..c9364d59 100644 --- a/controllers/suite_test.go +++ b/controllers/suite_test.go @@ -23,7 +23,7 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" rabbitmqv1beta1 "github.com/rabbitmq/cluster-operator/api/v1beta1" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" "github.com/rabbitmq/messaging-topology-operator/controllers" "github.com/rabbitmq/messaging-topology-operator/internal" "github.com/rabbitmq/messaging-topology-operator/internal/internalfakes" diff --git a/controllers/user_controller.go b/controllers/user_controller.go index 5ce5f23c..9cc1aac0 100644 --- a/controllers/user_controller.go +++ b/controllers/user_controller.go @@ -17,7 +17,7 @@ import ( "time" "github.com/go-logr/logr" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" "github.com/rabbitmq/messaging-topology-operator/internal" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/controllers/user_controller_test.go b/controllers/user_controller_test.go index 3962c4ae..ad0e84f5 100644 --- a/controllers/user_controller_test.go +++ b/controllers/user_controller_test.go @@ -10,7 +10,7 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" . "github.com/onsi/gomega/gstruct" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" corev1 "k8s.io/api/core/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/controllers/vhost_controller.go b/controllers/vhost_controller.go index 7d24b92c..8947f9c2 100644 --- a/controllers/vhost_controller.go +++ b/controllers/vhost_controller.go @@ -18,7 +18,7 @@ import ( ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" ) const vhostFinalizer = "deletion.finalizers.vhosts.rabbitmq.com" diff --git a/controllers/vhost_controller_test.go b/controllers/vhost_controller_test.go index 527973a7..e876d025 100644 --- a/controllers/vhost_controller_test.go +++ b/controllers/vhost_controller_test.go @@ -10,7 +10,7 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" . "github.com/onsi/gomega/gstruct" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" corev1 "k8s.io/api/core/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/docs/api/rabbitmq.com.ref.asciidoc b/docs/api/rabbitmq.com.ref.asciidoc index 9f9e06f5..8d57be50 100644 --- a/docs/api/rabbitmq.com.ref.asciidoc +++ b/docs/api/rabbitmq.com.ref.asciidoc @@ -5,59 +5,59 @@ = API Reference .Packages -- xref:{anchor_prefix}-rabbitmq-com-v1alpha2[$$rabbitmq.com/v1alpha2$$] +- xref:{anchor_prefix}-rabbitmq-com-v1beta1[$$rabbitmq.com/v1beta1$$] -[id="{anchor_prefix}-rabbitmq-com-v1alpha2"] -== rabbitmq.com/v1alpha2 +[id="{anchor_prefix}-rabbitmq-com-v1beta1"] +== rabbitmq.com/v1beta1 -Package v1alpha2 contains API Schema definitions for the rabbitmq.com v1alpha2 API group +Package v1beta1 contains API Schema definitions for the rabbitmq.com v1beta1 API group .Resource Types -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-binding[$$Binding$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-bindinglist[$$BindingList$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-exchange[$$Exchange$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-exchangelist[$$ExchangeList$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-permission[$$Permission$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-permissionlist[$$PermissionList$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-policy[$$Policy$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-policylist[$$PolicyList$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-queue[$$Queue$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-queuelist[$$QueueList$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-schemareplication[$$SchemaReplication$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-schemareplicationlist[$$SchemaReplicationList$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-user[$$User$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-userlist[$$UserList$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-vhost[$$Vhost$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-vhostlist[$$VhostList$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-binding[$$Binding$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-bindinglist[$$BindingList$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-exchange[$$Exchange$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-exchangelist[$$ExchangeList$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-permission[$$Permission$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-permissionlist[$$PermissionList$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-policy[$$Policy$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-policylist[$$PolicyList$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-queue[$$Queue$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-queuelist[$$QueueList$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-schemareplication[$$SchemaReplication$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-schemareplicationlist[$$SchemaReplicationList$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-user[$$User$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-userlist[$$UserList$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-vhost[$$Vhost$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-vhostlist[$$VhostList$$] === Definitions -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-binding"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-binding"] ==== Binding Binding is the Schema for the bindings API .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-bindinglist[$$BindingList$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-bindinglist[$$BindingList$$] **** [cols="25a,75a", options="header"] |=== | Field | Description -| *`apiVersion`* __string__ | `rabbitmq.com/v1alpha2` +| *`apiVersion`* __string__ | `rabbitmq.com/v1beta1` | *`kind`* __string__ | `Binding` | *`TypeMeta`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#typemeta-v1-meta[$$TypeMeta$$]__ | | *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectmeta-v1-meta[$$ObjectMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. -| *`spec`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-bindingspec[$$BindingSpec$$]__ | -| *`status`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-bindingstatus[$$BindingStatus$$]__ | +| *`spec`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-bindingspec[$$BindingSpec$$]__ | +| *`status`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-bindingstatus[$$BindingStatus$$]__ | |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-bindinglist"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-bindinglist"] ==== BindingList BindingList contains a list of Binding @@ -67,23 +67,23 @@ BindingList contains a list of Binding [cols="25a,75a", options="header"] |=== | Field | Description -| *`apiVersion`* __string__ | `rabbitmq.com/v1alpha2` +| *`apiVersion`* __string__ | `rabbitmq.com/v1beta1` | *`kind`* __string__ | `BindingList` | *`TypeMeta`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#typemeta-v1-meta[$$TypeMeta$$]__ | | *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#listmeta-v1-meta[$$ListMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. -| *`items`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-binding[$$Binding$$]__ | +| *`items`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-binding[$$Binding$$]__ | |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-bindingspec"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-bindingspec"] ==== BindingSpec BindingSpec defines the desired state of Binding .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-binding[$$Binding$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-binding[$$Binding$$] **** [cols="25a,75a", options="header"] @@ -95,49 +95,49 @@ BindingSpec defines the desired state of Binding | *`destinationType`* __string__ | | *`routingKey`* __string__ | | *`arguments`* __RawExtension__ | -| *`rabbitmqClusterReference`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-rabbitmqclusterreference[$$RabbitmqClusterReference$$]__ | Reference to the RabbitmqCluster that the binding will be created in. Required property. +| *`rabbitmqClusterReference`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-rabbitmqclusterreference[$$RabbitmqClusterReference$$]__ | Reference to the RabbitmqCluster that the binding will be created in. Required property. |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-bindingstatus"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-bindingstatus"] ==== BindingStatus BindingStatus defines the observed state of Binding .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-binding[$$Binding$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-binding[$$Binding$$] **** [cols="25a,75a", options="header"] |=== | Field | Description | *`observedGeneration`* __integer__ | 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. -| *`conditions`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-condition[$$Condition$$] array__ | +| *`conditions`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-condition[$$Condition$$] array__ | |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-condition"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-condition"] ==== Condition .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-bindingstatus[$$BindingStatus$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-exchangestatus[$$ExchangeStatus$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-permissionstatus[$$PermissionStatus$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-policystatus[$$PolicyStatus$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-queuestatus[$$QueueStatus$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-schemareplicationstatus[$$SchemaReplicationStatus$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-userstatus[$$UserStatus$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-vhoststatus[$$VhostStatus$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-bindingstatus[$$BindingStatus$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-exchangestatus[$$ExchangeStatus$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-permissionstatus[$$PermissionStatus$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-policystatus[$$PolicyStatus$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-queuestatus[$$QueueStatus$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-schemareplicationstatus[$$SchemaReplicationStatus$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-userstatus[$$UserStatus$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-vhoststatus[$$VhostStatus$$] **** [cols="25a,75a", options="header"] |=== | Field | Description -| *`type`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-conditiontype[$$ConditionType$$]__ | Type indicates the scope of RabbitmqCluster status addressed by the condition. +| *`type`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-conditiontype[$$ConditionType$$]__ | Type indicates the scope of RabbitmqCluster status addressed by the condition. | *`status`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#conditionstatus-v1-core[$$ConditionStatus$$]__ | True, False, or Unknown | *`lastTransitionTime`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta[$$Time$$]__ | The last time this Condition type changed. | *`reason`* __string__ | One word, camel-case reason for current status of the condition. @@ -145,42 +145,42 @@ BindingStatus defines the observed state of Binding |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-conditiontype"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-conditiontype"] ==== ConditionType (string) .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-condition[$$Condition$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-condition[$$Condition$$] **** -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-exchange"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-exchange"] ==== Exchange Exchange is the Schema for the exchanges API .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-exchangelist[$$ExchangeList$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-exchangelist[$$ExchangeList$$] **** [cols="25a,75a", options="header"] |=== | Field | Description -| *`apiVersion`* __string__ | `rabbitmq.com/v1alpha2` +| *`apiVersion`* __string__ | `rabbitmq.com/v1beta1` | *`kind`* __string__ | `Exchange` | *`TypeMeta`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#typemeta-v1-meta[$$TypeMeta$$]__ | | *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectmeta-v1-meta[$$ObjectMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. -| *`spec`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-exchangespec[$$ExchangeSpec$$]__ | -| *`status`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-exchangestatus[$$ExchangeStatus$$]__ | +| *`spec`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-exchangespec[$$ExchangeSpec$$]__ | +| *`status`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-exchangestatus[$$ExchangeStatus$$]__ | |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-exchangelist"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-exchangelist"] ==== ExchangeList ExchangeList contains a list of Exchange @@ -190,23 +190,23 @@ ExchangeList contains a list of Exchange [cols="25a,75a", options="header"] |=== | Field | Description -| *`apiVersion`* __string__ | `rabbitmq.com/v1alpha2` +| *`apiVersion`* __string__ | `rabbitmq.com/v1beta1` | *`kind`* __string__ | `ExchangeList` | *`TypeMeta`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#typemeta-v1-meta[$$TypeMeta$$]__ | | *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#listmeta-v1-meta[$$ListMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. -| *`items`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-exchange[$$Exchange$$]__ | +| *`items`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-exchange[$$Exchange$$]__ | |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-exchangespec"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-exchangespec"] ==== ExchangeSpec ExchangeSpec defines the desired state of Exchange .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-exchange[$$Exchange$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-exchange[$$Exchange$$] **** [cols="25a,75a", options="header"] @@ -218,52 +218,52 @@ ExchangeSpec defines the desired state of Exchange | *`durable`* __boolean__ | | *`autoDelete`* __boolean__ | | *`arguments`* __xref:{anchor_prefix}-k8s-io-apimachinery-pkg-runtime-rawextension[$$RawExtension$$]__ | -| *`rabbitmqClusterReference`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-rabbitmqclusterreference[$$RabbitmqClusterReference$$]__ | Reference to the RabbitmqCluster that the exchange will be created in. Required property. +| *`rabbitmqClusterReference`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-rabbitmqclusterreference[$$RabbitmqClusterReference$$]__ | Reference to the RabbitmqCluster that the exchange will be created in. Required property. |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-exchangestatus"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-exchangestatus"] ==== ExchangeStatus ExchangeStatus defines the observed state of Exchange .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-exchange[$$Exchange$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-exchange[$$Exchange$$] **** [cols="25a,75a", options="header"] |=== | Field | Description | *`observedGeneration`* __integer__ | 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. -| *`conditions`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-condition[$$Condition$$]__ | +| *`conditions`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-condition[$$Condition$$]__ | |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-permission"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-permission"] ==== Permission Permission is the Schema for the permissions API .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-permissionlist[$$PermissionList$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-permissionlist[$$PermissionList$$] **** [cols="25a,75a", options="header"] |=== | Field | Description -| *`apiVersion`* __string__ | `rabbitmq.com/v1alpha2` +| *`apiVersion`* __string__ | `rabbitmq.com/v1beta1` | *`kind`* __string__ | `Permission` | *`TypeMeta`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#typemeta-v1-meta[$$TypeMeta$$]__ | | *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectmeta-v1-meta[$$ObjectMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. -| *`spec`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-permissionspec[$$PermissionSpec$$]__ | -| *`status`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-permissionstatus[$$PermissionStatus$$]__ | +| *`spec`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-permissionspec[$$PermissionSpec$$]__ | +| *`status`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-permissionstatus[$$PermissionStatus$$]__ | |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-permissionlist"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-permissionlist"] ==== PermissionList PermissionList contains a list of Permission @@ -273,23 +273,23 @@ PermissionList contains a list of Permission [cols="25a,75a", options="header"] |=== | Field | Description -| *`apiVersion`* __string__ | `rabbitmq.com/v1alpha2` +| *`apiVersion`* __string__ | `rabbitmq.com/v1beta1` | *`kind`* __string__ | `PermissionList` | *`TypeMeta`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#typemeta-v1-meta[$$TypeMeta$$]__ | | *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#listmeta-v1-meta[$$ListMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. -| *`items`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-permission[$$Permission$$]__ | +| *`items`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-permission[$$Permission$$]__ | |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-permissionspec"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-permissionspec"] ==== PermissionSpec PermissionSpec defines the desired state of Permission .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-permission[$$Permission$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-permission[$$Permission$$] **** [cols="25a,75a", options="header"] @@ -297,53 +297,53 @@ PermissionSpec defines the desired state of Permission | Field | Description | *`user`* __string__ | Name of an existing user; required property. | *`vhost`* __string__ | Name of an existing vhost; required property. -| *`permissions`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-vhostpermissions[$$VhostPermissions$$]__ | 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 -| *`rabbitmqClusterReference`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-rabbitmqclusterreference[$$RabbitmqClusterReference$$]__ | Reference to the RabbitmqCluster that both the provided user and vhost are. Required property. +| *`permissions`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-vhostpermissions[$$VhostPermissions$$]__ | 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 +| *`rabbitmqClusterReference`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-rabbitmqclusterreference[$$RabbitmqClusterReference$$]__ | Reference to the RabbitmqCluster that both the provided user and vhost are. Required property. |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-permissionstatus"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-permissionstatus"] ==== PermissionStatus PermissionStatus defines the observed state of Permission .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-permission[$$Permission$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-permission[$$Permission$$] **** [cols="25a,75a", options="header"] |=== | Field | Description | *`observedGeneration`* __integer__ | 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. -| *`conditions`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-condition[$$Condition$$]__ | +| *`conditions`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-condition[$$Condition$$]__ | |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-policy"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-policy"] ==== Policy Policy is the Schema for the policies API .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-policylist[$$PolicyList$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-policylist[$$PolicyList$$] **** [cols="25a,75a", options="header"] |=== | Field | Description -| *`apiVersion`* __string__ | `rabbitmq.com/v1alpha2` +| *`apiVersion`* __string__ | `rabbitmq.com/v1beta1` | *`kind`* __string__ | `Policy` | *`TypeMeta`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#typemeta-v1-meta[$$TypeMeta$$]__ | | *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectmeta-v1-meta[$$ObjectMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. -| *`spec`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-policyspec[$$PolicySpec$$]__ | -| *`status`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-policystatus[$$PolicyStatus$$]__ | +| *`spec`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-policyspec[$$PolicySpec$$]__ | +| *`status`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-policystatus[$$PolicyStatus$$]__ | |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-policylist"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-policylist"] ==== PolicyList PolicyList contains a list of Policy @@ -353,23 +353,23 @@ PolicyList contains a list of Policy [cols="25a,75a", options="header"] |=== | Field | Description -| *`apiVersion`* __string__ | `rabbitmq.com/v1alpha2` +| *`apiVersion`* __string__ | `rabbitmq.com/v1beta1` | *`kind`* __string__ | `PolicyList` | *`TypeMeta`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#typemeta-v1-meta[$$TypeMeta$$]__ | | *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#listmeta-v1-meta[$$ListMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. -| *`items`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-policy[$$Policy$$]__ | +| *`items`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-policy[$$Policy$$]__ | |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-policyspec"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-policyspec"] ==== PolicySpec PolicySpec defines the desired state of Policy https://www.rabbitmq.com/parameters.html#policies .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-policy[$$Policy$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-policy[$$Policy$$] **** [cols="25a,75a", options="header"] @@ -381,52 +381,52 @@ PolicySpec defines the desired state of Policy https://www.rabbitmq.com/paramete | *`applyTo`* __string__ | What this policy applies to: 'queues', 'exchanges', or 'all'. Default to 'all'. | *`priority`* __integer__ | Default to '0'. In the event that more than one policy can match a given exchange or queue, the policy with the greatest priority applies. | *`definition`* __xref:{anchor_prefix}-k8s-io-apimachinery-pkg-runtime-rawextension[$$RawExtension$$]__ | Policy definition. Required property. -| *`rabbitmqClusterReference`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-rabbitmqclusterreference[$$RabbitmqClusterReference$$]__ | Reference to the RabbitmqCluster that the exchange will be created in. Required property. +| *`rabbitmqClusterReference`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-rabbitmqclusterreference[$$RabbitmqClusterReference$$]__ | Reference to the RabbitmqCluster that the exchange will be created in. Required property. |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-policystatus"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-policystatus"] ==== PolicyStatus PolicyStatus defines the observed state of Policy .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-policy[$$Policy$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-policy[$$Policy$$] **** [cols="25a,75a", options="header"] |=== | Field | Description | *`observedGeneration`* __integer__ | observedGeneration is the most recent successful generation observed for this Policy. It corresponds to the Policy's generation, which is updated on mutation by the API Server. -| *`conditions`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-condition[$$Condition$$]__ | +| *`conditions`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-condition[$$Condition$$]__ | |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-queue"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-queue"] ==== Queue Queue is the Schema for the queues API .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-queuelist[$$QueueList$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-queuelist[$$QueueList$$] **** [cols="25a,75a", options="header"] |=== | Field | Description -| *`apiVersion`* __string__ | `rabbitmq.com/v1alpha2` +| *`apiVersion`* __string__ | `rabbitmq.com/v1beta1` | *`kind`* __string__ | `Queue` | *`TypeMeta`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#typemeta-v1-meta[$$TypeMeta$$]__ | | *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectmeta-v1-meta[$$ObjectMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. -| *`spec`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-queuespec[$$QueueSpec$$]__ | -| *`status`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-queuestatus[$$QueueStatus$$]__ | +| *`spec`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-queuespec[$$QueueSpec$$]__ | +| *`status`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-queuestatus[$$QueueStatus$$]__ | |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-queuelist"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-queuelist"] ==== QueueList QueueList contains a list of Queue @@ -436,23 +436,23 @@ QueueList contains a list of Queue [cols="25a,75a", options="header"] |=== | Field | Description -| *`apiVersion`* __string__ | `rabbitmq.com/v1alpha2` +| *`apiVersion`* __string__ | `rabbitmq.com/v1beta1` | *`kind`* __string__ | `QueueList` | *`TypeMeta`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#typemeta-v1-meta[$$TypeMeta$$]__ | | *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#listmeta-v1-meta[$$ListMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. -| *`items`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-queue[$$Queue$$]__ | +| *`items`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-queue[$$Queue$$]__ | |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-queuespec"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-queuespec"] ==== QueueSpec QueueSpec defines the desired state of Queue .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-queue[$$Queue$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-queue[$$Queue$$] **** [cols="25a,75a", options="header"] @@ -464,43 +464,43 @@ QueueSpec defines the desired state of Queue | *`durable`* __boolean__ | When set to false queues does not survive server restart | *`autoDelete`* __boolean__ | when set to true, queues that has at least one consumer before, are deleted after last consumer unsubscribes | *`arguments`* __xref:{anchor_prefix}-k8s-io-apimachinery-pkg-runtime-rawextension[$$RawExtension$$]__ | Queue arguments in the format of KEY: VALUE. e.g. x-delivery-limit: 10000 -| *`rabbitmqClusterReference`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-rabbitmqclusterreference[$$RabbitmqClusterReference$$]__ | Reference to the RabbitmqCluster that the queue will be created in. Required property. +| *`rabbitmqClusterReference`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-rabbitmqclusterreference[$$RabbitmqClusterReference$$]__ | Reference to the RabbitmqCluster that the queue will be created in. Required property. |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-queuestatus"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-queuestatus"] ==== QueueStatus QueueStatus defines the observed state of Queue .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-queue[$$Queue$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-queue[$$Queue$$] **** [cols="25a,75a", options="header"] |=== | Field | Description | *`observedGeneration`* __integer__ | observedGeneration is the most recent successful generation observed for this Queue. It corresponds to the Queue's generation, which is updated on mutation by the API Server. -| *`conditions`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-condition[$$Condition$$]__ | +| *`conditions`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-condition[$$Condition$$]__ | |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-rabbitmqclusterreference"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-rabbitmqclusterreference"] ==== RabbitmqClusterReference .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-bindingspec[$$BindingSpec$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-exchangespec[$$ExchangeSpec$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-permissionspec[$$PermissionSpec$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-policyspec[$$PolicySpec$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-queuespec[$$QueueSpec$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-schemareplicationspec[$$SchemaReplicationSpec$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-userspec[$$UserSpec$$] -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-vhostspec[$$VhostSpec$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-bindingspec[$$BindingSpec$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-exchangespec[$$ExchangeSpec$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-permissionspec[$$PermissionSpec$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-policyspec[$$PolicySpec$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-queuespec[$$QueueSpec$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-schemareplicationspec[$$SchemaReplicationSpec$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-userspec[$$UserSpec$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-vhostspec[$$VhostSpec$$] **** [cols="25a,75a", options="header"] @@ -510,30 +510,30 @@ QueueStatus defines the observed state of Queue |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-schemareplication"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-schemareplication"] ==== SchemaReplication SchemaReplication is the Schema for the schemareplications API This feature requires Tanzu RabbitMQ with schema replication plugin. For more information, see: https://tanzu.vmware.com/rabbitmq and https://www.rabbitmq.com/definitions-standby.html. .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-schemareplicationlist[$$SchemaReplicationList$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-schemareplicationlist[$$SchemaReplicationList$$] **** [cols="25a,75a", options="header"] |=== | Field | Description -| *`apiVersion`* __string__ | `rabbitmq.com/v1alpha2` +| *`apiVersion`* __string__ | `rabbitmq.com/v1beta1` | *`kind`* __string__ | `SchemaReplication` | *`TypeMeta`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#typemeta-v1-meta[$$TypeMeta$$]__ | | *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectmeta-v1-meta[$$ObjectMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. -| *`spec`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-schemareplicationspec[$$SchemaReplicationSpec$$]__ | -| *`status`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-schemareplicationstatus[$$SchemaReplicationStatus$$]__ | +| *`spec`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-schemareplicationspec[$$SchemaReplicationSpec$$]__ | +| *`status`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-schemareplicationstatus[$$SchemaReplicationStatus$$]__ | |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-schemareplicationlist"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-schemareplicationlist"] ==== SchemaReplicationList SchemaReplicationList contains a list of SchemaReplication @@ -543,75 +543,75 @@ SchemaReplicationList contains a list of SchemaReplication [cols="25a,75a", options="header"] |=== | Field | Description -| *`apiVersion`* __string__ | `rabbitmq.com/v1alpha2` +| *`apiVersion`* __string__ | `rabbitmq.com/v1beta1` | *`kind`* __string__ | `SchemaReplicationList` | *`TypeMeta`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#typemeta-v1-meta[$$TypeMeta$$]__ | | *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#listmeta-v1-meta[$$ListMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. -| *`items`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-schemareplication[$$SchemaReplication$$]__ | +| *`items`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-schemareplication[$$SchemaReplication$$]__ | |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-schemareplicationspec"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-schemareplicationspec"] ==== SchemaReplicationSpec SchemaReplicationSpec defines the desired state of SchemaReplication .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-schemareplication[$$SchemaReplication$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-schemareplication[$$SchemaReplication$$] **** [cols="25a,75a", options="header"] |=== | Field | Description -| *`rabbitmqClusterReference`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-rabbitmqclusterreference[$$RabbitmqClusterReference$$]__ | Reference to the RabbitmqCluster that schema replication would be set for. Must be an existing cluster. +| *`rabbitmqClusterReference`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-rabbitmqclusterreference[$$RabbitmqClusterReference$$]__ | Reference to the RabbitmqCluster that schema replication would be set for. Must be an existing cluster. | *`upstreamSecret`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#localobjectreference-v1-core[$$LocalObjectReference$$]__ | Defines a Secret which contains credentials to be used for schema replication. The Secret must contain the keys `endpoints`, `username` and `password` in its Data field, or operator will error. `endpoints` should be one or multiple endpoints separated by ','. |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-schemareplicationstatus"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-schemareplicationstatus"] ==== SchemaReplicationStatus SchemaReplicationStatus defines the observed state of SchemaReplication .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-schemareplication[$$SchemaReplication$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-schemareplication[$$SchemaReplication$$] **** [cols="25a,75a", options="header"] |=== | Field | Description | *`observedGeneration`* __integer__ | observedGeneration is the most recent successful generation observed for this Queue. It corresponds to the Queue's generation, which is updated on mutation by the API Server. -| *`conditions`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-condition[$$Condition$$]__ | +| *`conditions`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-condition[$$Condition$$]__ | |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-user"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-user"] ==== User User is the Schema for the users API. .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-userlist[$$UserList$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-userlist[$$UserList$$] **** [cols="25a,75a", options="header"] |=== | Field | Description -| *`apiVersion`* __string__ | `rabbitmq.com/v1alpha2` +| *`apiVersion`* __string__ | `rabbitmq.com/v1beta1` | *`kind`* __string__ | `User` | *`TypeMeta`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#typemeta-v1-meta[$$TypeMeta$$]__ | | *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectmeta-v1-meta[$$ObjectMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. -| *`spec`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-userspec[$$UserSpec$$]__ | Spec configures the desired state of the User object. -| *`status`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-userstatus[$$UserStatus$$]__ | Status exposes the observed state of the User object. +| *`spec`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-userspec[$$UserSpec$$]__ | Spec configures the desired state of the User object. +| *`status`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-userstatus[$$UserStatus$$]__ | Status exposes the observed state of the User object. |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-userlist"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-userlist"] ==== UserList UserList contains a list of Users. @@ -621,89 +621,89 @@ UserList contains a list of Users. [cols="25a,75a", options="header"] |=== | Field | Description -| *`apiVersion`* __string__ | `rabbitmq.com/v1alpha2` +| *`apiVersion`* __string__ | `rabbitmq.com/v1beta1` | *`kind`* __string__ | `UserList` | *`TypeMeta`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#typemeta-v1-meta[$$TypeMeta$$]__ | | *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#listmeta-v1-meta[$$ListMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. -| *`items`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-user[$$User$$]__ | +| *`items`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-user[$$User$$]__ | |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-userspec"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-userspec"] ==== UserSpec UserSpec defines the desired state of User. .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-user[$$User$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-user[$$User$$] **** [cols="25a,75a", options="header"] |=== | Field | Description -| *`tags`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-usertag[$$UserTag$$] array__ | List of permissions tags to associate with the user. This determines the level of access to the RabbitMQ management UI granted to the user. Omitting this field will lead to a user than can still connect to the cluster through messaging protocols, but cannot perform any management actions. For more information, see https://www.rabbitmq.com/management.html#permissions. -| *`rabbitmqClusterReference`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-rabbitmqclusterreference[$$RabbitmqClusterReference$$]__ | Reference to the RabbitmqCluster that the user will be created for. This cluster must exist for the User object to be created. +| *`tags`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-usertag[$$UserTag$$] array__ | List of permissions tags to associate with the user. This determines the level of access to the RabbitMQ management UI granted to the user. Omitting this field will lead to a user than can still connect to the cluster through messaging protocols, but cannot perform any management actions. For more information, see https://www.rabbitmq.com/management.html#permissions. +| *`rabbitmqClusterReference`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-rabbitmqclusterreference[$$RabbitmqClusterReference$$]__ | Reference to the RabbitmqCluster that the user will be created for. This cluster must exist for the User object to be created. | *`importCredentialsSecret`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#localobjectreference-v1-core[$$LocalObjectReference$$]__ | Defines a Secret used to pre-define the username and password set for this User. User objects created with this field set will not have randomly-generated credentials, and will instead import the username/password values from this Secret. The Secret must contain the keys `username` and `password` in its Data field, or the import will fail. Note that this import only occurs at creation time, and is ignored once a password has been set on a User. |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-userstatus"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-userstatus"] ==== UserStatus UserStatus defines the observed state of User. .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-user[$$User$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-user[$$User$$] **** [cols="25a,75a", options="header"] |=== | Field | Description | *`observedGeneration`* __integer__ | observedGeneration is the most recent successful generation observed for this User. It corresponds to the User's generation, which is updated on mutation by the API Server. -| *`conditions`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-condition[$$Condition$$]__ | +| *`conditions`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-condition[$$Condition$$]__ | | *`credentials`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#localobjectreference-v1-core[$$LocalObjectReference$$]__ | Provides a reference to a Secret object containing the user credentials. |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-usertag"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-usertag"] ==== UserTag (string) UserTag defines the level of access to the management UI allocated to the user. For more information, see https://www.rabbitmq.com/management.html#permissions. .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-userspec[$$UserSpec$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-userspec[$$UserSpec$$] **** -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-vhost"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-vhost"] ==== Vhost Vhost is the Schema for the vhosts API .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-vhostlist[$$VhostList$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-vhostlist[$$VhostList$$] **** [cols="25a,75a", options="header"] |=== | Field | Description -| *`apiVersion`* __string__ | `rabbitmq.com/v1alpha2` +| *`apiVersion`* __string__ | `rabbitmq.com/v1beta1` | *`kind`* __string__ | `Vhost` | *`TypeMeta`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#typemeta-v1-meta[$$TypeMeta$$]__ | | *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectmeta-v1-meta[$$ObjectMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. -| *`spec`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-vhostspec[$$VhostSpec$$]__ | -| *`status`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-vhoststatus[$$VhostStatus$$]__ | +| *`spec`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-vhostspec[$$VhostSpec$$]__ | +| *`status`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-vhoststatus[$$VhostStatus$$]__ | |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-vhostlist"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-vhostlist"] ==== VhostList VhostList contains a list of Vhost @@ -713,23 +713,23 @@ VhostList contains a list of Vhost [cols="25a,75a", options="header"] |=== | Field | Description -| *`apiVersion`* __string__ | `rabbitmq.com/v1alpha2` +| *`apiVersion`* __string__ | `rabbitmq.com/v1beta1` | *`kind`* __string__ | `VhostList` | *`TypeMeta`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#typemeta-v1-meta[$$TypeMeta$$]__ | | *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#listmeta-v1-meta[$$ListMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. -| *`items`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-vhost[$$Vhost$$]__ | +| *`items`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-vhost[$$Vhost$$]__ | |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-vhostpermissions"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-vhostpermissions"] ==== VhostPermissions Set of RabbitMQ permissions: configure, read and write. By not setting a property (configure/write/read), it result in an empty string which does not not match any permission. .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-permissionspec[$$PermissionSpec$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-permissionspec[$$PermissionSpec$$] **** [cols="25a,75a", options="header"] @@ -741,14 +741,14 @@ Set of RabbitMQ permissions: configure, read and write. By not setting a propert |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-vhostspec"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-vhostspec"] ==== VhostSpec VhostSpec defines the desired state of Vhost .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-vhost[$$Vhost$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-vhost[$$Vhost$$] **** [cols="25a,75a", options="header"] @@ -756,25 +756,25 @@ VhostSpec defines the desired state of Vhost | Field | Description | *`name`* __string__ | Name of the vhost; see https://www.rabbitmq.com/vhosts.html. | *`tracing`* __boolean__ | -| *`rabbitmqClusterReference`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-rabbitmqclusterreference[$$RabbitmqClusterReference$$]__ | Reference to the RabbitmqCluster that the vhost will be created in. Required property. +| *`rabbitmqClusterReference`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-rabbitmqclusterreference[$$RabbitmqClusterReference$$]__ | Reference to the RabbitmqCluster that the vhost will be created in. Required property. |=== -[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-vhoststatus"] +[id="{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-vhoststatus"] ==== VhostStatus VhostStatus defines the observed state of Vhost .Appears In: **** -- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-vhost[$$Vhost$$] +- xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-vhost[$$Vhost$$] **** [cols="25a,75a", options="header"] |=== | Field | Description | *`observedGeneration`* __integer__ | observedGeneration is the most recent successful generation observed for this Vhost. It corresponds to the Vhost's generation, which is updated on mutation by the API Server. -| *`conditions`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1alpha2-condition[$$Condition$$]__ | +| *`conditions`* __xref:{anchor_prefix}-github.aaakk.us.kg-rabbitmq-messaging-topology-operator-api-v1beta1-condition[$$Condition$$]__ | |=== diff --git a/docs/examples/bindings/binding.yaml b/docs/examples/bindings/binding.yaml index 09563ea9..3bce2668 100644 --- a/docs/examples/bindings/binding.yaml +++ b/docs/examples/bindings/binding.yaml @@ -1,4 +1,4 @@ -apiVersion: rabbitmq.com/v1alpha2 +apiVersion: rabbitmq.com/v1beta1 kind: Binding metadata: name: binding diff --git a/docs/examples/exchanges/direct-exchange.yaml b/docs/examples/exchanges/direct-exchange.yaml index 795fb03b..a64a0868 100644 --- a/docs/examples/exchanges/direct-exchange.yaml +++ b/docs/examples/exchanges/direct-exchange.yaml @@ -1,6 +1,6 @@ # More on direct exchange and other exchange types, see: https://www.rabbitmq.com/tutorials/amqp-concepts.html#exchanges. --- -apiVersion: rabbitmq.com/v1alpha2 +apiVersion: rabbitmq.com/v1beta1 kind: Exchange metadata: name: direct diff --git a/docs/examples/exchanges/fanout-exchange.yaml b/docs/examples/exchanges/fanout-exchange.yaml index 25ac0f00..a45daf9b 100644 --- a/docs/examples/exchanges/fanout-exchange.yaml +++ b/docs/examples/exchanges/fanout-exchange.yaml @@ -1,6 +1,6 @@ # More on fanout exchange and other exchange types, see: https://www.rabbitmq.com/tutorials/amqp-concepts.html#exchanges. --- -apiVersion: rabbitmq.com/v1alpha2 +apiVersion: rabbitmq.com/v1beta1 kind: Exchange metadata: name: fanout diff --git a/docs/examples/permissions/permission.yaml b/docs/examples/permissions/permission.yaml index bc4f9321..2e117940 100644 --- a/docs/examples/permissions/permission.yaml +++ b/docs/examples/permissions/permission.yaml @@ -1,4 +1,4 @@ -apiVersion: rabbitmq.com/v1alpha2 +apiVersion: rabbitmq.com/v1beta1 kind: Permission metadata: name: testuser-permission diff --git a/docs/examples/policies/lazy-queue-policy.yaml b/docs/examples/policies/lazy-queue-policy.yaml index 3657616f..f00d3c18 100644 --- a/docs/examples/policies/lazy-queue-policy.yaml +++ b/docs/examples/policies/lazy-queue-policy.yaml @@ -1,5 +1,5 @@ --- -apiVersion: rabbitmq.com/v1alpha2 +apiVersion: rabbitmq.com/v1beta1 kind: Policy metadata: name: lazy-queue-policy diff --git a/docs/examples/policies/policy.yaml b/docs/examples/policies/policy.yaml index d6f36313..f907776f 100644 --- a/docs/examples/policies/policy.yaml +++ b/docs/examples/policies/policy.yaml @@ -1,4 +1,4 @@ -apiVersion: rabbitmq.com/v1alpha2 +apiVersion: rabbitmq.com/v1beta1 kind: Policy metadata: name: policy-example diff --git a/docs/examples/queues/lazy-queue.yaml b/docs/examples/queues/lazy-queue.yaml index 94962665..af6d2176 100644 --- a/docs/examples/queues/lazy-queue.yaml +++ b/docs/examples/queues/lazy-queue.yaml @@ -1,7 +1,7 @@ # For more information on lazy queues, see: https://www.rabbitmq.com/lazy-queues.html. # We recommmend configuring queues through policies to manage them in groups and be able to update queue configurations later on. --- -apiVersion: rabbitmq.com/v1alpha2 +apiVersion: rabbitmq.com/v1beta1 kind: Policy metadata: name: lazy-queue-policy @@ -16,7 +16,7 @@ spec: rabbitmqClusterReference: name: test --- -apiVersion: rabbitmq.com/v1alpha2 +apiVersion: rabbitmq.com/v1beta1 kind: Queue metadata: name: lazy-queue-example diff --git a/docs/examples/queues/quorum-queue.yaml b/docs/examples/queues/quorum-queue.yaml index 8efc2c78..a441adf8 100644 --- a/docs/examples/queues/quorum-queue.yaml +++ b/docs/examples/queues/quorum-queue.yaml @@ -1,7 +1,7 @@ # For more information about what/how to configure for quorum queues, see: https://www.rabbitmq.com/quorum-queues.html. # We recommmend configuring queues through policies to manage them in groups and be able to update queue configurations later on. --- -apiVersion: rabbitmq.com/v1alpha2 +apiVersion: rabbitmq.com/v1beta1 kind: Queue metadata: name: qq-example diff --git a/docs/examples/users/publish-consume-user.yaml b/docs/examples/users/publish-consume-user.yaml index 70fb9f6f..144ee8f1 100644 --- a/docs/examples/users/publish-consume-user.yaml +++ b/docs/examples/users/publish-consume-user.yaml @@ -8,7 +8,7 @@ data: username: dGVzdC11c2Vy # base64 encoded "test-user" password: dmVyeXNlY3VyZXB3 --- -apiVersion: rabbitmq.com/v1alpha2 +apiVersion: rabbitmq.com/v1beta1 kind: User metadata: name: test-user @@ -18,7 +18,7 @@ spec: importCredentialsSecret: name: test-user-credentials --- -apiVersion: rabbitmq.com/v1alpha2 +apiVersion: rabbitmq.com/v1beta1 kind: Permission metadata: name: testuser-permission diff --git a/docs/examples/users/user.yaml b/docs/examples/users/user.yaml index b6bfada2..6cf82827 100644 --- a/docs/examples/users/user.yaml +++ b/docs/examples/users/user.yaml @@ -1,4 +1,4 @@ -apiVersion: rabbitmq.com/v1alpha2 +apiVersion: rabbitmq.com/v1beta1 kind: User metadata: name: user-sample diff --git a/docs/examples/users/userPreDefinedCreds.yaml b/docs/examples/users/userPreDefinedCreds.yaml index 63204443..75ff3248 100644 --- a/docs/examples/users/userPreDefinedCreds.yaml +++ b/docs/examples/users/userPreDefinedCreds.yaml @@ -7,7 +7,7 @@ data: username: bXktc2VjcmV0LXVzZXI= password: d2h5YXJleW91bG9va2luZ2hlcmU= --- -apiVersion: rabbitmq.com/v1alpha2 +apiVersion: rabbitmq.com/v1beta1 kind: User metadata: name: import-user-sample diff --git a/docs/examples/vhosts/vhost.yaml b/docs/examples/vhosts/vhost.yaml index 44d8f683..7e9ea756 100644 --- a/docs/examples/vhosts/vhost.yaml +++ b/docs/examples/vhosts/vhost.yaml @@ -1,4 +1,4 @@ -apiVersion: rabbitmq.com/v1alpha2 +apiVersion: rabbitmq.com/v1beta1 kind: Vhost metadata: name: test-vhost diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index 692b1626..f7cf8db3 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -14,8 +14,8 @@ CODEGEN_OUTPUT_BASE="${SCRIPT_ROOT}"/output CODEGEN_OUTPUT_GENERATED="${CODEGEN_OUTPUT_BASE}"/github.com/rabbitmq/messaging-topology-operator/pkg/generated # Move the API files to here so that codegen can find them properly (wants the group as part of the name) -mkdir -p api/rabbitmq.com/v1alpha2 -cp api/v1alpha2/* api/rabbitmq.com/v1alpha2/ +mkdir -p api/rabbitmq.com/v1beta1 +cp api/v1beta1/* api/rabbitmq.com/v1beta1/ # generate the code with: # --output-base because this script should also be able to run inside the vendor dir of @@ -25,7 +25,7 @@ cp api/v1alpha2/* api/rabbitmq.com/v1alpha2/ # Deepcopy is generated by operator-sdk bash "${CODEGEN_PKG}"/generate-groups.sh "client,informer,lister" \ github.com/rabbitmq/messaging-topology-operator/pkg/generated github.com/rabbitmq/messaging-topology-operator/api \ - rabbitmq.com:v1alpha2 \ + rabbitmq.com:v1beta1 \ --go-header-file "${SCRIPT_ROOT}"/hack/NOTICE.go.txt --output-base "${CODEGEN_OUTPUT_BASE}" if [ -d "${CODEGEN_OUTPUT_GENERATED}" ]; then @@ -38,11 +38,11 @@ fi # Clean up the tmp move rm -rf api/rabbitmq.com -# Kubebuilder project layout has api under 'api/v1alpha2' -# client-go codegen expects group name in the path ie. 'api/rabbitmq.com/v1alpha2' +# Kubebuilder project layout has api under 'api/v1beta1' +# client-go codegen expects group name in the path ie. 'api/rabbitmq.com/v1beta1' # Because there's no way how to modify any of these settings, # we need to hack things a little bit (replace the name of package) find pkg/generated -type f -name "*.go" |\ -xargs sed -i".out" -e "s#github.com/rabbitmq/messaging-topology-operator/api/rabbitmq.com/v1alpha2#github.com/rabbitmq/messaging-topology-operator/api/v1alpha2#g" +xargs sed -i".out" -e "s#github.com/rabbitmq/messaging-topology-operator/api/rabbitmq.com/v1beta1#github.com/rabbitmq/messaging-topology-operator/api/v1beta1#g" find pkg/generated -type f -name "*.go.out" | xargs rm -rf diff --git a/internal/binding.go b/internal/binding.go index 94fcbda7..e0eb5c7a 100644 --- a/internal/binding.go +++ b/internal/binding.go @@ -13,7 +13,7 @@ import ( "encoding/json" "fmt" rabbithole "github.com/michaelklishin/rabbit-hole/v2" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" "strings" ) diff --git a/internal/binding_test.go b/internal/binding_test.go index 9e04788c..90bec49d 100644 --- a/internal/binding_test.go +++ b/internal/binding_test.go @@ -3,7 +3,7 @@ package internal_test import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" "github.com/rabbitmq/messaging-topology-operator/internal" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/internal/cluster_reference.go b/internal/cluster_reference.go index ca0c6c28..96be683a 100644 --- a/internal/cluster_reference.go +++ b/internal/cluster_reference.go @@ -6,7 +6,7 @@ import ( "fmt" rabbitmqv1beta1 "github.com/rabbitmq/cluster-operator/api/v1beta1" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/types" "sigs.k8s.io/controller-runtime/pkg/client" diff --git a/internal/cluster_reference_test.go b/internal/cluster_reference_test.go index a112980d..30344351 100644 --- a/internal/cluster_reference_test.go +++ b/internal/cluster_reference_test.go @@ -6,7 +6,7 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" rabbitmqv1beta1 "github.com/rabbitmq/cluster-operator/api/v1beta1" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" "github.com/rabbitmq/messaging-topology-operator/internal" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/internal/exchange_settings.go b/internal/exchange_settings.go index bcbe86a8..f008a1c9 100644 --- a/internal/exchange_settings.go +++ b/internal/exchange_settings.go @@ -13,7 +13,7 @@ import ( "encoding/json" "fmt" rabbithole "github.com/michaelklishin/rabbit-hole/v2" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" ) func GenerateExchangeSettings(e *topology.Exchange) (*rabbithole.ExchangeSettings, error) { diff --git a/internal/exchange_settings_test.go b/internal/exchange_settings_test.go index 5d71ac85..ede92de9 100644 --- a/internal/exchange_settings_test.go +++ b/internal/exchange_settings_test.go @@ -3,7 +3,7 @@ package internal_test import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" "github.com/rabbitmq/messaging-topology-operator/internal" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/internal/permissions.go b/internal/permissions.go index 75875b2e..e6168748 100644 --- a/internal/permissions.go +++ b/internal/permissions.go @@ -11,7 +11,7 @@ package internal import ( rabbithole "github.com/michaelklishin/rabbit-hole/v2" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" ) func GeneratePermissions(p *topology.Permission) rabbithole.Permissions { diff --git a/internal/permissions_test.go b/internal/permissions_test.go index ce6f5101..e1ced0ff 100644 --- a/internal/permissions_test.go +++ b/internal/permissions_test.go @@ -3,7 +3,7 @@ package internal_test import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" . "github.com/rabbitmq/messaging-topology-operator/internal" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/internal/policy.go b/internal/policy.go index 24e6248b..f1ceb346 100644 --- a/internal/policy.go +++ b/internal/policy.go @@ -13,7 +13,7 @@ import ( "encoding/json" "fmt" rabbithole "github.com/michaelklishin/rabbit-hole/v2" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" ) func GeneratePolicy(p *topology.Policy) (*rabbithole.Policy, error) { diff --git a/internal/policy_test.go b/internal/policy_test.go index ddeb5b1d..fffa310c 100644 --- a/internal/policy_test.go +++ b/internal/policy_test.go @@ -3,7 +3,7 @@ package internal_test import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" . "github.com/rabbitmq/messaging-topology-operator/internal" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/internal/queue_settings.go b/internal/queue_settings.go index 8f7065bd..4b7751cc 100644 --- a/internal/queue_settings.go +++ b/internal/queue_settings.go @@ -13,7 +13,7 @@ import ( "encoding/json" "fmt" rabbithole "github.com/michaelklishin/rabbit-hole/v2" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" ) // generates rabbithole.QueueSettings for a given Queue diff --git a/internal/queue_settings_test.go b/internal/queue_settings_test.go index c972eb93..8509a2ef 100644 --- a/internal/queue_settings_test.go +++ b/internal/queue_settings_test.go @@ -3,7 +3,7 @@ package internal_test import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" "github.com/rabbitmq/messaging-topology-operator/internal" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/internal/user_settings.go b/internal/user_settings.go index e934886e..67dbcda2 100644 --- a/internal/user_settings.go +++ b/internal/user_settings.go @@ -13,7 +13,7 @@ import ( "fmt" rabbithole "github.com/michaelklishin/rabbit-hole/v2" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" corev1 "k8s.io/api/core/v1" ) diff --git a/internal/user_settings_test.go b/internal/user_settings_test.go index 240b4cc6..c2684410 100644 --- a/internal/user_settings_test.go +++ b/internal/user_settings_test.go @@ -7,7 +7,7 @@ import ( rabbithole "github.com/michaelklishin/rabbit-hole/v2" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" "github.com/rabbitmq/messaging-topology-operator/internal" corev1 "k8s.io/api/core/v1" ) diff --git a/internal/vhost_settings.go b/internal/vhost_settings.go index 0694750e..348f69f7 100644 --- a/internal/vhost_settings.go +++ b/internal/vhost_settings.go @@ -11,7 +11,7 @@ package internal import ( rabbithole "github.com/michaelklishin/rabbit-hole/v2" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" ) func GenerateVhostSettings(v *topology.Vhost) *rabbithole.VhostSettings { diff --git a/internal/vhost_settings_test.go b/internal/vhost_settings_test.go index 30f185d7..9485460f 100644 --- a/internal/vhost_settings_test.go +++ b/internal/vhost_settings_test.go @@ -3,7 +3,7 @@ package internal_test import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" "github.com/rabbitmq/messaging-topology-operator/internal" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/main.go b/main.go index afddab76..0913aa3e 100644 --- a/main.go +++ b/main.go @@ -21,7 +21,7 @@ import ( rabbitmqv1beta1 "github.com/rabbitmq/cluster-operator/api/v1beta1" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" "github.com/rabbitmq/messaging-topology-operator/controllers" "github.com/rabbitmq/messaging-topology-operator/internal" // +kubebuilder:scaffold:imports diff --git a/system_tests/binding_system_test.go b/system_tests/binding_system_test.go index 9bb17a76..18e71465 100644 --- a/system_tests/binding_system_test.go +++ b/system_tests/binding_system_test.go @@ -13,7 +13,7 @@ import ( . "github.com/onsi/gomega" . "github.com/onsi/gomega/gstruct" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" ) var _ = Describe("Binding", func() { diff --git a/system_tests/deletion_system_test.go b/system_tests/deletion_system_test.go index 0e17f978..39596125 100644 --- a/system_tests/deletion_system_test.go +++ b/system_tests/deletion_system_test.go @@ -4,7 +4,7 @@ import ( "context" rabbitmqv1beta1 "github.com/rabbitmq/cluster-operator/api/v1beta1" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/system_tests/exchange_system_test.go b/system_tests/exchange_system_test.go index 176d1c3b..f503b449 100644 --- a/system_tests/exchange_system_test.go +++ b/system_tests/exchange_system_test.go @@ -14,7 +14,7 @@ import ( . "github.com/onsi/gomega" . "github.com/onsi/gomega/gstruct" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" ) var _ = Describe("Exchange", func() { diff --git a/system_tests/permissions_system_test.go b/system_tests/permissions_system_test.go index 154ee78e..60d5429c 100644 --- a/system_tests/permissions_system_test.go +++ b/system_tests/permissions_system_test.go @@ -12,7 +12,7 @@ import ( . "github.com/onsi/gomega" . "github.com/onsi/gomega/gstruct" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" ) var _ = Describe("Permission", func() { diff --git a/system_tests/policy_system_test.go b/system_tests/policy_system_test.go index b705a09a..f2df8a9c 100644 --- a/system_tests/policy_system_test.go +++ b/system_tests/policy_system_test.go @@ -13,7 +13,7 @@ import ( . "github.com/onsi/gomega" . "github.com/onsi/gomega/gstruct" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" ) var _ = Describe("Policy", func() { diff --git a/system_tests/queue_system_test.go b/system_tests/queue_system_test.go index 6aa62333..7ad55baf 100644 --- a/system_tests/queue_system_test.go +++ b/system_tests/queue_system_test.go @@ -14,7 +14,7 @@ import ( . "github.com/onsi/gomega" . "github.com/onsi/gomega/gstruct" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" ) var _ = Describe("Queue Controller", func() { diff --git a/system_tests/schema_replication_system_test.go b/system_tests/schema_replication_system_test.go index 1619d865..aeb370f7 100644 --- a/system_tests/schema_replication_system_test.go +++ b/system_tests/schema_replication_system_test.go @@ -11,7 +11,7 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" ) var _ = Describe("schema replication", func() { diff --git a/system_tests/suite_test.go b/system_tests/suite_test.go index 9936e444..dcf63190 100644 --- a/system_tests/suite_test.go +++ b/system_tests/suite_test.go @@ -17,7 +17,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" rabbithole "github.com/michaelklishin/rabbit-hole/v2" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" "k8s.io/client-go/kubernetes" . "github.com/onsi/ginkgo" diff --git a/system_tests/tls_system_test.go b/system_tests/tls_system_test.go index 10de7ac3..47301249 100644 --- a/system_tests/tls_system_test.go +++ b/system_tests/tls_system_test.go @@ -6,7 +6,7 @@ import ( "github.com/google/uuid" rabbitmqv1beta1 "github.com/rabbitmq/cluster-operator/api/v1beta1" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/types" diff --git a/system_tests/user_system_test.go b/system_tests/user_system_test.go index c5f86faa..743cc720 100644 --- a/system_tests/user_system_test.go +++ b/system_tests/user_system_test.go @@ -13,7 +13,7 @@ import ( . "github.com/onsi/gomega/gstruct" "k8s.io/apimachinery/pkg/types" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" ) var _ = Describe("Users", func() { diff --git a/system_tests/vhost_system_test.go b/system_tests/vhost_system_test.go index 105acbd2..190e3f63 100644 --- a/system_tests/vhost_system_test.go +++ b/system_tests/vhost_system_test.go @@ -11,7 +11,7 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - topology "github.com/rabbitmq/messaging-topology-operator/api/v1alpha2" + topology "github.com/rabbitmq/messaging-topology-operator/api/v1beta1" ) var _ = Describe("vhost", func() {