One option could be that if a resource is cluster scoped, and it has an annotation "juju.io/persistent", juju will retain it when the charm is deleted. But only for cluster scoped resources.
One option could be that if a resource is cluster scoped, and it has an annotation "juju.io/ persistent" , juju will retain it when the charm is deleted. But only for cluster scoped resources.