Signed-off-by: peihongchen <171250610@smail.nju.edu.cn>
This commit is contained in:
steve_chph
2021-01-27 21:59:23 +08:00
committed by GitHub
parent e4b6f947f8
commit a8ef1a65ff
5 changed files with 5 additions and 5 deletions

View File

@@ -45,7 +45,7 @@ spec:
subresources: {}
validation:
openAPIV3Schema:
description: Backup is a Velero resource that respresents the capture of Kubernetes
description: Backup is a Velero resource that represents the capture of Kubernetes
cluster state at a point in time (API objects and associated volume state).
properties:
apiVersion:

File diff suppressed because one or more lines are too long

View File

@@ -17,7 +17,7 @@ spec:
scope: ""
validation:
openAPIV3Schema:
description: Backup is a Velero resource that respresents the capture of Kubernetes
description: Backup is a Velero resource that represents the capture of Kubernetes
cluster state at a point in time (API objects and associated volume state).
properties:
apiVersion:

View File

@@ -319,7 +319,7 @@ type BackupProgress struct {
// +kubebuilder:printcolumn:name="Storage Location",type="string",JSONPath=".spec.storageLocation",description="Name of the Backup Storage Location where this backup should be stored"
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
// Backup is a Velero resource that respresents the capture of Kubernetes
// Backup is a Velero resource that represents the capture of Kubernetes
// cluster state at a point in time (API objects and associated volume state).
type Backup struct {
metav1.TypeMeta `json:",inline"`

View File

@@ -37,7 +37,7 @@ func NewInitRestoreHookPodAction(logger logrus.FieldLogger) *InitRestoreHookPodA
return &InitRestoreHookPodAction{logger: logger}
}
// AppliesTo implements the RestoreItemAction plugin intrface method.
// AppliesTo implements the RestoreItemAction plugin interface method.
func (a *InitRestoreHookPodAction) AppliesTo() (velero.ResourceSelector, error) {
return velero.ResourceSelector{
IncludedResources: []string{"pods"},