Skip to content

Commit

Permalink
Add latest version of PostgreSQL (#3593)
Browse files Browse the repository at this point in the history
* Update configuration

* Update generated files

* Update customizations

* Update reconciler

* Add new samples

* Update docs

* Add tests and fix naming

* Add test recording

* Update generated files
  • Loading branch information
theunrepentantgeek authored Nov 30, 2023
1 parent 7f4298d commit c19c579
Show file tree
Hide file tree
Showing 95 changed files with 32,908 additions and 685 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 @@ -236,6 +236,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 `dbforpostgresql.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 |
|------------------------------|-------------|---------------|----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
| FlexibleServer | 2022-12-01 | v1api20221201 | v2.5.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/dbforpostgresql/v1api20221201/v1api20221201_flexibleserver.yaml) |
| FlexibleServersConfiguration | 2022-12-01 | v1api20221201 | v2.5.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/dbforpostgresql/v1api20221201/v1api20221201_flexibleserversconfiguration.yaml) |
| FlexibleServersDatabase | 2022-12-01 | v1api20221201 | v2.5.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/dbforpostgresql/v1api20221201/v1api20221201_flexibleserversdatabase.yaml) |
| FlexibleServersFirewallRule | 2022-12-01 | v1api20221201 | v2.5.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/dbforpostgresql/v1api20221201/v1api20221201_flexibleserversfirewallrule.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/dbforpostgresql/_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 `dbforpostgresql.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 |
|------------------------------|-------------|---------------|----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
| FlexibleServer | 2022-12-01 | v1api20221201 | v2.5.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/dbforpostgresql/v1api20221201/v1api20221201_flexibleserver.yaml) |
| FlexibleServersConfiguration | 2022-12-01 | v1api20221201 | v2.5.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/dbforpostgresql/v1api20221201/v1api20221201_flexibleserversconfiguration.yaml) |
| FlexibleServersDatabase | 2022-12-01 | v1api20221201 | v2.5.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/dbforpostgresql/v1api20221201/v1api20221201_flexibleserversdatabase.yaml) |
| FlexibleServersFirewallRule | 2022-12-01 | v1api20221201 | v2.5.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/dbforpostgresql/v1api20221201/v1api20221201_flexibleserversfirewallrule.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.

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

postgresql "github.com/Azure/azure-service-operator/v2/api/dbforpostgresql/v1api20210601/storage"
postgresql "github.com/Azure/azure-service-operator/v2/api/dbforpostgresql/v1api20221201/storage"
. "github.com/Azure/azure-service-operator/v2/internal/logging"

"github.com/Azure/azure-service-operator/v2/internal/genericarmclient"
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 @@ -8,7 +8,7 @@ package customizations
import (
"context"

api "github.com/Azure/azure-service-operator/v2/api/dbforpostgresql/v1api20210601"
api "github.com/Azure/azure-service-operator/v2/api/dbforpostgresql/v1api20221201"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/extensions"
)
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 @@ -11,8 +11,8 @@ import (

"github.com/go-logr/logr"

api "github.com/Azure/azure-service-operator/v2/api/dbforpostgresql/v1api20210601"
hub "github.com/Azure/azure-service-operator/v2/api/dbforpostgresql/v1api20210601/storage"
api "github.com/Azure/azure-service-operator/v2/api/dbforpostgresql/v1api20221201"
hub "github.com/Azure/azure-service-operator/v2/api/dbforpostgresql/v1api20221201/storage"

"github.com/Azure/azure-service-operator/v2/internal/genericarmclient"
"github.com/Azure/azure-service-operator/v2/internal/resolver"
Expand Down

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

Loading

0 comments on commit c19c579

Please sign in to comment.