Interesting use case. There's not really a nice way to handle that with Pulumi specific code - because there's no guarantees when the token will be added / the secret created. You can add a generic Kubernetes client and add a reflector though?
p
proud-tomato-75820
06/23/2022, 1:53 PM
there’s no guarantees when the token will be added
actually, it’s immediate so it’s enough to fetch resource from API - for example this works in terraform because they always read created resource😅 So i was wondering if it’s possible to do some refresh or something similar also here.
But yeah, gonna give a shot to kube client. Thank you :)
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.