Closed raffaelespazzoli closed 6 years ago
I think the trigger was that apiVersion
for networkpolicies
should be either extensions/v1beta1
or networking.k8s.io/v1
.
I'm still looking into why this misconfiguration caused a panic.
After the fix in #40, I now get the expected error:
failed to sync DecoratorController "microsegmentation": can't create informer for child resource: can't create client for networkpolicies.v1beta1 shared informer: discovery: can't find resource networkpolicies in apiVersion v1beta1
If I change apiVersion
to extensions/v1beta1
, the error goes away.
hi, I am getting this error when using the decorator controller:
my controller definition is the following: