Skip to content

Commit 5435956

Browse files
Add support for custom roles in NSG/Subnet
1 parent ec9ad8f commit 5435956

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

api/v1beta2/ocicluster_webhook_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,9 @@ func TestOCICluster_ValidateCreate(t *testing.T) {
419419
{
420420
name: "allow nsg custom role",
421421
c: &OCICluster{
422-
ObjectMeta: metav1.ObjectMeta{},
422+
ObjectMeta: metav1.ObjectMeta{
423+
Name: goodClusterName,
424+
},
423425
Spec: OCIClusterSpec{
424426
CompartmentId: "ocid",
425427
OCIResourceIdentifier: "uuid",

0 commit comments

Comments
 (0)