I’m not sure I understand your question. You should be able to query any resource by specifying the
apiVersion
and
kind
as shown in the examples from the blog post. Is that not working for you?
s
sticky-lighter-73941
02/25/2020, 8:56 AM
@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
g
gorgeous-egg-16927
02/25/2020, 5:45 PM
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.
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.