You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue happens in compositions, which create SubnetGroups, to avoid the DocDB cluster using the unwanted "default" VPC, as happens if the Cluster's SubnetGroup is set implicitly.
Steps to Reproduce
Create a composition building a DocDB database, using provider-aws-family
Within the composition, create a SubnetGroup, a Cluster, and other resources such as a ClusterInstance, SecurityGroup, etc.
What happened?
The SubnetGroup will be named from the XR, with a suffix. Setting metadata.name seems to be ignored.
The Cluster has a dbSubnetGroupName parameter, but there's no way to use this with a static name due to the suffix. I suppose using status may help, but this is cumbersome to test.
Note that Cluster has a dbClusterParameterGroupNameSelector but lacks a dbSubnetGroupNameSelector. The legacy provider-awsDBCluster does have such a property. Upbound Marketplace Link
Relevant Error Output Snippet
message: 'cannot compose resources: cannot apply composed resource "db-cluster": failed to create typed patch object (/foobar--document-db-86z4d-kmnnl; docdb.aws.upbound.io/v1beta1, Kind=Cluster): .spec.forProvider.dbSubnetGroupNameSelector: field not declared in schema'
### Crossplane Version
1.15
### Provider Version
1.13.0
### Kubernetes Version
1.30
### Kubernetes Distribution
EKS
### Additional Info
_No response_
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Affected Resource(s)
Resource MRs required to reproduce the bug
Issue happens in compositions, which create SubnetGroups, to avoid the DocDB cluster using the unwanted "default" VPC, as happens if the Cluster's
SubnetGroup
is set implicitly.Steps to Reproduce
SubnetGroup
, aCluster
, and other resources such as aClusterInstance
,SecurityGroup
, etc.What happened?
SubnetGroup
will be named from the XR, with a suffix. Settingmetadata.name
seems to be ignored.Cluster
has adbSubnetGroupName
parameter, but there's no way to use this with a static name due to the suffix. I suppose usingstatus
may help, but this is cumbersome to test.Note that
Cluster
has adbClusterParameterGroupNameSelector
but lacks adbSubnetGroupNameSelector
. The legacyprovider-aws
DBCluster
does have such a property. Upbound Marketplace LinkRelevant Error Output Snippet
The text was updated successfully, but these errors were encountered: