Skip to content

Commit

Permalink
Add new 2024-09-01 containerservice API (#4419)
Browse files Browse the repository at this point in the history
- Fix issue in RepairSkippingProperties which could cause an issue when
  a type is reused among multiple resources, such as in a containerservice
  ManagedCluster and AgentPool.
- Add new StripDocumentation pipeline stage, which can be used to strip
  descriptions off CRD types to reduce their size.
  - We don't want to do this in perpetuity, see #4418 which tracks removing
    some old versions of ManagedCluster so we can drop this in a
    future release.
- Add support for 2024-09-01 version of AKS API.
- Add support for MaintenanceConfiguration.
  • Loading branch information
matthchr authored Nov 6, 2024
1 parent 07e4201 commit 4b0c23e
Show file tree
Hide file tree
Showing 144 changed files with 163,426 additions and 22,899 deletions.
11 changes: 11 additions & 0 deletions docs/hugo/content/reference/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,17 @@ 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 `containerservice.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 |
|--------------------------|-------------|---------------|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|
| MaintenanceConfiguration | 2024-09-01 | v1api20240901 | v2.11.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/containerservice/v1api20240901/v1api20240901_maintenanceconfiguration.yaml) |
| ManagedCluster | 2024-09-01 | v1api20240901 | v2.11.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/containerservice/v1api20240901/v1api20240901_managedcluster.yaml) |
| ManagedClustersAgentPool | 2024-09-01 | v1api20240901 | v2.11.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/containerservice/v1api20240901/v1api20240901_managedclustersagentpool.yaml) |
| TrustedAccessRoleBinding | 2024-09-01 | v1api20240901 | v2.11.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/containerservice/v1api20240901/v1api20240901_trustedaccessrolebinding.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
11 changes: 11 additions & 0 deletions docs/hugo/content/reference/containerservice/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ no_list: true
---
To install the CRDs for these resources, your ASO configuration must include `containerservice.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 |
|--------------------------|-------------|---------------|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|
| MaintenanceConfiguration | 2024-09-01 | v1api20240901 | v2.11.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/containerservice/v1api20240901/v1api20240901_maintenanceconfiguration.yaml) |
| ManagedCluster | 2024-09-01 | v1api20240901 | v2.11.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/containerservice/v1api20240901/v1api20240901_managedcluster.yaml) |
| ManagedClustersAgentPool | 2024-09-01 | v1api20240901 | v2.11.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/containerservice/v1api20240901/v1api20240901_managedclustersagentpool.yaml) |
| TrustedAccessRoleBinding | 2024-09-01 | v1api20240901 | v2.11.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/containerservice/v1api20240901/v1api20240901_trustedaccessrolebinding.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.

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"

containerservice "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"
containerservice "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240901/storage"
"github.com/Azure/azure-service-operator/v2/internal/genericarmclient"
. "github.com/Azure/azure-service-operator/v2/internal/logging"
"github.com/Azure/azure-service-operator/v2/internal/resolver"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

. "github.com/onsi/gomega"

containerservice "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"
containerservice "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240901/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 @@ -14,8 +14,7 @@ import (
"github.com/pkg/errors"
"sigs.k8s.io/controller-runtime/pkg/conversion"

containerservice "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"

containerservice "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240901/storage"
"github.com/Azure/azure-service-operator/v2/internal/genericarmclient"
"github.com/Azure/azure-service-operator/v2/internal/resolver"
"github.com/Azure/azure-service-operator/v2/internal/set"
Expand Down
1 change: 1 addition & 0 deletions v2/api/containerservice/customizations/structure.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/customizations
FleetExtension: Object (0 properties)
FleetsMemberExtension: Object (0 properties)
FleetsUpdateRunExtension: Object (0 properties)
MaintenanceConfigurationExtension: Object (0 properties)
ManagedClusterExtension: Object (0 properties)
ManagedClustersAgentPoolExtension: Object (0 properties)
TrustedAccessRoleBindingExtension: Object (0 properties)

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

Loading

0 comments on commit 4b0c23e

Please sign in to comment.