[BUG]: namespace filter works only with --filter flag
Opened this issue · 5 comments
intonet commented
Checklist
- I've searched for similar issues and couldn't find anything matching
- I've included steps to reproduce the behavior
Affected Components
- K8sGPT (CLI)
- K8sGPT Operator
K8sGPT Version
0.3.29
Kubernetes Version
1.26.0
Host OS and its Version
MacOS
Steps to reproduce
k8sgpt analyze --namespace=default
Expected behaviour
show all issues related only to namespace default
Actual behaviour
show all issues on cluster
Additional Information
k8sgpt analyze --filter=Service -n default
with --filter flag, namespace flag works.
JuHyung-Son commented
intonet commented
AlexsJones commented
intonet commented
namespace flag works partialy only. Show issues related to node and from integration trivy:
After disabling integration filters. No issues except those related to nodes.
BTW, is no posible to disable trivy integration instaled with -s ( I have trivy operator installed separately) . I must remove filters to disable integration.
AlexsJones commented
Okay, thanks for the update - let's figure out that trivy issue separately.