Currently, we are using the “app.juju.is/created-by=” Juju label to find resources created by the NGINX charm. Accordingly to this discussion with the Juju team, there is no guarantee that this label will never be changed/removed.
Note: From the Juju team member Harry “the app name isn’t unique, so we need to add a model-uuid into it, since resources could be created outside the model managed namespace.”
Given this situation, we’ve studied options to deal with this:
- Using the same label that juju currently does -
- Adding a prefix to this of the charm name -
- Something else altogether
Since we’d like to come up with a convention that could be used by other charms, and we need to make the changes in order to reliably determine what resources this charm has created so we can clean them up, we wanted to listen to your opinions regarding this matter.
The PR responsible for making this changes will be https://github.com/canonical/nginx-ingress-integrator-operator/pull/53