Closed danielpacak closed 4 years ago
We should handle it gracefully. It might happen that only VulnerabilityReport is defined (e.g. Starboard Operator) and the plugin should not crash.
print summary tab: plugin manager: print runner failed: handle object: running on starboard-octant-plugin: print object with plugin "starboard-octant-plugin": grpc client print: rpc error: code = Unknown desc = grpc server print: listing config audit reports: rpc error: code = Unknown desc = check access to list CacheKey[Namespace='starboard-operator', APIVersion='aquasecurity.github.io/v1alpha1', Kind='ConfigAuditReport', Selector='starboard.resource.kind=Pod,starboard.resource.name=nginx']: unable to get resource for group kind ConfigAuditReport.aquasecurity.github.io: no matches for kind "ConfigAuditReport" in group "aquasecurity.github.io"
We should handle it gracefully. It might happen that only VulnerabilityReport is defined (e.g. Starboard Operator) and the plugin should not crash.
print summary tab: plugin manager: print runner failed: handle object: running on starboard-octant-plugin: print object with plugin "starboard-octant-plugin": grpc client print: rpc error: code = Unknown desc = grpc server print: listing config audit reports: rpc error: code = Unknown desc = check access to list CacheKey[Namespace='starboard-operator', APIVersion='aquasecurity.github.io/v1alpha1', Kind='ConfigAuditReport', Selector='starboard.resource.kind=Pod,starboard.resource.name=nginx']: unable to get resource for group kind ConfigAuditReport.aquasecurity.github.io: no matches for kind "ConfigAuditReport" in group "aquasecurity.github.io"