Skip to content
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

Certificate resources do not include ResourceRecords in status for SANs #1697

Closed
jutley opened this issue Mar 9, 2023 · 4 comments
Closed
Labels
bug Something isn't working stale

Comments

@jutley
Copy link

jutley commented Mar 9, 2023

What happened?

I haven't actually tried using Certificate resources yet. I am just reading the docs and noticed that the Certificate kind's status only contains room for a single resourceRecord field. As mentioned in the conversation in #807, a certificate will have a domain validation record for the certificate's domain name as well as each SAN in the certificate.

The certificate's DomainValidationOptions field is an array, but as seen in the code, only the first element is used.

https://github.com/crossplane-contrib/provider-aws/blob/master/pkg/clients/acm/certificate.go#L78

I'll also note that I would be interested in making a contribution here, but this is a breaking API change. Guidance here would be appreciated. We can possibly make a new field with all challenges and leave the existing one in place. It is ugly but backwards compatible that way.

How can we reproduce it?

If you create a certificate that includes SANs, you will not see their validation records in the status.

What environment did it happen in?

provider-aws version: v0.37.1

@jutley jutley added the bug Something isn't working label Mar 9, 2023
@github-actions
Copy link

github-actions bot commented Aug 5, 2023

Crossplane does not currently have enough maintainers to address every issue and pull request. This issue has been automatically marked as stale because it has had no activity in the last 90 days. It will be closed in 14 days if no further activity occurs. Leaving a comment starting with /fresh will mark this issue as not stale.

@github-actions github-actions bot added the stale label Aug 5, 2023
@jutley
Copy link
Author

jutley commented Aug 18, 2023

/fresh

@github-actions github-actions bot removed the stale label Aug 18, 2023
@MisterMX
Copy link
Collaborator

MisterMX commented Sep 5, 2023

While this is indeed a breaking change, it should not be a big problem since it is only status information that changes. It should be straightforward to the change the property to an array and have it contain all information given by AWS.

@jutley you are very welcome to work on this! Once you have something just open a PR and assign me as a reviewer :)

Copy link

github-actions bot commented Dec 5, 2023

Crossplane does not currently have enough maintainers to address every issue and pull request. This issue has been automatically marked as stale because it has had no activity in the last 90 days. It will be closed in 14 days if no further activity occurs. Leaving a comment starting with /fresh will mark this issue as not stale.

@github-actions github-actions bot added the stale label Dec 5, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

2 participants