This repository was archived by the owner on Apr 17, 2025. It is now read-only.
This repository was archived by the owner on Apr 17, 2025. It is now read-only.
excluding all default namespaces #312
Closed
Description
hello~
we have openshift cluster so i was configuring the HNC to exclude default openshift namespaces
but its like 70 namespaces (plus each redhat operator will create additional namesoace)
so we configured --included-namespace-regex=(\?\!openshift).*
, but looking at how kubernetes is excluded im wondering, why to exclude each seperate namespace and not just do wildcard same as i did?:
instead if this:
- "--excluded-namespace=kube-system"
- "--excluded-namespace=kube-public"
- "--excluded-namespace=hnc-system"
- "--excluded-namespace=kube-node-lease"
do this:
- "--included-namespace-regex=(\?\!kube-|openshift).*"
- "--excluded-namespace=kube-system"
also without the backslashes it was crashing, not sure if its a feature or a bug
Metadata
Metadata
Assignees
Labels
No labels