mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-08-25 16:07:24 +00:00
feat: add globalresourcequota api (#2068)
* feat: add globalresourcequota api Signed-off-by: Oliver Baehler <oliver@sudo-i.net>
This commit is contained in:
@@ -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"
|
||||
)
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user