Use client.Object instead of concrete resource types in Helm Query interface

Summary

client.Object gives access to type and object metadata fields. With this type everything that we need for querying objects is available and we don't have to use concrete resources types. This makes the helm.Query interface much smaller.

Acceptance criteria

  • Replace type-specific functions of helm.Query with generic counterparts that accept resource kind as a parameter.
  • Use client.Object instead of concrete types with in helm.Query.
  • Change all the references to type-specific query functions and use the generic parametrized version. Use type assertion where needed.