Deleting & Creating a ConsumptionQuota for the same resource currently leaves the old controller running so a new cannot be established (since they are named based upon resource + identityHash so the controller name will be the same).
unable to ensure accounting informer {"cq":"buckets-limit",
"error":"building governed-usage controller: controller with name
governed-usage-buckets-ae11d60a already exists..."}
Besides not able to reregister it now fails open, leaving the strong enforcement.
Repro
Repro: create a CQ, delete it, create another governing the same resource without restarting.
Suggested test
Ensure → Remove → Ensure for one key
Deleting & Creating a ConsumptionQuota for the same resource currently leaves the old controller running so a new cannot be established (since they are named based upon resource + identityHash so the controller name will be the same).
Besides not able to reregister it now fails open, leaving the strong enforcement.
Repro
Repro: create a CQ, delete it, create another governing the same resource without restarting.
Suggested test
Ensure → Remove → Ensure for one key