https://pulumi.com logo
#kubernetes
Title
# kubernetes
s

stocky-refrigerator-75813

03/12/2024, 1:20 PM
Hi, I'm having a bit of a mental block. i'm trying to read an existing
Secret
value from a cluster. I've got the following code:
Copy code
cert_ca = k8s.core.v1.Secret.get("ou-tls-certificate","openunison/ou-tls-certificate").data["ca.crt"].apply(lambda data: str(data)  )
w

witty-battery-28013

03/13/2024, 8:46 AM
I believe
Output<T>
represents the future value but does not actually contain the info you are looking for until after apply