Fabric8 - get mutatingwebhookconfiguration

3/25/2020

I'm trying to use fabric8 to get details of a mutatingwebhookconfiguration in my cluster. Unfortunately I can't seem to figure out how to do it!

I thought I could use client.resourceList to get all mutatingwebhookconfigurations (or use it to search for the one that I want) but I'm obviously doing it wrong.

List<HasMetadata> data = context.getClient().resourceList(new MutatingWebhookConfigurationBuilder().build()).get()

Is there anyway this can be done via fabric8?

Thanks

-- SKN
fabric8
kubernetes

0 Answers