Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flag to disable checking network policy. #46

Closed
azalio opened this issue Oct 21, 2018 · 3 comments
Closed

Flag to disable checking network policy. #46

azalio opened this issue Oct 21, 2018 · 3 comments

Comments

@azalio
Copy link

azalio commented Oct 21, 2018

Hello!
I use calico network policy definition (https://docs.projectcalico.org/v3.2/reference/calicoctl/resources/networkpolicy).
And until somebody adds support for calico, unfortunately, I can't use kube-score in my CI/CD.

@zegl
Copy link
Owner

zegl commented Oct 21, 2018

Hey @azalio!

I agree with you, we need to have some sort of flag/config that can be used to disable or enable single tests. I'll make a fix for this soon!

@pesimon
Copy link

pesimon commented Oct 23, 2018

With #51 being merged it can be disabled with
kube-score --ignore-test pod-networkpolicy

@zegl zegl closed this as completed Oct 24, 2018
@zegl
Copy link
Owner

zegl commented Oct 24, 2018

This feature is now available on the master branch. I'll make a release with this feature included soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants