Cleanup SAs on broken relations rather than keys

Bug #1809347 reported by Tim Van Steenburgh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Google Cloud Platform Integrator Charm
Fix Released
Undecided
Adam Dyess

Bug Description

Opened by johnsca on 2018-09-19 14:45:23+00:00 at https://github.com/juju-solutions/charm-gcp-integrator/issues/3

------------------------------------------------------------

See https://github.com/juju-solutions/charm-gcp-integrator/blob/master/lib/charms/layer/gcp.py#L213
The SAs are created per model / application pair, which is essentially per relation ID since there's no real use-case for multiple relations to the integrator. So we should just cleanup the SA itself when the relation is broken which would cleanup the key as well.

Revision history for this message
Adam Dyess (addyess) wrote :
Changed in charm-gcp-integrator:
assignee: nobody → Adam Dyess (addyess)
milestone: none → 1.26
status: New → Incomplete
status: Incomplete → In Progress
George Kraft (cynerva)
Changed in charm-gcp-integrator:
status: In Progress → Fix Committed
Adam Dyess (addyess)
Changed in charm-gcp-integrator:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.