feat(tenant): add dedicated tenantowner crd (#1764)

Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
This commit is contained in:
Oliver Bähler
2025-12-02 15:21:46 +01:00
committed by GitHub
parent beb1cd3de4
commit d812a0c722
105 changed files with 2703 additions and 543 deletions

View File

@@ -30,9 +30,11 @@ var _ = Describe("enforcing a Priority Class", Label("pod", "classes"), func() {
Spec: capsulev1beta2.TenantSpec{
Owners: api.OwnerListSpec{
{
UserSpec: api.UserSpec{
Name: "paul",
Kind: "User",
CoreOwnerSpec: api.CoreOwnerSpec{
UserSpec: api.UserSpec{
Name: "paul",
Kind: "User",
},
},
},
},
@@ -56,9 +58,11 @@ var _ = Describe("enforcing a Priority Class", Label("pod", "classes"), func() {
Spec: capsulev1beta2.TenantSpec{
Owners: api.OwnerListSpec{
{
UserSpec: api.UserSpec{
Name: "george",
Kind: "User",
CoreOwnerSpec: api.CoreOwnerSpec{
UserSpec: api.UserSpec{
Name: "george",
Kind: "User",
},
},
},
},
@@ -85,9 +89,11 @@ var _ = Describe("enforcing a Priority Class", Label("pod", "classes"), func() {
Spec: capsulev1beta2.TenantSpec{
Owners: []api.OwnerSpec{
{
UserSpec: api.UserSpec{
Name: "e2e-priority-class-no-restrictions",
Kind: "User",
CoreOwnerSpec: api.CoreOwnerSpec{
UserSpec: api.UserSpec{
Name: "e2e-priority-class-no-restrictions",
Kind: "User",
},
},
},
},