Hello Everyone! I'm trying to figure out if a spe...
# general
b
Hello Everyone! I'm trying to figure out if a specific CRD exists in the cluster, and if it's not, deploy it. Otherwise, don't do anything. Is there any possibility to do it via Pulumi?
I can "get" a Custom Resource, but the problem is that if it doesn't exist, Pulumi fails on a preview step...
f
Hi @brash-kite-78002 Did you find a solution? I have the same problem.
b
Hi Desislava, Not in Pulumi. I had to make a request via the JS k8s official library to list all CRDs available. Pm me if you need some code examples.