Skip to content

Commit b91d01b

Browse files
authored
Add support for Azure RedhatOpenshift Clusters (#4152)
* Add support for ARO clusters * Mark required properties as secretReference and resourceReference * Add recordings and test; Add redact secret logic; update generated files * Revert * update comments * Update redact secret logic; Make clientID to be imported optionally from configmap * Resolve comments * Add new line * Add makeSecureStringOfLength method * update error message * Use custom redaction * MArk ProvisioningState as read-only * Update test and recording * Update deepcopy files
1 parent 2afdf16 commit b91d01b

34 files changed

+21635
-7
lines changed

docs/hugo/content/reference/_index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,18 @@ These resource(s) are available for use in the current release of ASO. Different
576576
|----------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------|---------------|----------------|-------------------------------------------------------------------------------------------------------------------------------------|
577577
| [Workspace](https://azure.github.io/azure-service-operator/reference/operationalinsights/v1api20210601/#operationalinsights.azure.com/v1api20210601.Workspace) | 2021-06-01 | v1api20210601 | v2.0.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/operationalinsights/v1api/v1api20210601_workspace.yaml) |
578578

579+
## RedHatOpenShift
580+
581+
To install the CRDs for these resources, your ASO configuration must include `redhatopenshift.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.
582+
583+
### Next Release
584+
585+
Development of these new resources is complete and they will be available in the next release of ASO.
586+
587+
| Resource | ARM Version | CRD Version | Supported From | Sample |
588+
|------------------|-------------|---------------|----------------|----------------------------------------------------------------------------------------------------------------------------------------|
589+
| OpenShiftCluster | 2023-11-22 | v1api20231122 | v2.9.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/redhatopenshift/v1api/v1api20231122_openshiftcluster.yaml) |
590+
579591
## Resources
580592

581593
To install the CRDs for these resources, your ASO configuration must include `resources.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.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: RedHatOpenShift Supported Resources
3+
linktitle: RedHatOpenShift
4+
no_list: true
5+
---
6+
To install the CRDs for these resources, your ASO configuration must include `redhatopenshift.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.
7+
8+
### Next Release
9+
10+
Development of these new resources is complete and they will be available in the next release of ASO.
11+
12+
| Resource | ARM Version | CRD Version | Supported From | Sample |
13+
|------------------|-------------|---------------|----------------|----------------------------------------------------------------------------------------------------------------------------------------|
14+
| OpenShiftCluster | 2023-11-22 | v1api20231122 | v2.9.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/redhatopenshift/v1api/v1api20231122_openshiftcluster.yaml) |
15+

v2/api/redhatopenshift/customizations/open_shift_cluster_extension_types_gen.go

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
2+
github.com/Azure/azure-service-operator/v2/api/redhatopenshift/customizations
3+
-----------------------------------------------------------------------------
4+
OpenShiftClusterExtension: Object (0 properties)

v2/api/redhatopenshift/v1api20231122/doc.go

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

v2/api/redhatopenshift/v1api20231122/groupversion_info_gen.go

Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

v2/api/redhatopenshift/v1api20231122/open_shift_cluster_spec_arm_types_gen.go

Lines changed: 164 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)