-
Notifications
You must be signed in to change notification settings - Fork 271
Description
Is your feature request related to a problem?
I cannot create an AWS ElastiCache ReplicationGroup with a specific network type (e.g. dualstack or ipv6) using the ACK ElastiCache controller.
The underlying AWS ElastiCache CreateReplicationGroup API supports a NetworkType and IPDiscovery parameters, but these fields are not exposed in the ReplicationGroup CRD spec in the ACK controller.
Describe the solution you'd like
would like to see networkType and ipDiscovery fields added to the spec of the ReplicationGroup custom resource. These fields should directly map to their corresponding parameters in the AWS ElastiCache API.
networkType: Should accept ipv4, ipv6, or dual_stack.
ipDiscovery: Should accept ipv4 or ipv6. This field is required by the AWS API when networkType is set to dualstack.
Example CRD
apiVersion: elasticache.services.k8s.aws/v1alpha1
kind: ReplicationGroup
metadata:
name: test
spec:
engine: "redis"
engineVersion: "7.1"
nodeType: "cache.m7g.large"
numNodeGroups: 1
replicasPerNodeGroup: 2
cacheSubnetGroupName: "my-subnet-group"
# Proposed new fields
networkType: "dual_stack"
ipDiscovery: "ipv6"
# ... other required fields
Describe alternatives you've considered
A description of any alternative solutions or features you've considered.