What options are available to effectively "sleep/w...
# golang
m
What options are available to effectively "sleep/wait/pause the goroutine" during/after resource creation? I have some code that generates a
certificate
resource type, facilitated by cert-manager. I'm using
dns-01
challenge request, so although the
certificate
object type is created, it won't be
ready
for 60-90 seconds, this is causing issues with my application that reads the corresponding secret prematurely.