The storageclass-specific quotas use keys which are too long to work with the generic annotation-based system for customizing the quotas in single namespaces.
This PR introduces a special annotation resourcequota.appuio.io/<quota-name>.storageclasses whose value is parsed as a JSON object. If there's a key which matches an existing <storageclass>.storageclass.k8s.io quota, the policy will use the value of that key as the final value for that quota instead of the default defined in the component defaults.
Checklist
[x] PR contains a single logical change (to build a better changelog).
[x] Update the documentation.
[x] Categorize the PR by setting a good title and adding one of the labels:
bug, enhancement, documentation, change, breaking, dependency
as they show up in the changelog.
The storageclass-specific quotas use keys which are too long to work with the generic annotation-based system for customizing the quotas in single namespaces.
This PR introduces a special annotation
resourcequota.appuio.io/<quota-name>.storageclasses
whose value is parsed as a JSON object. If there's a key which matches an existing<storageclass>.storageclass.k8s.io
quota, the policy will use the value of that key as the final value for that quota instead of the default defined in the component defaults.Checklist
bug
,enhancement
,documentation
,change
,breaking
,dependency
as they show up in the changelog.