polaris icon indicating copy to clipboard operation
polaris copied to clipboard

Namespaces without applied checks should be hidden

Open rassie opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe. In a an OpenShift cluster, I've added an exemption on all openshift-* namespaces.

    exemptions:
    - controllerNames:
      - ""
      namespace: openshift
    - controllerNames:
      - ""
      namespace: openshift-apiserver
    - controllerNames:
      - ""
      namespace: openshift-apiserver-operator
    - controllerNames:
      - ""
      namespace: openshift-authentication
    - controllerNames:
      - ""
      namespace: openshift-authentication-operator
    - controllerNames:
      - ""
      namespace: openshift-cloud-controller-manager
    - controllerNames:
      - ""
      namespace: openshift-cloud-controller-manager-operator
[...]

However, these namespaces are still shown in the dashboard with "No checks applied" comment hidden in the collapsed section.

image

This is unintuitive and noisy.

Describe the solution you'd like Hide every namespace without applied checks in it.

rassie avatar Sep 27 '22 08:09 rassie

Hello! This sounds like great idea. Is this something you would be willing to work on?

mggude avatar Nov 17 '22 18:11 mggude

Generalizing request: this is not only about namespaces, but all object types: ConfigMap, ServiceAccount, ClusterRole, ClusterRoleBinding, etc, etc, even if those are not under exemption.

needleshaped avatar Feb 16 '23 16:02 needleshaped