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
Describe the bug
So I've just noticed that the route53-controller doesn't appear to store the DelegationSet data when it gets a response from CreateHostedZone which means there's no way for me to get the Name Servers of the zone to use in a RecordSet resource on a different zone. I can see it's in the CreatedHostedZoneOutput struct for aws-sdk-go-v2
Steps to reproduce
Create a HostedZone resource and check the Status fields Expected outcome
Be able to see DelegationSet data in the HostedZone status and be able to get the Name servers of the created zone from it.
Environment
Kubernetes version: N/A
Using EKS (yes/no), if so version? N/A
AWS service targeted (S3, RDS, etc.): R53
The text was updated successfully, but these errors were encountered:
So I made an attempt at adding it here but when testing locally using a Kind cluster the field never seems to be populated. If someone can point out what I'm missing that'd be great as it's not super obvious to me considering the field is in the CRD etc.
Issue #, if available: aws-controllers-k8s/community#2364
Description of changes:
Add the DelegationSet to the Status of HostedZone resources so the nameservers can be retrieved to then be referenced in a RecordSet for a different HostedZone.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
I'm not sure if there's a more proper way to get the sdkCreate and sdkFind calls to be generated with the relevant logic without the hook but I couldn't find a way to get that to happen. As such I've gone down the hook path.
Describe the bug
So I've just noticed that the route53-controller doesn't appear to store the DelegationSet data when it gets a response from CreateHostedZone which means there's no way for me to get the Name Servers of the zone to use in a RecordSet resource on a different zone. I can see it's in the CreatedHostedZoneOutput struct for aws-sdk-go-v2
Steps to reproduce
Create a HostedZone resource and check the Status fields
Expected outcome
Be able to see DelegationSet data in the HostedZone status and be able to get the Name servers of the created zone from it.
Environment
The text was updated successfully, but these errors were encountered: