Skip to content
Snippets Groups Projects
Commit 0a0a4965 authored by Morgan Hoffman's avatar Morgan Hoffman
Browse files

onemoretimeplz

parent 9fc650ad
Branches
Tags
1 merge request!63PLATFORM-2126 "allow rollout restart w/ testing"
Pipeline #763388 failed with stages
in 10 seconds
......@@ -68,104 +68,7 @@ review_deployment_patch_extra_annotations(annotationname,annotationvalue,usernam
"review": {
"userInfo": {
"username": username
},
"operation": "UPDATE",
"kind": {
"kind": "Deployment"
},
"object": {
"spec": {
"template": {
"metadata": {
"annotations": {
"dreaded_gazebo": "indeed",
annotationname: annotationvalue
}
}
}
}
},
"oldObject": {
"spec": {
"template:" {
"metadata": {
"annotations": {
"kubectl.kubernetes.io/restartedAt": previousrestarted
}
}
}
}
}
}
}
}
review_deployment_patch_existing(annotationname,annotationvalue,username,groupname,previousrestarted) = out {
out = {
"review": {
"userInfo": {
"username": username
},
"operation": "UPDATE",
"kind": {
"kind": "Deployment"
},
"object": {
"spec": {
"template": {
"metadata": {
"annotations": {
annotationname: annotationvalue
}
}
}
}
},
"oldObject": {
"spec": {
"template": {
"metadata": {
"annotations": {
"kubectl.kubernetes.io/restartedAt": previousrestarted
}
}
}
}
}
}
}
}
review_deployment_patch_absent(annotationname,annotationvalue,username,groupname) = out {
out = {
"review": {
"userInfo": {
"username": username
},
"operation": "UPDATE",
"kind": {
"kind": "Deployment"
},
"oldObject": {
"spec": {
"template": {
"metadata": {
"annotations": {}
}
}
}
},
"object": {
"spec": {
"template": {
"metadata": {
"annotations": {
annotationname: annotationvalue
}
}
}
}
}
}
}
}
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment