@@ -37,7 +37,7 @@ import (
3737
3838 dwsv1alpha3 "github.com/DataWorkflowServices/dws/api/v1alpha3"
3939 lusv1alpha1 "github.com/NearNodeFlash/lustre-fs-operator/api/v1alpha1"
40- nnfv1alpha6 "github.com/NearNodeFlash/nnf-sos/api/v1alpha6 "
40+ nnfv1alpha7 "github.com/NearNodeFlash/nnf-sos/api/v1alpha7 "
4141
4242 "github.com/DataWorkflowServices/dws/utils/dwdparse"
4343)
@@ -312,7 +312,7 @@ func (t *T) Prepare(ctx context.Context, k8sClient client.Client) error {
312312 By (fmt .Sprintf ("Creating storage profile '%s'" , o .storageProfile .name ))
313313
314314 // Clone the default profile.
315- defaultProf := & nnfv1alpha6 .NnfStorageProfile {
315+ defaultProf := & nnfv1alpha7 .NnfStorageProfile {
316316 ObjectMeta : metav1.ObjectMeta {
317317 Name : "default" ,
318318 Namespace : "nnf-system" ,
@@ -321,7 +321,7 @@ func (t *T) Prepare(ctx context.Context, k8sClient client.Client) error {
321321
322322 Expect (k8sClient .Get (ctx , client .ObjectKeyFromObject (defaultProf ), defaultProf )).To (Succeed ())
323323
324- profile := & nnfv1alpha6 .NnfStorageProfile {
324+ profile := & nnfv1alpha7 .NnfStorageProfile {
325325 ObjectMeta : metav1.ObjectMeta {
326326 Name : o .storageProfile .name ,
327327 Namespace : "nnf-system" ,
@@ -345,7 +345,7 @@ func (t *T) Prepare(ctx context.Context, k8sClient client.Client) error {
345345
346346 if o .containerProfile != nil {
347347 // Clone the provided base profile
348- baseProfile := & nnfv1alpha6 .NnfContainerProfile {
348+ baseProfile := & nnfv1alpha7 .NnfContainerProfile {
349349 ObjectMeta : metav1.ObjectMeta {
350350 Name : o .containerProfile .base ,
351351 Namespace : "nnf-system" ,
@@ -354,7 +354,7 @@ func (t *T) Prepare(ctx context.Context, k8sClient client.Client) error {
354354
355355 Expect (k8sClient .Get (ctx , client .ObjectKeyFromObject (baseProfile ), baseProfile )).To (Succeed ())
356356
357- profile := & nnfv1alpha6 .NnfContainerProfile {
357+ profile := & nnfv1alpha7 .NnfContainerProfile {
358358 ObjectMeta : metav1.ObjectMeta {
359359 Name : o .containerProfile .name ,
360360 Namespace : "nnf-system" ,
@@ -408,7 +408,7 @@ func (t *T) Prepare(ctx context.Context, k8sClient client.Client) error {
408408
409409 // Extract the File System Name and MGSNids from the persistent lustre instance. This
410410 // assumes an NNF Storage resource is created in the same name as the persistent instance
411- storage := & nnfv1alpha6 .NnfStorage {
411+ storage := & nnfv1alpha7 .NnfStorage {
412412 ObjectMeta : metav1.ObjectMeta {
413413 Name : name ,
414414 Namespace : corev1 .NamespaceDefault ,
@@ -545,7 +545,7 @@ func (t *T) Cleanup(ctx context.Context, k8sClient client.Client) error {
545545 if t .options .storageProfile != nil {
546546 By (fmt .Sprintf ("Deleting storage profile '%s'" , o .storageProfile .name ))
547547
548- profile := & nnfv1alpha6 .NnfStorageProfile {
548+ profile := & nnfv1alpha7 .NnfStorageProfile {
549549 ObjectMeta : metav1.ObjectMeta {
550550 Name : o .storageProfile .name ,
551551 Namespace : "nnf-system" ,
@@ -559,7 +559,7 @@ func (t *T) Cleanup(ctx context.Context, k8sClient client.Client) error {
559559 if t .options .containerProfile != nil {
560560 By (fmt .Sprintf ("Deleting container profile '%s'" , o .containerProfile .name ))
561561
562- profile := & nnfv1alpha6 .NnfContainerProfile {
562+ profile := & nnfv1alpha7 .NnfContainerProfile {
563563 ObjectMeta : metav1.ObjectMeta {
564564 Name : o .containerProfile .name ,
565565 Namespace : "nnf-system" ,
0 commit comments