mammoth-honey-6147
11/12/2021, 2:23 PMCertificate, err := apiextensions.NewCustomResource(ctx, "cert", &apiextensions.CustomResourceArgs{
// Various fields, etc
}
Which works perfectly fine - However, I need to effectively "wait" until the cert is in ready
state - I'm using a DNS challenge method so it can take ~60-90 seconds. I have another app that references the cert that's generated via the corresponding secret, which, I believe, isn't in a fully formed state as the app reads the secret before the entire chain is fully complete. Therefore, how can I facilitate this wait in my code?
I could do this by inspecting the status
field of the API object but it looks like I can't do that with the current SDK