From 273bf148d460a015f645b26668f3741d0c538675 Mon Sep 17 00:00:00 2001 From: Suraj Deshmukh Date: Thu, 24 Jun 2021 18:39:26 +0530 Subject: [PATCH] chore(yaml): fix bunch of typos (#348) Signed-off-by: Suraj Deshmukh --- deploy/helm/charts/Chart.yaml | 2 +- deploy/helm/charts/crds/volumesnapshots.yaml | 4 ++-- deploy/helm/charts/crds/zfssnapshot.yaml | 4 ++-- deploy/helm/charts/values.yaml | 2 +- deploy/yamls/zfs-driver.yaml | 4 ++-- deploy/yamls/zfssnapshot-crd.yaml | 4 ++-- deploy/zfs-operator.yaml | 8 ++++---- pkg/apis/openebs.io/zfs/v1/zfssnapshot.go | 2 +- pkg/apis/openebs.io/zfs/v1alpha1/zfssnapshot.go | 2 +- 9 files changed, 16 insertions(+), 16 deletions(-) diff --git a/deploy/helm/charts/Chart.yaml b/deploy/helm/charts/Chart.yaml index 521ec1ddb..dad5b8a74 100644 --- a/deploy/helm/charts/Chart.yaml +++ b/deploy/helm/charts/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: zfs-localpv description: CSI Driver for dynamic provisioning of ZFS Persistent Local Volumes. -version: 1.8.1 +version: 1.8.2 appVersion: 1.8.0 icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/openebs/icon/color/openebs-icon-color.png home: http://www.openebs.io/ diff --git a/deploy/helm/charts/crds/volumesnapshots.yaml b/deploy/helm/charts/crds/volumesnapshots.yaml index 313c5142f..bf27a7aff 100644 --- a/deploy/helm/charts/crds/volumesnapshots.yaml +++ b/deploy/helm/charts/crds/volumesnapshots.yaml @@ -92,7 +92,7 @@ spec: format: date-time type: string error: - description: error is the last observed error during snapshot creation, if any. This field could be helpful to upper level controllers(i.e., application controller) to decide whether they should continue on waiting for the snapshot to be created based on the type of error reported. The snapshot controller will keep retrying when an error occurrs during the snapshot creation. Upon success, this error field will be cleared. + description: error is the last observed error during snapshot creation, if any. This field could be helpful to upper level controllers(i.e., application controller) to decide whether they should continue on waiting for the snapshot to be created based on the type of error reported. The snapshot controller will keep retrying when an error occurs during the snapshot creation. Upon success, this error field will be cleared. properties: message: description: 'message is a string detailing the encountered error during snapshot creation if specified. NOTE: message may be logged, and it should not contain sensitive information.' @@ -191,7 +191,7 @@ spec: format: date-time type: string error: - description: error is the last observed error during snapshot creation, if any. This field could be helpful to upper level controllers(i.e., application controller) to decide whether they should continue on waiting for the snapshot to be created based on the type of error reported. The snapshot controller will keep retrying when an error occurrs during the snapshot creation. Upon success, this error field will be cleared. + description: error is the last observed error during snapshot creation, if any. This field could be helpful to upper level controllers(i.e., application controller) to decide whether they should continue on waiting for the snapshot to be created based on the type of error reported. The snapshot controller will keep retrying when an error occurs during the snapshot creation. Upon success, this error field will be cleared. properties: message: description: 'message is a string detailing the encountered error during snapshot creation if specified. NOTE: message may be logged, and it should not contain sensitive information.' diff --git a/deploy/helm/charts/crds/zfssnapshot.yaml b/deploy/helm/charts/crds/zfssnapshot.yaml index db057e99e..6bb076080 100644 --- a/deploy/helm/charts/crds/zfssnapshot.yaml +++ b/deploy/helm/charts/crds/zfssnapshot.yaml @@ -194,7 +194,7 @@ spec: - volumeType type: object status: - description: SnapStatus string that reflects if the snapshot was cretaed + description: SnapStatus string that reflects if the snapshot was created successfully properties: state: @@ -363,7 +363,7 @@ spec: - volumeType type: object status: - description: SnapStatus string that reflects if the snapshot was cretaed + description: SnapStatus string that reflects if the snapshot was created successfully properties: state: diff --git a/deploy/helm/charts/values.yaml b/deploy/helm/charts/values.yaml index 94b79e806..2869605a8 100644 --- a/deploy/helm/charts/values.yaml +++ b/deploy/helm/charts/values.yaml @@ -31,7 +31,7 @@ zfsNode: annotations: {} podAnnotations: {} resources: {} - # This can be configured to run on various different k8s ditributions like + # This can be configured to run on various different k8s distributions like # microk8s where kubelet dir is different kubeletDir: "/var/lib/kubelet/" # limits: diff --git a/deploy/yamls/zfs-driver.yaml b/deploy/yamls/zfs-driver.yaml index 6cd26ff13..0f47eb67f 100644 --- a/deploy/yamls/zfs-driver.yaml +++ b/deploy/yamls/zfs-driver.yaml @@ -509,7 +509,7 @@ spec: format: date-time type: string error: - description: error is the last observed error during snapshot creation, if any. This field could be helpful to upper level controllers(i.e., application controller) to decide whether they should continue on waiting for the snapshot to be created based on the type of error reported. The snapshot controller will keep retrying when an error occurrs during the snapshot creation. Upon success, this error field will be cleared. + description: error is the last observed error during snapshot creation, if any. This field could be helpful to upper level controllers(i.e., application controller) to decide whether they should continue on waiting for the snapshot to be created based on the type of error reported. The snapshot controller will keep retrying when an error occurs during the snapshot creation. Upon success, this error field will be cleared. properties: message: description: 'message is a string detailing the encountered error during snapshot creation if specified. NOTE: message may be logged, and it should not contain sensitive information.' @@ -608,7 +608,7 @@ spec: format: date-time type: string error: - description: error is the last observed error during snapshot creation, if any. This field could be helpful to upper level controllers(i.e., application controller) to decide whether they should continue on waiting for the snapshot to be created based on the type of error reported. The snapshot controller will keep retrying when an error occurrs during the snapshot creation. Upon success, this error field will be cleared. + description: error is the last observed error during snapshot creation, if any. This field could be helpful to upper level controllers(i.e., application controller) to decide whether they should continue on waiting for the snapshot to be created based on the type of error reported. The snapshot controller will keep retrying when an error occurs during the snapshot creation. Upon success, this error field will be cleared. properties: message: description: 'message is a string detailing the encountered error during snapshot creation if specified. NOTE: message may be logged, and it should not contain sensitive information.' diff --git a/deploy/yamls/zfssnapshot-crd.yaml b/deploy/yamls/zfssnapshot-crd.yaml index db057e99e..6bb076080 100644 --- a/deploy/yamls/zfssnapshot-crd.yaml +++ b/deploy/yamls/zfssnapshot-crd.yaml @@ -194,7 +194,7 @@ spec: - volumeType type: object status: - description: SnapStatus string that reflects if the snapshot was cretaed + description: SnapStatus string that reflects if the snapshot was created successfully properties: state: @@ -363,7 +363,7 @@ spec: - volumeType type: object status: - description: SnapStatus string that reflects if the snapshot was cretaed + description: SnapStatus string that reflects if the snapshot was created successfully properties: state: diff --git a/deploy/zfs-operator.yaml b/deploy/zfs-operator.yaml index 79af8a60a..01b71787c 100644 --- a/deploy/zfs-operator.yaml +++ b/deploy/zfs-operator.yaml @@ -664,7 +664,7 @@ spec: - volumeType type: object status: - description: SnapStatus string that reflects if the snapshot was cretaed + description: SnapStatus string that reflects if the snapshot was created successfully properties: state: @@ -833,7 +833,7 @@ spec: - volumeType type: object status: - description: SnapStatus string that reflects if the snapshot was cretaed + description: SnapStatus string that reflects if the snapshot was created successfully properties: state: @@ -1803,7 +1803,7 @@ spec: format: date-time type: string error: - description: error is the last observed error during snapshot creation, if any. This field could be helpful to upper level controllers(i.e., application controller) to decide whether they should continue on waiting for the snapshot to be created based on the type of error reported. The snapshot controller will keep retrying when an error occurrs during the snapshot creation. Upon success, this error field will be cleared. + description: error is the last observed error during snapshot creation, if any. This field could be helpful to upper level controllers(i.e., application controller) to decide whether they should continue on waiting for the snapshot to be created based on the type of error reported. The snapshot controller will keep retrying when an error occurs during the snapshot creation. Upon success, this error field will be cleared. properties: message: description: 'message is a string detailing the encountered error during snapshot creation if specified. NOTE: message may be logged, and it should not contain sensitive information.' @@ -1902,7 +1902,7 @@ spec: format: date-time type: string error: - description: error is the last observed error during snapshot creation, if any. This field could be helpful to upper level controllers(i.e., application controller) to decide whether they should continue on waiting for the snapshot to be created based on the type of error reported. The snapshot controller will keep retrying when an error occurrs during the snapshot creation. Upon success, this error field will be cleared. + description: error is the last observed error during snapshot creation, if any. This field could be helpful to upper level controllers(i.e., application controller) to decide whether they should continue on waiting for the snapshot to be created based on the type of error reported. The snapshot controller will keep retrying when an error occurs during the snapshot creation. Upon success, this error field will be cleared. properties: message: description: 'message is a string detailing the encountered error during snapshot creation if specified. NOTE: message may be logged, and it should not contain sensitive information.' diff --git a/pkg/apis/openebs.io/zfs/v1/zfssnapshot.go b/pkg/apis/openebs.io/zfs/v1/zfssnapshot.go index 4c6f1346a..ebac8483b 100644 --- a/pkg/apis/openebs.io/zfs/v1/zfssnapshot.go +++ b/pkg/apis/openebs.io/zfs/v1/zfssnapshot.go @@ -46,7 +46,7 @@ type ZFSSnapshotList struct { Items []ZFSSnapshot `json:"items"` } -// SnapStatus string that reflects if the snapshot was cretaed successfully +// SnapStatus string that reflects if the snapshot was created successfully type SnapStatus struct { State string `json:"state,omitempty"` } diff --git a/pkg/apis/openebs.io/zfs/v1alpha1/zfssnapshot.go b/pkg/apis/openebs.io/zfs/v1alpha1/zfssnapshot.go index a33c62853..ceffb9615 100644 --- a/pkg/apis/openebs.io/zfs/v1alpha1/zfssnapshot.go +++ b/pkg/apis/openebs.io/zfs/v1alpha1/zfssnapshot.go @@ -45,7 +45,7 @@ type ZFSSnapshotList struct { Items []ZFSSnapshot `json:"items"` } -// SnapStatus string that reflects if the snapshot was cretaed successfully +// SnapStatus string that reflects if the snapshot was created successfully type SnapStatus struct { State string `json:"state,omitempty"` }