mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-02-14 18:09:58 +00:00
test(e2e): update tests to use v1beta1 version
This commit is contained in:
committed by
Dario Tranchitella
parent
e6b433dcd7
commit
44bf846260
@@ -14,16 +14,16 @@ import (
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/util/intstr"
|
||||
|
||||
"github.com/clastix/capsule/api/v1alpha1"
|
||||
capsulev1beta1 "github.com/clastix/capsule/api/v1beta1"
|
||||
)
|
||||
|
||||
var _ = Describe("creating a nodePort service when it is enabled for Tenant", func() {
|
||||
tnt := &v1alpha1.Tenant{
|
||||
tnt := &capsulev1beta1.Tenant{
|
||||
ObjectMeta: metav1.ObjectMeta{
|
||||
Name: "enable-node-ports",
|
||||
},
|
||||
Spec: v1alpha1.TenantSpec{
|
||||
Owner: v1alpha1.OwnerSpec{
|
||||
Spec: capsulev1beta1.TenantSpec{
|
||||
Owner: capsulev1beta1.OwnerSpec{
|
||||
Name: "google",
|
||||
Kind: "User",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user