gatekeeper
gatekeeper copied to clipboard
[gator verify] support specifying "oldObject" in test cases
Describe the solution you'd like
You should be able to specify oldObject
in test cases, exactly like you specify object
I have some policies that have violations depending on changes from the oldObject and these are untestable in gator
Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]
Environment:
- Gatekeeper version: 3.9.0
- Kubernetes version: (use
kubectl version
): 1.22.5
This would be fixed by #1819, though we should make it easy to specify/reuse object oldObject across test cases if we can.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.