kubernetes-admission-controller
kubernetes-admission-controller copied to clipboard
CI: Add functional tests
To verify new features and updates, CI should run tests by deploying an Anchore Engine API mock.
The tests should cover:
- [ ] Deployment using the current chart but with a newly built image
- [ ] Verify 'breakglass' mode on an image
- [ ] Verify 'analysis' mode on an image
- [ ] Verify 'policy' mode on an image
- [ ] Verify 'analysis' mode on a deployment, remove image analysis, and scale deployment, verifying the controller does not block the scaling action.