Skip to content

Commit fb58dff

Browse files
Copilotmatthchr
andauthored
Add support for Azure Redis Cache AccessPolicy and AccessPolicyAssignment resources (#4875)
* Initial plan * Add AccessPolicy and AccessPolicyAssignment support for Redis Cache Co-authored-by: matthchr <[email protected]> * Complete AccessPolicy and AccessPolicyAssignment implementation with tests and samples Co-authored-by: matthchr <[email protected]> * Update $supportedFrom to v2.16.0 and add missing newlines to sample files Co-authored-by: matthchr <[email protected]> * Generate API documentation for new Redis v1api20241101 resources Co-authored-by: matthchr <[email protected]> * Fixes * Add missing Redis 20241101 CRUD tests for FirewallRule, LinkedServer, and PatchSchedule Co-authored-by: matthchr <[email protected]> * More fixes * Add ConfigMap import support for ObjectId and ObjectIdAlias fields in RedisAccessPolicyAssignment Co-authored-by: matthchr <[email protected]> * Record tests * Fixes due to new submodule * PR feedback --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: matthchr <[email protected]> Co-authored-by: Matthew Christopher <[email protected]>
1 parent 123637a commit fb58dff

File tree

126 files changed

+47856
-982
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+47856
-982
lines changed

docs/hugo/content/reference/_index.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,19 @@ These resource(s) are available for use in the current release of ASO. Different
139139

140140
To install the CRDs for these resources, your ASO configuration must include `cache.azure.com/*` as 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.
141141

142+
### Next Release
143+
144+
Development of these new resources is complete and they will be available in the next release of ASO.
145+
146+
| Resource | ARM Version | CRD Version | Supported From | Sample |
147+
|------------------------------------------------------------------------------------------------------------|-------------|---------------|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------|
148+
| [Redis]({{< relref "/reference/cache/v1api20241101#Redis" >}}) | 2024-11-01 | v1api20241101 | v2.16.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20241101/v1api20241101_redis.yaml) |
149+
| [RedisAccessPolicy]({{< relref "/reference/cache/v1api20241101#RedisAccessPolicy" >}}) | 2024-11-01 | v1api20241101 | v2.16.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20241101/v1api20241101_redisaccesspolicy.yaml) |
150+
| [RedisAccessPolicyAssignment]({{< relref "/reference/cache/v1api20241101#RedisAccessPolicyAssignment" >}}) | 2024-11-01 | v1api20241101 | v2.16.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20241101/v1api20241101_redisaccesspolicyassignment.yaml) |
151+
| [RedisFirewallRule]({{< relref "/reference/cache/v1api20241101#RedisFirewallRule" >}}) | 2024-11-01 | v1api20241101 | v2.16.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20241101/v1api20241101_redisfirewallrule.yaml) |
152+
| [RedisLinkedServer]({{< relref "/reference/cache/v1api20241101#RedisLinkedServer" >}}) | 2024-11-01 | v1api20241101 | v2.16.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20241101/v1api20241101_redislinkedserver.yaml) |
153+
| [RedisPatchSchedule]({{< relref "/reference/cache/v1api20241101#RedisPatchSchedule" >}}) | 2024-11-01 | v1api20241101 | v2.16.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20241101/v1api20241101_redispatchschedule.yaml) |
154+
142155
### Latest Released Versions
143156

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

docs/hugo/content/reference/cache/_index.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,19 @@ no_list: true
55
---
66
To install the CRDs for these resources, your ASO configuration must include `cache.azure.com/*` as 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.
77

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+
| [Redis]({{< relref "/reference/cache/v1api20241101#Redis" >}}) | 2024-11-01 | v1api20241101 | v2.16.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20241101/v1api20241101_redis.yaml) |
15+
| [RedisAccessPolicy]({{< relref "/reference/cache/v1api20241101#RedisAccessPolicy" >}}) | 2024-11-01 | v1api20241101 | v2.16.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20241101/v1api20241101_redisaccesspolicy.yaml) |
16+
| [RedisAccessPolicyAssignment]({{< relref "/reference/cache/v1api20241101#RedisAccessPolicyAssignment" >}}) | 2024-11-01 | v1api20241101 | v2.16.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20241101/v1api20241101_redisaccesspolicyassignment.yaml) |
17+
| [RedisFirewallRule]({{< relref "/reference/cache/v1api20241101#RedisFirewallRule" >}}) | 2024-11-01 | v1api20241101 | v2.16.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20241101/v1api20241101_redisfirewallrule.yaml) |
18+
| [RedisLinkedServer]({{< relref "/reference/cache/v1api20241101#RedisLinkedServer" >}}) | 2024-11-01 | v1api20241101 | v2.16.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20241101/v1api20241101_redislinkedserver.yaml) |
19+
| [RedisPatchSchedule]({{< relref "/reference/cache/v1api20241101#RedisPatchSchedule" >}}) | 2024-11-01 | v1api20241101 | v2.16.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20241101/v1api20241101_redispatchschedule.yaml) |
20+
821
### Latest Released Versions
922

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

0 commit comments

Comments
 (0)