I've got a project in OpenShift which used to need a Service and Route object, but no longer needs it. Removing the roles from the playbook (playbooks/openshift-apps/librariesio2fedmsg.yml) don't delete these objects, so now I've got a route and service I can't delete since I have no write permissions to OpenShift projects I'm an owner of.
Note that this lets me get my projects in a state that could work, but if you ever tried to redeploy from Ansible it wouldn't work because it depended on objects that should have been deleted.
Metadata Update from @kevin: - Issue assigned to puiterwijk - Issue priority set to: Waiting on Asignee
In staging you should now have perms to delete services at least...
but I wonder, perhaps we could add some bolierplate to our openshift apps playbooks that looks for a 'redeploy' variable, that if set deletes the entire project and all resources and redeploys them new?
@puiterwijk what do you think ?
Added a playbook delete object role:
https://infrastructure.fedoraproject.org/cgit/ansible.git/commit/?id=dc591da
:ship:
Metadata Update from @kevin: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.