Skip to content

Commit

Permalink
Add support for Azure RedhatOpenshift Clusters (#4152)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
super-harsh authored Aug 19, 2024
1 parent 2afdf16 commit b91d01b
Show file tree
Hide file tree
Showing 34 changed files with 21,635 additions and 7 deletions.
12 changes: 12 additions & 0 deletions docs/hugo/content/reference/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,18 @@ These resource(s) are available for use in the current release of ASO. Different
|----------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------|---------------|----------------|-------------------------------------------------------------------------------------------------------------------------------------|
| [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) |

## RedHatOpenShift

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.

### 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 |
|------------------|-------------|---------------|----------------|----------------------------------------------------------------------------------------------------------------------------------------|
| 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) |

## Resources

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.
Expand Down
15 changes: 15 additions & 0 deletions docs/hugo/content/reference/redhatopenshift/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: RedHatOpenShift Supported Resources
linktitle: RedHatOpenShift
no_list: true
---
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.

### 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 |
|------------------|-------------|---------------|----------------|----------------------------------------------------------------------------------------------------------------------------------------|
| 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) |

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

4 changes: 4 additions & 0 deletions v2/api/redhatopenshift/customizations/structure.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
github.com/Azure/azure-service-operator/v2/api/redhatopenshift/customizations
-----------------------------------------------------------------------------
OpenShiftClusterExtension: Object (0 properties)
10 changes: 10 additions & 0 deletions v2/api/redhatopenshift/v1api20231122/doc.go

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

32 changes: 32 additions & 0 deletions v2/api/redhatopenshift/v1api20231122/groupversion_info_gen.go

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 b91d01b

Please sign in to comment.