What?
whitelistNamespaces in values.yaml should be global and probably directly under scanPolicy.
Why?
whitelistNamespaces is applicable to all policies. In the default values.yaml it is not clear that this key is applicable to all policies or only the unscanned ones.
Existing sample -
scanPolicy:
unscanned:
Set for unscanned deployments delete/scaledown/ignore
deployments: ignore
# Set for unscanned statefulsets delete/scaledown/ignore
statefulSets: ignore
# Whitelist namespaces
whitelistNamespaces: "kube-system,kube-xray"
What? whitelistNamespaces in values.yaml should be global and probably directly under scanPolicy.
Why? whitelistNamespaces is applicable to all policies. In the default values.yaml it is not clear that this key is applicable to all policies or only the unscanned ones.
Existing sample -
scanPolicy: unscanned:
Set for unscanned deployments delete/scaledown/ignore