Not directly - we are working on a few things that would make this more first class.
For now though - you can write arbitrary code to wait for a condition and have things that depend on the CRD wait on that.
An example of this is here: https://github.com/pulumi/pulumi-f5bigip/blob/master/examples/virtualappliance/index.ts#L13 (for a pretty different use case, but with the same goal to wait for an additional condition to be true before deploying further resources).
b
busy-pizza-73563
02/28/2019, 5:44 PM
Thanks! Makes sense, but now let me ask you this: 🙂 is there any way to (arbitrarily) interact with kubernetes API from pulumi, or do I need to use a 3rd party kubernetes client library?
c
creamy-potato-29402
02/28/2019, 6:30 PM
There is not.
creamy-potato-29402
02/28/2019, 6:31 PM
Generally you can only tell pulumi what you want, not what to do
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.