From 3ee04a69b27fef2708d469ea9d0d5926f8f4570b Mon Sep 17 00:00:00 2001 From: Aayush Chouhan Date: Thu, 23 May 2024 15:26:07 +0530 Subject: [PATCH] fixed typos Signed-off-by: Aayush Chouhan --- deploy/crds/noobaa.io_noobaas.yaml | 2 +- pkg/apis/noobaa/v1alpha1/noobaa_types.go | 6 +++--- pkg/bundle/deploy.go | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/deploy/crds/noobaa.io_noobaas.yaml b/deploy/crds/noobaa.io_noobaas.yaml index e50d4f3da4..6439219507 100644 --- a/deploy/crds/noobaa.io_noobaas.yaml +++ b/deploy/crds/noobaa.io_noobaas.yaml @@ -981,7 +981,7 @@ spec: properties: bucketLoggingStorageClass: description: |- - BucketLoggingStorageClass (otional) specifies the type of storage class that will be used to create a + BucketLoggingStorageClass (optional) specifies the type of storage class that will be used to create a PVC(Persistent Volume Claim) for guaranteed logging, if enabled. type: string loggingType: diff --git a/pkg/apis/noobaa/v1alpha1/noobaa_types.go b/pkg/apis/noobaa/v1alpha1/noobaa_types.go index 1181f95a65..09e5583574 100644 --- a/pkg/apis/noobaa/v1alpha1/noobaa_types.go +++ b/pkg/apis/noobaa/v1alpha1/noobaa_types.go @@ -241,7 +241,7 @@ type AutoscalerSpec struct { PrometheusNamespace string `json:"prometheusNamespace,omitempty"` } -// BucketLoggingSpec defines the configuration for the bucket +// BucketLoggingSpec defines the bucket logging configuration type BucketLoggingSpec struct { // LoggingType specifies the type of logging for the bucket // There are two types available: best-effort and guaranteed logging @@ -250,7 +250,7 @@ type BucketLoggingSpec struct { // +optional LoggingType BucketLoggingTypes `json:"loggingType,omitempty"` - // BucketLoggingStorageClass (otional) specifies the type of storage class that will be used to create a + // BucketLoggingStorageClass (optional) specifies the type of storage class that will be used to create a // PVC(Persistent Volume Claim) for guaranteed logging, if enabled. // +optional BucketLoggingStorageClass *string `json:"bucketLoggingStorageClass,omitempty"` @@ -564,7 +564,7 @@ type BucketLoggingTypes string // These are the valid BucketLoggingTypes types: const ( - // BucketLoggingTypeNonGuaranteed is best-effort + // BucketLoggingTypeBestEffort is best-effort BucketLoggingTypeBestEffort BucketLoggingTypes = "best-effort" // BucketLoggingTypeGuaranteed is guaranteed diff --git a/pkg/bundle/deploy.go b/pkg/bundle/deploy.go index 328a250c4a..0d40684173 100644 --- a/pkg/bundle/deploy.go +++ b/pkg/bundle/deploy.go @@ -1483,7 +1483,7 @@ spec: status: {} ` -const Sha256_deploy_crds_noobaa_io_noobaas_yaml = "650f7c4f4740f3d6ea4ae49a57def282cac049583ee114605dcf8884ef565772" +const Sha256_deploy_crds_noobaa_io_noobaas_yaml = "9fc4f547417125d6ad6246a27690a88fbbb054ffb7e318ed7cf9e21ca2c707ef" const File_deploy_crds_noobaa_io_noobaas_yaml = `--- apiVersion: apiextensions.k8s.io/v1 @@ -2468,7 +2468,7 @@ spec: properties: bucketLoggingStorageClass: description: |- - BucketLoggingStorageClass (otional) specifies the type of storage class that will be used to create a + BucketLoggingStorageClass (optional) specifies the type of storage class that will be used to create a PVC(Persistent Volume Claim) for guaranteed logging, if enabled. type: string loggingType: