diff --git a/rego/allow_rollout_restart/policy_test.rego b/rego/allow_rollout_restart/policy_test.rego index d7e49fbdc64e939fe9df0747d1d12d54177ca89b..a2a9d6f57e66b24556db8a08daa53e612a18adbd 100644 --- a/rego/allow_rollout_restart/policy_test.rego +++ b/rego/allow_rollout_restart/policy_test.rego @@ -69,6 +69,22 @@ review_deployment_patch_extra_annotations(annotationname,annotationvalue,usernam "userInfo": { "username": username, "groups": [ groupname ] + }, + "operation": "UPDATE", + "kind": { + "kind": "Deployment" + }, + "object": { + "spec": { + "template": { + "metadata": { + "annotations": { + "dreaded_gazebo": "indeed", + annotationname: annotationvalue + } + } + } + } } } }