Skip to content

Commit

Permalink
Upgrade ServiceBus Namespaces to API version 2024-01-01 (#4561)
Browse files Browse the repository at this point in the history
* Update configuration

* Update generated API files

* Update extensions

* Update docs

* Add tests and record them

* Add samples and tests

* Tidy code
  • Loading branch information
theunrepentantgeek authored Feb 6, 2025
1 parent fd62017 commit 0452638
Show file tree
Hide file tree
Showing 149 changed files with 51,070 additions and 1,242 deletions.
13 changes: 13 additions & 0 deletions docs/hugo/content/reference/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,19 @@ These resource(s) are available for use in the current release of ASO. Different

To install the CRDs for these resources, your ASO configuration must include `servicebus.azure.com/*` as a one of the configured CRD patterns. See [CRD Management in ASO](https://azure.github.io/azure-service-operator/guide/crd-management/) for details on doing this for both [Helm](https://azure.github.io/azure-service-operator/guide/crd-management/#helm) and [YAML](https://azure.github.io/azure-service-operator/guide/crd-management/#yaml) based installations.

### Next Release

Development of these new resources is complete and they will be available in the next release of ASO.

| Resource | ARM Version | CRD Version | Supported From | Sample |
|-----------------------------------|-------------|---------------|----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Namespace | 2024-01-01 | v1api20240101 | v2.12.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/servicebus/v1api20240101/v1api20240101_namespace.yaml) |
| NamespacesAuthorizationRule | 2024-01-01 | v1api20240101 | v2.12.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/servicebus/v1api20240101/v1api20240101_namespacesauthorizationrule.yaml) |
| NamespacesQueue | 2024-01-01 | v1api20240101 | v2.12.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/servicebus/v1api20240101/v1api20240101_namespacesqueue.yaml) |
| NamespacesTopic | 2024-01-01 | v1api20240101 | v2.12.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/servicebus/v1api20240101/v1api20240101_namespacestopic.yaml) |
| NamespacesTopicsSubscription | 2024-01-01 | v1api20240101 | v2.12.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/servicebus/v1api20240101/v1api20240101_namespacestopicssubscription.yaml) |
| NamespacesTopicsSubscriptionsRule | 2024-01-01 | v1api20240101 | v2.12.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/servicebus/v1api20240101/v1api20240101_namespacestopicssubscriptionsrule.yaml) |

### Released

These resource(s) are available for use in the current release of ASO. Different versions of a given resource reflect different versions of the Azure ARM API.
Expand Down
13 changes: 13 additions & 0 deletions docs/hugo/content/reference/servicebus/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ no_list: true
---
To install the CRDs for these resources, your ASO configuration must include `servicebus.azure.com/*` as a one of the configured CRD patterns. See [CRD Management in ASO](https://azure.github.io/azure-service-operator/guide/crd-management/) for details on doing this for both [Helm](https://azure.github.io/azure-service-operator/guide/crd-management/#helm) and [YAML](https://azure.github.io/azure-service-operator/guide/crd-management/#yaml) based installations.

### Next Release

Development of these new resources is complete and they will be available in the next release of ASO.

| Resource | ARM Version | CRD Version | Supported From | Sample |
|-----------------------------------|-------------|---------------|----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Namespace | 2024-01-01 | v1api20240101 | v2.12.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/servicebus/v1api20240101/v1api20240101_namespace.yaml) |
| NamespacesAuthorizationRule | 2024-01-01 | v1api20240101 | v2.12.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/servicebus/v1api20240101/v1api20240101_namespacesauthorizationrule.yaml) |
| NamespacesQueue | 2024-01-01 | v1api20240101 | v2.12.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/servicebus/v1api20240101/v1api20240101_namespacesqueue.yaml) |
| NamespacesTopic | 2024-01-01 | v1api20240101 | v2.12.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/servicebus/v1api20240101/v1api20240101_namespacestopic.yaml) |
| NamespacesTopicsSubscription | 2024-01-01 | v1api20240101 | v2.12.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/servicebus/v1api20240101/v1api20240101_namespacestopicssubscription.yaml) |
| NamespacesTopicsSubscriptionsRule | 2024-01-01 | v1api20240101 | v2.12.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/servicebus/v1api20240101/v1api20240101_namespacestopicssubscriptionsrule.yaml) |

### Released

These resource(s) are available for use in the current release of ASO. Different versions of a given resource reflect different versions of the Azure ARM API.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion v2/api/servicebus/customizations/namespace_extensions.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
v1 "k8s.io/api/core/v1"
"sigs.k8s.io/controller-runtime/pkg/conversion"

servicebus "github.com/Azure/azure-service-operator/v2/api/servicebus/v1api20211101/storage"
servicebus "github.com/Azure/azure-service-operator/v2/api/servicebus/v1api20240101/storage"
"github.com/Azure/azure-service-operator/v2/internal/genericarmclient"
"github.com/Azure/azure-service-operator/v2/internal/set"
"github.com/Azure/azure-service-operator/v2/internal/util/to"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

. "github.com/onsi/gomega"

servicebus "github.com/Azure/azure-service-operator/v2/api/servicebus/v1api20211101/storage"
servicebus "github.com/Azure/azure-service-operator/v2/api/servicebus/v1api20240101/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
testreflect "github.com/Azure/azure-service-operator/v2/internal/testcommon/reflect"
)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
v1 "k8s.io/api/core/v1"
"sigs.k8s.io/controller-runtime/pkg/conversion"

servicebus "github.com/Azure/azure-service-operator/v2/api/servicebus/v1api20211101/storage"
servicebus "github.com/Azure/azure-service-operator/v2/api/servicebus/v1api20240101/storage"
"github.com/Azure/azure-service-operator/v2/internal/genericarmclient"
"github.com/Azure/azure-service-operator/v2/internal/set"
"github.com/Azure/azure-service-operator/v2/internal/util/to"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

. "github.com/onsi/gomega"

servicebus "github.com/Azure/azure-service-operator/v2/api/servicebus/v1api20211101/storage"
servicebus "github.com/Azure/azure-service-operator/v2/api/servicebus/v1api20240101/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
testreflect "github.com/Azure/azure-service-operator/v2/internal/testcommon/reflect"
)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0452638

Please sign in to comment.