k3s/plugin/pkg/admission/resourcequota
Kubernetes Submit Queue dc8f384e3f Merge pull request #31627 from deads2k/quota-copy
Automatic merge from submit-queue

make deep copy of quota objects before mutations

The code currently makes shallow copies which ensures that we aren't accidentally reslicing anything in weird ways, but the usage maps are pointers, so they end up being shared.

This makes a couple copies when we know we're going to mutate to avoid changing shared maps.
2016-09-01 10:09:01 -07:00
..
admission.go allow lock acquisition injection for quota admission 2016-07-06 09:39:42 -04:00
admission_test.go add quota test for creating update requests 2016-08-22 10:36:41 -04:00
controller.go Merge pull request #31627 from deads2k/quota-copy 2016-09-01 10:09:01 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
resource_access.go Admission control errors should have consistent lower casing 2016-08-08 10:31:23 -04:00