You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Correctly handle resourceQuota creation for special types of quotas #1636
It is not possible to limit a tenant in the number of public IPs (i.e. LoadBalancer services). If the example from the k8s documentation is used, the rendered ResourceQuota objects is malformed.
To Reproduce
cd path/to/cozystack/repo
cd package/apps/tenants
helm template -n tenant-root tenant-user234 . --dry-run=server --set resourceQuotas."services\.loadbalancers"=5
There should be just one line with services.loadbalancers: 5.
Additional context
The problem lies in packages/library/cozy-lib which right now handles all resources in a uniform fashion without special handling for k8s' special kinds of quotas.
Activity