diff --git a/docs/cloud-provider.md b/docs/cloud-provider.md index 18478c133..cda08ba1c 100644 --- a/docs/cloud-provider.md +++ b/docs/cloud-provider.md @@ -54,7 +54,7 @@ accessKeyId: "<< YOUR_ACCESS_KEY_ID >>" secretAccessKey: "<< YOUR_SECRET_ACCESS_KEY_ID >>" # region for the instance region: "eu-central-1" -# avaiability zone for the instance +# availability zone for the instance availabilityZone: "eu-central-1a" # vpc id for the instance vpcId: "vpc-079f7648481a11e77" diff --git a/docs/vsphere.md b/docs/vsphere.md index 0a299cb2a..81cf0d98e 100644 --- a/docs/vsphere.md +++ b/docs/vsphere.md @@ -27,7 +27,7 @@ To see where to locate the OVAs go to the OS specific section. 3. Click through the dialog until "Select storage" 4. Select the same storage you want to use for your machines 5. Select the same network you want to use for your machines -6. Leave everyhting in the "Customize Template" and "Ready to complete" dialog as it is +6. Leave everything in the "Customize Template" and "Ready to complete" dialog as it is 7. Wait until the VM got fully imported and the "Snapshots" => "Create Snapshot" button is not grayed out anymore #### Command-line procedure @@ -168,7 +168,7 @@ Procedure: 3. Upload to vSphere using WebUI or GOVC: Make sure to replace the parameters on the command below with the correct - values specific to yout vSphere environment. + values specific to your vSphere environment. ``` govc import.vmdk -dc=dc-1 -pool=/dc-1/host/cl-1/Resources -ds=ds-1 "./${image_name}.vmdk" diff --git a/hack/ci/setup-machine-controller-in-kind.sh b/hack/ci/setup-machine-controller-in-kind.sh index 32aa4b6d6..535346ff9 100755 --- a/hack/ci/setup-machine-controller-in-kind.sh +++ b/hack/ci/setup-machine-controller-in-kind.sh @@ -71,7 +71,7 @@ OSM_TMP_DIR=/tmp/osm ( # Clone OSM repo mkdir -p $OSM_TMP_DIR - echodate "Cloning OSM respository" + echodate "Cloning OSM repository" git clone --depth 1 --branch "${OSM_REPO_TAG}" "${OSM_REPO_URL}" $OSM_TMP_DIR ) diff --git a/pkg/cloudprovider/provider/kubevirt/provider.go b/pkg/cloudprovider/provider/kubevirt/provider.go index 988f7c23b..5fc906bdf 100644 --- a/pkg/cloudprovider/provider/kubevirt/provider.go +++ b/pkg/cloudprovider/provider/kubevirt/provider.go @@ -1144,14 +1144,14 @@ func appendTopologiesLabels(ctx context.Context, c *Config, labels map[string]st return nil } -func getStorageTopologies(ctx context.Context, storageClasName string, c *Config, labels map[string]string) error { +func getStorageTopologies(ctx context.Context, storageClassName string, c *Config, labels map[string]string) error { kubeClient, err := ctrlruntimeclient.New(c.RestConfig, ctrlruntimeclient.Options{}) if err != nil { return fmt.Errorf("failed to get kubevirt client: %w", err) } sc := &storagev1.StorageClass{} - if err := kubeClient.Get(ctx, types.NamespacedName{Name: storageClasName}, sc); err != nil { + if err := kubeClient.Get(ctx, types.NamespacedName{Name: storageClassName}, sc); err != nil { return err } diff --git a/pkg/cloudprovider/provider/openstack/provider_test.go b/pkg/cloudprovider/provider/openstack/provider_test.go index c85ec0136..37f3d709e 100644 --- a/pkg/cloudprovider/provider/openstack/provider_test.go +++ b/pkg/cloudprovider/provider/openstack/provider_test.go @@ -374,7 +374,7 @@ func ExpectServerCreated(t *testing.T, expectedServer string) { // expectedServer copied into the response (e.g. name). err := json.Unmarshal([]byte(expectedServer), &res) if err != nil { - t.Fatalf("Error occurred while unmarshaling the expected server manifest.") + t.Fatalf("Error occurred while unmarshalling the expected server manifest.") } res.Server.ID = "1bea47ed-f6a9-463b-b423-14b9cca9ad27" srvRes, err := json.Marshal(res) diff --git a/pkg/controller/machine/controller.go b/pkg/controller/machine/controller.go index c7749980c..fa5f8918f 100644 --- a/pkg/controller/machine/controller.go +++ b/pkg/controller/machine/controller.go @@ -81,7 +81,7 @@ const ( // AnnotationMachineUninitialized indicates that a machine is not yet // ready to be worked on by the machine-controller. The machine-controller - // will ignore all machines that have this anotation with any value + // will ignore all machines that have this annotation with any value // Its value should consist of one or more initializers, separated by a comma. AnnotationMachineUninitialized = "machine-controller.kubermatic.io/initializers" @@ -261,7 +261,7 @@ func enqueueRequestsForNodes(ctx context.Context, log *zap.SugaredLogger, mgr ma ownerUIDString, exists = nodeLabels[NodeOwnerLabelName] } if !exists { - // We get triggered by node{Add,Update}, so enqeue machines if they + // We get triggered by node{Add,Update}, so enqueue machines if they // have no nodeRef yet to make matching happen ASAP for _, machine := range machinesList.Items { if machine.Status.NodeRef == nil { diff --git a/pkg/controller/machinedeployment/controller.go b/pkg/controller/machinedeployment/controller.go index 615043f00..1ff2def02 100644 --- a/pkg/controller/machinedeployment/controller.go +++ b/pkg/controller/machinedeployment/controller.go @@ -278,7 +278,7 @@ func (r *ReconcileMachineDeployment) getMachineDeploymentsForMachineSet(ctx cont return deployments } -// MachineSetTodeployments is a handler.MapFunc to be used to enqeue requests for reconciliation +// MachineSetTodeployments is a handler.MapFunc to be used to enqueue requests for reconciliation // for MachineDeployments that might adopt an orphaned MachineSet. func (r *ReconcileMachineDeployment) MachineSetToDeployments() handler.MapFunc { return func(ctx context.Context, o ctrlruntimeclient.Object) []ctrlruntime.Request { diff --git a/pkg/controller/machineset/controller.go b/pkg/controller/machineset/controller.go index b7e20e197..9db8acbb2 100644 --- a/pkg/controller/machineset/controller.go +++ b/pkg/controller/machineset/controller.go @@ -404,7 +404,7 @@ func (r *ReconcileMachineSet) waitForMachineDeletion(ctx context.Context, machin return nil } -// MachineToMachineSets is a handler.ToRequestsFunc to be used to enqeue requests for reconciliation +// MachineToMachineSets is a handler.ToRequestsFunc to be used to enqueue requests for reconciliation // for MachineSets that might adopt an orphaned Machine. func (r *ReconcileMachineSet) MachineToMachineSets() handler.MapFunc { return func(ctx context.Context, o ctrlruntimeclient.Object) []ctrlruntime.Request {