Skip to content

Commit

Permalink
fixed typos
Browse files Browse the repository at this point in the history
Signed-off-by: Aayush Chouhan <[email protected]>
  • Loading branch information
achouhan09 committed May 23, 2024
1 parent 2e3f410 commit 3ee04a6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion deploy/crds/noobaa.io_noobaas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions pkg/apis/noobaa/v1alpha1/noobaa_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"`
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions pkg/bundle/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 3ee04a6

Please sign in to comment.