From e40825b4f1af500dd17c3d05224b6b60e0643b57 Mon Sep 17 00:00:00 2001
From: Tom Flagger defines the configuretion for the kurator rollout engine. Flagger defines the configuration for the kurator rollout engine. Destination defines the destination clusters where the artifacts will be synced.
-It can be overriden by the syncPolicies’ destination. Destination defines the destination clusters where the artifacts will be synced.
-It can be overriden by the syncPolicies’ destination.
-
diff --git a/docs/proposals/rollout/rollout.md b/docs/proposals/rollout/rollout.md
index b8f24277..934464e4 100644
--- a/docs/proposals/rollout/rollout.md
+++ b/docs/proposals/rollout/rollout.md
@@ -430,7 +430,7 @@ type CrossNamespaceObjectReference struct {
// e.g.
// webhooks:
// - timeoutSeconds: 15
-// commend:
+// command:
// - "hey -z 1m -q 10 -c 2 http://podinfo-canary.test:9898/"
// The above example means that during trafficAnalysis, the cmd of "http://flagger-loadtester.test/" is invoked
// to execute the command "hey -z 1m -q 10 -c 2 http://podinfo-canary.test:9898/"
@@ -439,7 +439,7 @@ type Webhook struct {
// Defaults to 60
TimeoutSeconds *int `json:"timeoutSeconds,omitempty"`
- // Command defines to commends that executed by webhook.
+ // Command defines to commands that executed by webhook.
// +optional
Command []string `json:"command,omitempty"`
}
diff --git a/hack/util.sh b/hack/util.sh
index 897de5a8..6c25ca4e 100755
--- a/hack/util.sh
+++ b/hack/util.sh
@@ -97,7 +97,7 @@ function util::wait_file_exist() {
}
# util::wait_pod_ready waits for pod state becomes ready until timeout.
-# Parmeters:
+# Parameters:
# - $1: pod label, such as "app=etcd"
# - $2: pod namespace, such as "karmada-system"
# - $3: time out, such as "200s"
@@ -120,7 +120,7 @@ function util::wait_pod_ready() {
}
# util::wait_apiservice_ready waits for apiservice state becomes Available until timeout.
-# Parmeters:
+# Parameters:
# - $1: apiservice label, such as "app=etcd"
# - $3: time out, such as "200s"
function util::wait_apiservice_ready() {
@@ -140,7 +140,7 @@ function util::wait_apiservice_ready() {
# util::create_cluster creates a kubernetes cluster
# util::create_cluster creates a kind cluster and don't wait for control plane node to be ready.
-# Parmeters:
+# Parameters:
# - $1: cluster name, such as "host"
# - $2: KUBECONFIG file, such as "/var/run/host.config"
# - $3: node docker image to use for booting the cluster, such as "kindest/node:v1.19.1"
@@ -266,8 +266,8 @@ function util::wait_pods() {
ns=$1
lb=$2
waittime=$3
- # Wait for the pods to be ready in the given namespace with lable
- while :; do
+ # Wait for the pods to be ready in the given namespace with label
+ while : ; do
res=$(kubectl wait --kubeconfig="$4" --context "$5" -n "${ns}" pod \
-l "${lb}" --for=condition=Ready --timeout="${waittime}s" 2>/dev/null || true)
if [[ "${res}" == *"condition met"* ]]; then
diff --git a/manifests/charts/cluster-operator/crds/awsmachinepools.infrastructure.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/awsmachinepools.infrastructure.cluster.x-k8s.io.yaml
index 07ac20cd..6b60c230 100755
--- a/manifests/charts/cluster-operator/crds/awsmachinepools.infrastructure.cluster.x-k8s.io.yaml
+++ b/manifests/charts/cluster-operator/crds/awsmachinepools.infrastructure.cluster.x-k8s.io.yaml
@@ -32,11 +32,11 @@ spec:
jsonPath: .status.replicas
name: Replicas
type: integer
- - description: Minimum instanes in ASG
+ - description: Minimum instances in ASG
jsonPath: .spec.minSize
name: MinSize
type: integer
- - description: Maximum instanes in ASG
+ - description: Maximum instances in ASG
jsonPath: .spec.maxSize
name: MaxSize
type: integer
diff --git a/manifests/charts/cluster-operator/crds/awsmanagedclusters.infrastructure.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/awsmanagedclusters.infrastructure.cluster.x-k8s.io.yaml
index 55dca472..63d39ee1 100755
--- a/manifests/charts/cluster-operator/crds/awsmanagedclusters.infrastructure.cluster.x-k8s.io.yaml
+++ b/manifests/charts/cluster-operator/crds/awsmanagedclusters.infrastructure.cluster.x-k8s.io.yaml
@@ -93,7 +93,7 @@ spec:
is suitable for use by control plane machines.
type: boolean
type: object
- description: FailureDomains specifies a list fo available availability
+ description: FailureDomains specifies a list of available availability
zones that can be used
type: object
ready:
diff --git a/manifests/charts/cluster-operator/crds/awsmanagedcontrolplanes.controlplane.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/awsmanagedcontrolplanes.controlplane.cluster.x-k8s.io.yaml
index 413ce63e..000cb99c 100755
--- a/manifests/charts/cluster-operator/crds/awsmanagedcontrolplanes.controlplane.cluster.x-k8s.io.yaml
+++ b/manifests/charts/cluster-operator/crds/awsmanagedcontrolplanes.controlplane.cluster.x-k8s.io.yaml
@@ -1063,7 +1063,7 @@ spec:
is suitable for use by control plane machines.
type: boolean
type: object
- description: FailureDomains specifies a list fo available availability
+ description: FailureDomains specifies a list of available availability
zones that can be used
type: object
failureMessage:
diff --git a/manifests/charts/cluster-operator/crds/awsmanagedmachinepools.infrastructure.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/awsmanagedmachinepools.infrastructure.cluster.x-k8s.io.yaml
index 59e89925..11564c9a 100755
--- a/manifests/charts/cluster-operator/crds/awsmanagedmachinepools.infrastructure.cluster.x-k8s.io.yaml
+++ b/manifests/charts/cluster-operator/crds/awsmanagedmachinepools.infrastructure.cluster.x-k8s.io.yaml
@@ -84,7 +84,7 @@ spec:
awsLaunchTemplate:
description: AWSLaunchTemplate specifies the launch template to use
to create the managed node group. If AWSLaunchTemplate is specified,
- certain node group configuraions outside of launch template are
+ certain node group configurations outside of launch template are
prohibited (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html).
properties:
additionalSecurityGroups:
diff --git a/manifests/charts/cluster-operator/crds/eksconfigs.bootstrap.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/eksconfigs.bootstrap.cluster.x-k8s.io.yaml
index ad3dcb21..49fe4f8e 100755
--- a/manifests/charts/cluster-operator/crds/eksconfigs.bootstrap.cluster.x-k8s.io.yaml
+++ b/manifests/charts/cluster-operator/crds/eksconfigs.bootstrap.cluster.x-k8s.io.yaml
@@ -129,7 +129,7 @@ spec:
is found on the device. Use with caution. Default is 'false'.
type: boolean
tableType:
- description: 'TableType specifies the tupe of partition
+ description: 'TableType specifies the type of partition
table. The following are supported: ''mbr'': default and
setups a MS-DOS partition table ''gpt'': setups a GPT
partition table'
diff --git a/manifests/charts/cluster-operator/crds/eksconfigtemplates.bootstrap.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/eksconfigtemplates.bootstrap.cluster.x-k8s.io.yaml
index b1c68f3e..a305132d 100755
--- a/manifests/charts/cluster-operator/crds/eksconfigtemplates.bootstrap.cluster.x-k8s.io.yaml
+++ b/manifests/charts/cluster-operator/crds/eksconfigtemplates.bootstrap.cluster.x-k8s.io.yaml
@@ -133,7 +133,7 @@ spec:
caution. Default is 'false'.
type: boolean
tableType:
- description: 'TableType specifies the tupe of partition
+ description: 'TableType specifies the type of partition
table. The following are supported: ''mbr'': default
and setups a MS-DOS partition table ''gpt'': setups
a GPT partition table'
diff --git a/manifests/charts/cluster-operator/crds/kubeadmconfigs.bootstrap.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/kubeadmconfigs.bootstrap.cluster.x-k8s.io.yaml
index 1da61d8a..ebf99622 100755
--- a/manifests/charts/cluster-operator/crds/kubeadmconfigs.bootstrap.cluster.x-k8s.io.yaml
+++ b/manifests/charts/cluster-operator/crds/kubeadmconfigs.bootstrap.cluster.x-k8s.io.yaml
@@ -428,7 +428,7 @@ spec:
is found on the device. Use with caution. Default is 'false'.
type: boolean
tableType:
- description: 'TableType specifies the tupe of partition
+ description: 'TableType specifies the type of partition
table. The following are supported: ''mbr'': default and
setups a MS-DOS partition table ''gpt'': setups a GPT
partition table'
@@ -616,7 +616,7 @@ spec:
criSocket:
description: CRISocket is used to retrieve container runtime
info. This information will be annotated to the Node API
- object, for later re-use
+ object, for later reuse
type: string
ignorePreflightErrors:
description: IgnorePreflightErrors provides a slice of pre-flight
@@ -722,7 +722,7 @@ spec:
type: string
caCertPath:
description: 'CACertPath is the path to the SSL certificate authority
- used to secure comunications between node and control-plane.
+ used to secure communications between node and control-plane.
Defaults to "/etc/kubernetes/pki/ca.crt". TODO: revisit when
there is defaulting from k/k'
type: string
@@ -827,7 +827,7 @@ spec:
criSocket:
description: CRISocket is used to retrieve container runtime
info. This information will be annotated to the Node API
- object, for later re-use
+ object, for later reuse
type: string
ignorePreflightErrors:
description: IgnorePreflightErrors provides a slice of pre-flight
diff --git a/manifests/charts/cluster-operator/crds/kubeadmconfigtemplates.bootstrap.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/kubeadmconfigtemplates.bootstrap.cluster.x-k8s.io.yaml
index 868df038..6e851382 100755
--- a/manifests/charts/cluster-operator/crds/kubeadmconfigtemplates.bootstrap.cluster.x-k8s.io.yaml
+++ b/manifests/charts/cluster-operator/crds/kubeadmconfigtemplates.bootstrap.cluster.x-k8s.io.yaml
@@ -456,7 +456,7 @@ spec:
caution. Default is 'false'.
type: boolean
tableType:
- description: 'TableType specifies the tupe of partition
+ description: 'TableType specifies the type of partition
table. The following are supported: ''mbr'': default
and setups a MS-DOS partition table ''gpt'': setups
a GPT partition table'
@@ -655,7 +655,7 @@ spec:
criSocket:
description: CRISocket is used to retrieve container
runtime info. This information will be annotated
- to the Node API object, for later re-use
+ to the Node API object, for later reuse
type: string
ignorePreflightErrors:
description: IgnorePreflightErrors provides a slice
@@ -769,7 +769,7 @@ spec:
type: string
caCertPath:
description: 'CACertPath is the path to the SSL certificate
- authority used to secure comunications between node
+ authority used to secure communications between node
and control-plane. Defaults to "/etc/kubernetes/pki/ca.crt".
TODO: revisit when there is defaulting from k/k'
type: string
@@ -881,7 +881,7 @@ spec:
criSocket:
description: CRISocket is used to retrieve container
runtime info. This information will be annotated
- to the Node API object, for later re-use
+ to the Node API object, for later reuse
type: string
ignorePreflightErrors:
description: IgnorePreflightErrors provides a slice
diff --git a/manifests/charts/cluster-operator/crds/kubeadmcontrolplanes.controlplane.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/kubeadmcontrolplanes.controlplane.cluster.x-k8s.io.yaml
index ddd96325..a08fb874 100755
--- a/manifests/charts/cluster-operator/crds/kubeadmcontrolplanes.controlplane.cluster.x-k8s.io.yaml
+++ b/manifests/charts/cluster-operator/crds/kubeadmcontrolplanes.controlplane.cluster.x-k8s.io.yaml
@@ -481,7 +481,7 @@ spec:
is 'false'.
type: boolean
tableType:
- description: 'TableType specifies the tupe of partition
+ description: 'TableType specifies the type of partition
table. The following are supported: ''mbr'': default
and setups a MS-DOS partition table ''gpt'': setups
a GPT partition table'
@@ -674,7 +674,7 @@ spec:
criSocket:
description: CRISocket is used to retrieve container runtime
info. This information will be annotated to the Node
- API object, for later re-use
+ API object, for later reuse
type: string
ignorePreflightErrors:
description: IgnorePreflightErrors provides a slice of
@@ -786,7 +786,7 @@ spec:
type: string
caCertPath:
description: 'CACertPath is the path to the SSL certificate
- authority used to secure comunications between node and
+ authority used to secure communications between node and
control-plane. Defaults to "/etc/kubernetes/pki/ca.crt".
TODO: revisit when there is defaulting from k/k'
type: string
@@ -894,7 +894,7 @@ spec:
criSocket:
description: CRISocket is used to retrieve container runtime
info. This information will be annotated to the Node
- API object, for later re-use
+ API object, for later reuse
type: string
ignorePreflightErrors:
description: IgnorePreflightErrors provides a slice of
diff --git a/manifests/charts/cluster-operator/crds/kubeadmcontrolplanetemplates.controlplane.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/kubeadmcontrolplanetemplates.controlplane.cluster.x-k8s.io.yaml
index d0469efd..35dd0ced 100755
--- a/manifests/charts/cluster-operator/crds/kubeadmcontrolplanetemplates.controlplane.cluster.x-k8s.io.yaml
+++ b/manifests/charts/cluster-operator/crds/kubeadmcontrolplanetemplates.controlplane.cluster.x-k8s.io.yaml
@@ -483,7 +483,7 @@ spec:
Use with caution. Default is 'false'.
type: boolean
tableType:
- description: 'TableType specifies the tupe of
+ description: 'TableType specifies the type of
partition table. The following are supported:
''mbr'': default and setups a MS-DOS partition
table ''gpt'': setups a GPT partition table'
@@ -689,7 +689,7 @@ spec:
criSocket:
description: CRISocket is used to retrieve container
runtime info. This information will be annotated
- to the Node API object, for later re-use
+ to the Node API object, for later reuse
type: string
ignorePreflightErrors:
description: IgnorePreflightErrors provides a
@@ -807,7 +807,7 @@ spec:
type: string
caCertPath:
description: 'CACertPath is the path to the SSL certificate
- authority used to secure comunications between node
+ authority used to secure communications between node
and control-plane. Defaults to "/etc/kubernetes/pki/ca.crt".
TODO: revisit when there is defaulting from k/k'
type: string
@@ -925,7 +925,7 @@ spec:
criSocket:
description: CRISocket is used to retrieve container
runtime info. This information will be annotated
- to the Node API object, for later re-use
+ to the Node API object, for later reuse
type: string
ignorePreflightErrors:
description: IgnorePreflightErrors provides a
diff --git a/manifests/charts/fleet-manager/crds/apps.kurator.dev_applications.yaml b/manifests/charts/fleet-manager/crds/apps.kurator.dev_applications.yaml
index 3fb6f0c2..f553c477 100644
--- a/manifests/charts/fleet-manager/crds/apps.kurator.dev_applications.yaml
+++ b/manifests/charts/fleet-manager/crds/apps.kurator.dev_applications.yaml
@@ -45,7 +45,7 @@ spec:
destination:
description: |-
Destination defines the destination clusters where the artifacts will be synced.
- It can be overriden by the syncPolicies' destination.
+ It can be overridden by the syncPolicies' destination.
properties:
clusterSelector:
description: |-
@@ -729,7 +729,7 @@ spec:
type: object
replace:
description: |-
- Replace tells the Helm install action to re-use the 'ReleaseName', but only
+ Replace tells the Helm install action to reuse the 'ReleaseName', but only
if that name is a deleted release which remains in the history.
type: boolean
skipCRDs:
@@ -1360,7 +1360,7 @@ spec:
description: Webhook list for this traffic analysis
properties:
command:
- description: Commands define to commends that
+ description: Commands define to commands that
executed by webhook.
items:
type: string
diff --git a/manifests/charts/fleet-manager/crds/fleet.kurator.dev_fleets.yaml b/manifests/charts/fleet-manager/crds/fleet.kurator.dev_fleets.yaml
index 02e45f3d..1fd7b9f0 100644
--- a/manifests/charts/fleet-manager/crds/fleet.kurator.dev_fleets.yaml
+++ b/manifests/charts/fleet-manager/crds/fleet.kurator.dev_fleets.yaml
@@ -2462,7 +2462,7 @@ spec:
- storage
type: object
flagger:
- description: Flagger defines the configuretion for the kurator
+ description: Flagger defines the configuration for the kurator
rollout engine.
properties:
chart:
diff --git a/manifests/profiles/infra/plugins/aws-cni-calico.yaml b/manifests/profiles/infra/plugins/aws-cni-calico.yaml
index 4bd07c18..421a04ab 100644
--- a/manifests/profiles/infra/plugins/aws-cni-calico.yaml
+++ b/manifests/profiles/infra/plugins/aws-cni-calico.yaml
@@ -322,7 +322,7 @@ spec:
numAllowedLocalASNumbers:
description: Maximum number of local AS numbers that are allowed in
the AS path for received routes. This removes BGP loop prevention
- and should only be used if absolutely necesssary.
+ and should only be used if absolutely necessary.
format: int32
type: integer
password:
diff --git a/manifests/profiles/prom-thanos/setup/prometheus-operator-0alertmanagerCustomResourceDefinition.yaml b/manifests/profiles/prom-thanos/setup/prometheus-operator-0alertmanagerCustomResourceDefinition.yaml
index d9717776..032145bd 100644
--- a/manifests/profiles/prom-thanos/setup/prometheus-operator-0alertmanagerCustomResourceDefinition.yaml
+++ b/manifests/profiles/prom-thanos/setup/prometheus-operator-0alertmanagerCustomResourceDefinition.yaml
@@ -2639,7 +2639,7 @@ spec:
conditions:
description: Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.
items:
- description: PersistentVolumeClaimCondition contails details about state of pvc
+ description: PersistentVolumeClaimCondition contains details about state of pvc
properties:
lastProbeTime:
description: Last time we probed the condition.
diff --git a/manifests/profiles/prom-thanos/setup/prometheus-operator-0prometheusCustomResourceDefinition.yaml b/manifests/profiles/prom-thanos/setup/prometheus-operator-0prometheusCustomResourceDefinition.yaml
index e361d8c8..8678fd47 100644
--- a/manifests/profiles/prom-thanos/setup/prometheus-operator-0prometheusCustomResourceDefinition.yaml
+++ b/manifests/profiles/prom-thanos/setup/prometheus-operator-0prometheusCustomResourceDefinition.yaml
@@ -3975,7 +3975,7 @@ spec:
conditions:
description: Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.
items:
- description: PersistentVolumeClaimCondition contails details about state of pvc
+ description: PersistentVolumeClaimCondition contains details about state of pvc
properties:
lastProbeTime:
description: Last time we probed the condition.
diff --git a/manifests/profiles/prom-thanos/setup/prometheus-operator-0thanosrulerCustomResourceDefinition.yaml b/manifests/profiles/prom-thanos/setup/prometheus-operator-0thanosrulerCustomResourceDefinition.yaml
index b9b3f279..c78fc465 100644
--- a/manifests/profiles/prom-thanos/setup/prometheus-operator-0thanosrulerCustomResourceDefinition.yaml
+++ b/manifests/profiles/prom-thanos/setup/prometheus-operator-0thanosrulerCustomResourceDefinition.yaml
@@ -2801,7 +2801,7 @@ spec:
conditions:
description: Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.
items:
- description: PersistentVolumeClaimCondition contails details about state of pvc
+ description: PersistentVolumeClaimCondition contains details about state of pvc
properties:
lastProbeTime:
description: Last time we probed the condition.
diff --git a/manifests/profiles/prom/setup/prometheus-operator-0alertmanagerCustomResourceDefinition.yaml b/manifests/profiles/prom/setup/prometheus-operator-0alertmanagerCustomResourceDefinition.yaml
index d9717776..032145bd 100644
--- a/manifests/profiles/prom/setup/prometheus-operator-0alertmanagerCustomResourceDefinition.yaml
+++ b/manifests/profiles/prom/setup/prometheus-operator-0alertmanagerCustomResourceDefinition.yaml
@@ -2639,7 +2639,7 @@ spec:
conditions:
description: Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.
items:
- description: PersistentVolumeClaimCondition contails details about state of pvc
+ description: PersistentVolumeClaimCondition contains details about state of pvc
properties:
lastProbeTime:
description: Last time we probed the condition.
diff --git a/manifests/profiles/prom/setup/prometheus-operator-0prometheusCustomResourceDefinition.yaml b/manifests/profiles/prom/setup/prometheus-operator-0prometheusCustomResourceDefinition.yaml
index e361d8c8..8678fd47 100644
--- a/manifests/profiles/prom/setup/prometheus-operator-0prometheusCustomResourceDefinition.yaml
+++ b/manifests/profiles/prom/setup/prometheus-operator-0prometheusCustomResourceDefinition.yaml
@@ -3975,7 +3975,7 @@ spec:
conditions:
description: Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.
items:
- description: PersistentVolumeClaimCondition contails details about state of pvc
+ description: PersistentVolumeClaimCondition contains details about state of pvc
properties:
lastProbeTime:
description: Last time we probed the condition.
diff --git a/manifests/profiles/prom/setup/prometheus-operator-0thanosrulerCustomResourceDefinition.yaml b/manifests/profiles/prom/setup/prometheus-operator-0thanosrulerCustomResourceDefinition.yaml
index b9b3f279..c78fc465 100644
--- a/manifests/profiles/prom/setup/prometheus-operator-0thanosrulerCustomResourceDefinition.yaml
+++ b/manifests/profiles/prom/setup/prometheus-operator-0thanosrulerCustomResourceDefinition.yaml
@@ -2801,7 +2801,7 @@ spec:
conditions:
description: Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.
items:
- description: PersistentVolumeClaimCondition contails details about state of pvc
+ description: PersistentVolumeClaimCondition contains details about state of pvc
properties:
lastProbeTime:
description: Last time we probed the condition.
diff --git a/pkg/apis/cluster/v1alpha1/cluster_consts.go b/pkg/apis/cluster/v1alpha1/cluster_consts.go
index 9f53bff8..e02fa076 100644
--- a/pkg/apis/cluster/v1alpha1/cluster_consts.go
+++ b/pkg/apis/cluster/v1alpha1/cluster_consts.go
@@ -41,7 +41,7 @@ const (
ProvisioningReason = "Provisioning"
// DeletingReason (Severity=Info) documents that the cluster is being deleted.
DeletingReason = "Deleting"
- // ProviderInitializeFailedReason (Severity=Error) documents that the cluster infrastructure provider initilize failed, probabily a wrong credential.
+ // ProviderInitializeFailedReason (Severity=Error) documents that the cluster infrastructure provider initialize failed, probably a wrong credential.
ProviderInitializeFailedReason = "ProviderInitializeFailed"
// ClusterResourceSetProvisionFailedReason (Severity=Error) documents that the additional Cluster API resources (ClusterResourceSet etc.) provisioning failed.
diff --git a/pkg/apis/fleet/v1alpha1/types.go b/pkg/apis/fleet/v1alpha1/types.go
index 5dd91839..d57042cc 100644
--- a/pkg/apis/fleet/v1alpha1/types.go
+++ b/pkg/apis/fleet/v1alpha1/types.go
@@ -85,7 +85,7 @@ type PluginConfig struct {
Backup *BackupConfig `json:"backup,omitempty"`
// DistributedStorage define the configuration for the distributed storage(Implemented with Rook)
DistributedStorage *DistributedStorageConfig `json:"distributedStorage,omitempty"`
- // Flagger defines the configuretion for the kurator rollout engine.
+ // Flagger defines the configuration for the kurator rollout engine.
Flagger *FlaggerConfig `json:"flagger,omitempty"`
}
diff --git a/pkg/client/client.go b/pkg/client/client.go
index 43fc6d61..2b445831 100644
--- a/pkg/client/client.go
+++ b/pkg/client/client.go
@@ -139,7 +139,7 @@ func (c *Client) UpdateResource(obj interface{}) error {
return err
}
-// Copied from karmada, because we donot want to build the controller-runtime client.
+// Copied from karmada, because we do not want to build the controller-runtime client.
func (c *Client) memberClusterConfig(clusterName string) (*rest.Config, error) {
cluster, err := c.karmada.ClusterV1alpha1().Clusters().Get(context.TODO(), clusterName, metav1.GetOptions{})
if err != nil {
diff --git a/pkg/fleet-manager/application/rollout_helper.go b/pkg/fleet-manager/application/rollout_helper.go
index 32bce3b4..0e7622fb 100644
--- a/pkg/fleet-manager/application/rollout_helper.go
+++ b/pkg/fleet-manager/application/rollout_helper.go
@@ -338,7 +338,7 @@ func installPrivateTestloader(ctx context.Context, namespacedName types.Namespac
func deleteResourceCreatedByKurator(ctx context.Context, namespaceName types.NamespacedName, kubeClient client.Client, obj client.Object) error {
if err := kubeClient.Get(ctx, namespaceName, obj); err != nil {
if !apierrors.IsNotFound(err) {
- return errors.Wrapf(err, "falied to get resource %s in %s", namespaceName.Name, namespaceName.Namespace)
+ return errors.Wrapf(err, "failed to get resource %s in %s", namespaceName.Name, namespaceName.Namespace)
}
} else {
// verify if the deployment were created by kurator
diff --git a/pkg/fleet-manager/controlplane.go b/pkg/fleet-manager/controlplane.go
index 38b2231b..1a81ef4f 100644
--- a/pkg/fleet-manager/controlplane.go
+++ b/pkg/fleet-manager/controlplane.go
@@ -37,7 +37,7 @@ const FleetWorkerClusterRoleBindingName = "fleet-worker"
func (f *FleetManager) reconcileControlPlane(ctx context.Context, fleet *fleetapi.Fleet) error {
controlplane := fleet.Annotations[fleetapi.ControlplaneAnnotation]
// if no controlplane is specified, do nothing
- // we donot support annotation update yet
+ // we do not support annotation update yet
if controlplane == "" {
fleet.Status.Phase = fleetapi.ReadyPhase
fleet.Status.CredentialSecret = nil
diff --git a/pkg/infra/aws/aws_pod_identity.go b/pkg/infra/aws/aws_pod_identity.go
index 05593356..c3c58dc8 100644
--- a/pkg/infra/aws/aws_pod_identity.go
+++ b/pkg/infra/aws/aws_pod_identity.go
@@ -32,7 +32,7 @@ import (
var _ service.PodIdentity = &AWSPodIdentity{}
-// AWSPodIdentity is a service for creating AWS pod identity folow the guide: https://github.com/aws/amazon-eks-pod-identity-webhook/blob/master/SELF_HOSTED_SETUP.md
+// AWSPodIdentity is a service for creating AWS pod identity follow the guide: https://github.com/aws/amazon-eks-pod-identity-webhook/blob/master/SELF_HOSTED_SETUP.md
// It will create a S3 bucket and put the OIDC files(pubicl access) and certs(private access) to the bucket, then create a OpenID connect provider.
type AWSPodIdentity struct {
bucketName string
diff --git a/pkg/infra/plugin/testdata/aws-cni-calico.yaml b/pkg/infra/plugin/testdata/aws-cni-calico.yaml
index 9ef41573..c3c6ea0f 100644
--- a/pkg/infra/plugin/testdata/aws-cni-calico.yaml
+++ b/pkg/infra/plugin/testdata/aws-cni-calico.yaml
@@ -325,7 +325,7 @@ data:
numAllowedLocalASNumbers:
description: Maximum number of local AS numbers that are allowed in
the AS path for received routes. This removes BGP loop prevention
- and should only be used if absolutely necesssary.
+ and should only be used if absolutely necessary.
format: int32
type: integer
password:
diff --git a/pkg/plugin/istio/install.go b/pkg/plugin/istio/install.go
index 012b1202..2926a4f9 100644
--- a/pkg/plugin/istio/install.go
+++ b/pkg/plugin/istio/install.go
@@ -152,10 +152,10 @@ func (p *IstioPlugin) createIstioCacerts() error {
return util.ApplyPropagationPolicy(p.Client, p.allClusters(), s)
}
// err can be divided into two types:
- // 1 Unexpect, return directly
+ // 1 Unexpected, return directly
// 2 IsNotFound, to create Istio Cacerts
if !apierrors.IsNotFound(err) {
- return fmt.Errorf("unexpect error when get secret %s, %w", caSecret, err)
+ return fmt.Errorf("unexpected error when get secret %s, %w", caSecret, err)
}
var gen istiocert.Generator
diff --git a/pkg/plugin/prometheus/plugin.go b/pkg/plugin/prometheus/plugin.go
index 9cf41317..d442f2f7 100644
--- a/pkg/plugin/prometheus/plugin.go
+++ b/pkg/plugin/prometheus/plugin.go
@@ -322,7 +322,7 @@ func (p *Plugin) createAdditionalScrapeConfigs() error {
return err
}
if promCfg.Namespace == "" {
- return fmt.Errorf("get prom faild, %+v", promCfg)
+ return fmt.Errorf("get prom failed, %+v", promCfg)
}
op := &policyv1alpha1.OverridePolicy{
TypeMeta: typemeta.OverridePolicy,
diff --git a/pkg/plugin/volcano/plugin.go b/pkg/plugin/volcano/plugin.go
index f020082a..39bb6208 100644
--- a/pkg/plugin/volcano/plugin.go
+++ b/pkg/plugin/volcano/plugin.go
@@ -158,7 +158,7 @@ func (p *Plugin) volcanoManifest() (string, error) {
case "arm64":
manifestName = "installer/volcano-development-arm64.yaml"
default:
- return "", fmt.Errorf("os arch %s is not supportted", runtime.GOARCH)
+ return "", fmt.Errorf("os arch %s is not supported", runtime.GOARCH)
}
url, _ := util.JoinUrlPath(volcano.ReleaseURLPrefix, ver, manifestName)
yaml, err := util.DownloadResource(url, "")
From 43ca14d3c89b67ac9827d11dc285afeba82fb29e Mon Sep 17 00:00:00 2001
From: Tom Application
(Optional)
@@ -346,7 +346,7 @@ ApplicationSpec
(Optional)
@@ -2270,7 +2270,7 @@ Webhook
e.g.
webhooks:
- timeoutSeconds: 15
-commend:
+command:
- "hey -z 1m -q 10 -c 2 http://podinfo-canary.test:9898/"
The above example means that during trafficAnalysis, the cmd of “http://flagger-loadtester.test/” is invoked @@ -2306,7 +2306,7 @@
Commands define to commends that executed by webhook.
+Commands define to commands that executed by webhook.