Edit: Nevermind, solved it! Hello Pulumi Folks! I...
# general
b
Edit: Nevermind, solved it! Hello Pulumi Folks! I have a Kubernetes situation that I'm curious how you would model: I am creating a
<http://cert-manager.io/v1|cert-manager.io/v1>
Certificate
which will create and store values in a
Secret
. I need to fetch a key from the
Secret
to configure something. It seems the
get()
methods for k8s objects can only fetch objects create explicitly by pulumi. So what's the best option for retrieving this value? (I did try creating the
Secret
explicitly before creating the
Certificate
and then
get()
ing the
Secret
again after the
Certificate
has been created. This didn't seem to work (I think I ended up with two different
Secrets
-- this may have been user error on my part)
I ended giving the explicit secret creation and fetch another try and it worked out this time.