-
Notifications
You must be signed in to change notification settings - Fork 307
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
Kubernetes Combine Example does not Work as Intended #991
Labels
bug
Something isn't working
Comments
Trace for exact run:
|
Pass the
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The example in the kubernetes folder does not work on the combine example, there is NO matching goodbye service yet it passes the test that every deployment has a matching service.
https://github.com/open-policy-agent/conftest/tree/master/examples/kubernetes/combine
Specifically, there's a rule that shows if a deployment has no matching service with the same label, it should fail:
conftest/examples/kubernetes/combine/combine.rego
Line 8 in 56d742d
Yaml running against:
https://github.com/open-policy-agent/conftest/blob/56d742d241174bbc790d7b6e6cb3a8632ffff576/examples/kubernetes/combine/combine.yaml
Specifically to reproduce:
This should not have passed the tests, really trying to grasp this exact scenario and the example given doesn't work. There is no goodbye service. It should fail.
The text was updated successfully, but these errors were encountered: