From 70f2848938b658134e1cf269e62d79290745a76f Mon Sep 17 00:00:00 2001 From: "Dave J. Franco" Date: Sat, 1 Jun 2024 14:05:26 +0200 Subject: [PATCH] Update replicationgroup CRD (#298) --- .../replicationgroup_v1alpha1.json | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/elasticache.services.k8s.aws/replicationgroup_v1alpha1.json b/elasticache.services.k8s.aws/replicationgroup_v1alpha1.json index 346c83b1..f6b83ea5 100644 --- a/elasticache.services.k8s.aws/replicationgroup_v1alpha1.json +++ b/elasticache.services.k8s.aws/replicationgroup_v1alpha1.json @@ -54,6 +54,23 @@ "description": "The name of the parameter group to associate with this replication group. If this argument is omitted, the default cache parameter group for the specified engine is used. \n If you are running Redis version 3.2.4 or later, only one node group (shard), and want to use a default parameter group, we recommend that you specify the parameter group by name. \n - To create a Redis (cluster mode disabled) replication group, use CacheParameterGroupName=default.redis3.2. \n - To create a Redis (cluster mode enabled) replication group, use CacheParameterGroupName=default.redis3.2.cluster.on.", "type": "string" }, + "cacheParameterGroupRef": { + "description": "AWSResourceReferenceWrapper provides a wrapper around *AWSResourceReference type to provide more user friendly syntax for references using 'from' field Ex: APIIDRef: \n from: name: my-api", + "properties": { + "from": { + "description": "AWSResourceReference provides all the values necessary to reference another k8s resource for finding the identifier(Id/ARN/Name)", + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, "cacheSecurityGroupNames": { "description": "A list of cache security group names to associate with this replication group.", "items": { @@ -65,6 +82,23 @@ "description": "The name of the cache subnet group to be used for the replication group. \n If you're going to launch your cluster in an Amazon VPC, you need to create a subnet group before you start creating a cluster. For more information, see Subnets and Subnet Groups (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/SubnetGroups.html).", "type": "string" }, + "cacheSubnetGroupRef": { + "description": "AWSResourceReferenceWrapper provides a wrapper around *AWSResourceReference type to provide more user friendly syntax for references using 'from' field Ex: APIIDRef: \n from: name: my-api", + "properties": { + "from": { + "description": "AWSResourceReference provides all the values necessary to reference another k8s resource for finding the identifier(Id/ARN/Name)", + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, "dataTieringEnabled": { "description": "Enables data tiering. Data tiering is only supported for replication groups using the r6gd node type. This parameter must be set to true when using r6gd nodes. For more information, see Data tiering (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/data-tiering.html).", "type": "boolean" @@ -223,6 +257,26 @@ }, "type": "array" }, + "securityGroupRefs": { + "items": { + "description": "AWSResourceReferenceWrapper provides a wrapper around *AWSResourceReference type to provide more user friendly syntax for references using 'from' field Ex: APIIDRef: \n from: name: my-api", + "properties": { + "from": { + "description": "AWSResourceReference provides all the values necessary to reference another k8s resource for finding the identifier(Id/ARN/Name)", + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, "snapshotARNs": { "description": "A list of Amazon Resource Names (ARN) that uniquely identify the Redis RDB snapshot files stored in Amazon S3. The snapshot files are used to populate the new replication group. The Amazon S3 object name in the ARN cannot contain any commas. The new replication group will have the number of node groups (console: shards) specified by the parameter NumNodeGroups or the number of node groups configured by NodeGroupConfiguration regardless of the number of ARNs specified here. \n Example of an Amazon S3 ARN: arn:aws:s3:::my_bucket/snapshot1.rdb", "items": {