Hi all, Is there a way to use/add custom CRDs in...
# general
Hi all, Is there a way to use/add custom CRDs in Pulumi-query-Kubernetes? https://www.pulumi.com/blog/query-kubernetes/
I’m not sure I understand your question. You should be able to query any resource by specifying the
as shown in the examples from the blog post. Is that not working for you?
@gorgeous-egg-16927 thanks for your answer. Currently I’m working with Gatekeeper and I have a set of constraints defined in my cluster . Those resources looks something like this apiVersion: constraints.gatekeeper.sh/v1beta1 Kind: K8sBannedImageTags But when I tried to use for example kq.list it does not work because it does not recognise those values . I hope it’s a bit clearer now
Hmm, I see what you mean now. I expected that CRs would be supported here, but that appears to be an oversight in the SDK. I’ll open an issue to track.