Skip to content

Add support for Azure Redis Cache AccessPolicy and AccessPolicyAssignment resources #4875

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions docs/hugo/content/reference/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,16 @@ To install the CRDs for these resources, your ASO configuration must include `ca

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 |
|----------------------------------------------------------------------------------------------------|-------------|---------------|----------------|---------------------------------------------------------------------------------------------------------------------------------------------|
| [RedisEnterprise]({{< relref "/reference/cache/v1api20250401#RedisEnterprise" >}}) | 2025-04-01 | v1api20250401 | v2.15.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20250401/v1api20250401_redisenterprise.yaml) |
| [RedisEnterpriseDatabase]({{< relref "/reference/cache/v1api20250401#RedisEnterpriseDatabase" >}}) | 2025-04-01 | v1api20250401 | v2.15.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20250401/v1api20250401_redisenterprisedatabase.yaml) |
| Resource | ARM Version | CRD Version | Supported From | Sample |
|----------------------------------------------------------------------------------------------------|-------------|---------------|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------|
| Redis | 2024-11-01 | v1api20241101 | v2.15.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20241101/v1api20241101_redis.yaml) |
| RedisAccessPolicy | 2024-11-01 | v1api20241101 | v2.15.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20241101/v1api20241101_redisaccesspolicy.yaml) |
| RedisAccessPolicyAssignment | 2024-11-01 | v1api20241101 | v2.15.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20241101/v1api20241101_redisaccesspolicyassignment.yaml) |
| [RedisEnterprise]({{< relref "/reference/cache/v1api20250401#RedisEnterprise" >}}) | 2025-04-01 | v1api20250401 | v2.15.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20250401/v1api20250401_redisenterprise.yaml) |
| [RedisEnterpriseDatabase]({{< relref "/reference/cache/v1api20250401#RedisEnterpriseDatabase" >}}) | 2025-04-01 | v1api20250401 | v2.15.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20250401/v1api20250401_redisenterprisedatabase.yaml) |
| RedisFirewallRule | 2024-11-01 | v1api20241101 | v2.15.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20241101/v1api20241101_redisfirewallrule.yaml) |
| RedisLinkedServer | 2024-11-01 | v1api20241101 | v2.15.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20241101/v1api20241101_redislinkedserver.yaml) |
| RedisPatchSchedule | 2024-11-01 | v1api20241101 | v2.15.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20241101/v1api20241101_redispatchschedule.yaml) |

### Latest Released Versions

Expand Down
14 changes: 10 additions & 4 deletions docs/hugo/content/reference/cache/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,16 @@ To install the CRDs for these resources, your ASO configuration must include `ca

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 |
|----------------------------------------------------------------------------------------------------|-------------|---------------|----------------|---------------------------------------------------------------------------------------------------------------------------------------------|
| [RedisEnterprise]({{< relref "/reference/cache/v1api20250401#RedisEnterprise" >}}) | 2025-04-01 | v1api20250401 | v2.15.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20250401/v1api20250401_redisenterprise.yaml) |
| [RedisEnterpriseDatabase]({{< relref "/reference/cache/v1api20250401#RedisEnterpriseDatabase" >}}) | 2025-04-01 | v1api20250401 | v2.15.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20250401/v1api20250401_redisenterprisedatabase.yaml) |
| Resource | ARM Version | CRD Version | Supported From | Sample |
|----------------------------------------------------------------------------------------------------|-------------|---------------|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------|
| Redis | 2024-11-01 | v1api20241101 | v2.15.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20241101/v1api20241101_redis.yaml) |
| RedisAccessPolicy | 2024-11-01 | v1api20241101 | v2.15.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20241101/v1api20241101_redisaccesspolicy.yaml) |
| RedisAccessPolicyAssignment | 2024-11-01 | v1api20241101 | v2.15.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20241101/v1api20241101_redisaccesspolicyassignment.yaml) |
| [RedisEnterprise]({{< relref "/reference/cache/v1api20250401#RedisEnterprise" >}}) | 2025-04-01 | v1api20250401 | v2.15.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20250401/v1api20250401_redisenterprise.yaml) |
| [RedisEnterpriseDatabase]({{< relref "/reference/cache/v1api20250401#RedisEnterpriseDatabase" >}}) | 2025-04-01 | v1api20250401 | v2.15.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20250401/v1api20250401_redisenterprisedatabase.yaml) |
| RedisFirewallRule | 2024-11-01 | v1api20241101 | v2.15.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20241101/v1api20241101_redisfirewallrule.yaml) |
| RedisLinkedServer | 2024-11-01 | v1api20241101 | v2.15.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20241101/v1api20241101_redislinkedserver.yaml) |
| RedisPatchSchedule | 2024-11-01 | v1api20241101 | v2.15.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/cache/v1api20241101/v1api20241101_redispatchschedule.yaml) |

### Latest Released Versions

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.

6 changes: 5 additions & 1 deletion v2/api/cache/customizations/redis_extension_types_gen.go

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

2 changes: 1 addition & 1 deletion v2/api/cache/customizations/redis_extensions.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
v1 "k8s.io/api/core/v1"
"sigs.k8s.io/controller-runtime/pkg/conversion"

redis "github.com/Azure/azure-service-operator/v2/api/cache/v1api20230801/storage"
redis "github.com/Azure/azure-service-operator/v2/api/cache/v1api20241101/storage"
"github.com/Azure/azure-service-operator/v2/internal/genericarmclient"
"github.com/Azure/azure-service-operator/v2/internal/set"
"github.com/Azure/azure-service-operator/v2/internal/util/to"
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.

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/cache/customizations/structure.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
github.com/Azure/azure-service-operator/v2/api/cache/customizations
-------------------------------------------------------------------
RedisAccessPolicyAssignmentExtension: Object (0 properties)

RedisAccessPolicyExtension: Object (0 properties)

RedisEnterpriseDatabaseExtension: Object (0 properties)

RedisEnterpriseExtension: Object (0 properties)
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.

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

4 changes: 2 additions & 2 deletions v2/api/cache/v1api20201201/redis_types_gen_test.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.

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