Interview Prep/DevSecOps/Rapid-Fire Tool Questions

How do you run OPA policies against Kubernetes manifests in CI?

IntermediateProductionRapid-Fire Tool Questions
Answer
conftest test k8s/*.yaml --policy policy/ --output table
helm template ./chart | conftest test - --policy policy/

The - reads from stdin, which lets you test rendered Helm output.

All DevSecOps questions

More on Rapid-Fire Tool Questions