feat: add globalresourcequota api (#2068)

* feat: add globalresourcequota api

Signed-off-by: Oliver Baehler <oliver@sudo-i.net>
This commit is contained in:
Oliver Bähler
2026-08-10 21:25:10 +02:00
committed by GitHub
parent d92453427c
commit bdcdcefe63
60 changed files with 6804 additions and 107 deletions
+3
View File
@@ -22,6 +22,8 @@ const (
ResourcePoolLabel = "projectcapsule.dev/pool"
GlobalResourceQuotaLabel = "projectcapsule.dev/global-resource-quota"
FreezeLabel = "projectcapsule.dev/freeze"
OwnerPromotionLabel = "owner.projectcapsule.dev/promote"
@@ -41,6 +43,7 @@ const (
LimitRangeLabel = "capsule.clastix.io/limit-range"
NetworkPolicyLabel = "capsule.clastix.io/network-policy"
ResourceQuotaLabel = "capsule.clastix.io/resource-quota"
RuleQuotaLabel = "projectcapsule.dev/rule-quota"
RolebindingLabel = "capsule.clastix.io/role-binding"
)
+2
View File
@@ -26,6 +26,7 @@ func NewManagedMetadata(
TenantLabel,
NewTenantLabel,
ResourcePoolLabel,
GlobalResourceQuotaLabel,
FreezeLabel,
OwnerPromotionLabel,
ServiceAccountPromotionLabel,
@@ -38,6 +39,7 @@ func NewManagedMetadata(
LimitRangeLabel,
NetworkPolicyLabel,
ResourceQuotaLabel,
RuleQuotaLabel,
RolebindingLabel,
),
annotations: stringSet(