diff --git a/cmd/api.go b/cmd/api.go index 4a88c610b5f..fa17df6e2f5 100644 --- a/cmd/api.go +++ b/cmd/api.go @@ -93,7 +93,7 @@ func (o *apiOptions) runAddAPI() { // disable generation of example reconcile body if not scaffolding resource // because this could result in a fork-bomb of k8s resources where watching a // deployment, replicaset etc. results in generating deployment which - // end up genrating replicaset, pod etc recursively. + // end up generating replicaset, pod etc recursively. r.CreateExampleReconcileBody = false } diff --git a/docs/book/basics/simple_resource.md b/docs/book/basics/simple_resource.md index 8973211fff2..58beada2f96 100644 --- a/docs/book/basics/simple_resource.md +++ b/docs/book/basics/simple_resource.md @@ -102,7 +102,7 @@ type ContainerSetStatus struct { ``` {% endmethod %} -{% panel style="info", title="Runing Code Generators" %} +{% panel style="info", title="Running Code Generators" %} While users don't directly modify generated code, the code must be regenerated after resources are modified by adding or removing fields. This is automatically done when running `make`. diff --git a/docs/book/public/basics/simple_resource.html b/docs/book/public/basics/simple_resource.html index 8632752dfcc..3645bbd2407 100644 --- a/docs/book/public/basics/simple_resource.html +++ b/docs/book/public/basics/simple_resource.html @@ -759,7 +759,7 @@

Reference

-

Runing Code Generators

While users don't directly modify generated code, the code must be regenerated after resources are +

Running Code Generators

While users don't directly modify generated code, the code must be regenerated after resources are modified by adding or removing fields. This is automatically done when running make.

Code generation may be configured for resources using annotations of the form // +something. See the pkg/gen reference documentation.

diff --git a/test/e2e/common.go b/test/e2e/common.go index 5c954ea1614..e7fb4309ea6 100644 --- a/test/e2e/common.go +++ b/test/e2e/common.go @@ -53,13 +53,13 @@ func cleanupv1(builderTest *e2einternal.KubebuilderTest, workDir string, imageNa kustomizeOptions := []string{"build", filepath.Join("config", "default")} resources, err := builderTest.RunKustomizeCommand(kustomizeOptions) if err != nil { - log.Printf("error when runing kustomize build during cleaning up: %v", err) + log.Printf("error when running kustomize build during cleaning up: %v", err) } deleteOptions := []string{"delete", "--recursive", "-f", "-"} _, err = builderTest.RunKubectlCommandWithInput(framework.GetKubectlArgs(deleteOptions), resources) if err != nil { - log.Printf("error when runing kubectl delete during cleaning up: %v", err) + log.Printf("error when running kubectl delete during cleaning up: %v", err) } deleteOptions = []string{"delete", "--recursive", "-f", filepath.Join("config", "crds")} diff --git a/test/e2e/e2e_test.go b/test/e2e/e2e_test.go index 82489a45389..4c62b6f823c 100644 --- a/test/e2e/e2e_test.go +++ b/test/e2e/e2e_test.go @@ -49,7 +49,7 @@ it will build the new kubebuilder. */ // TODO: ensure the required binaries are installed when integrate with Prow. var _ = BeforeSuite(func(done Done) { - // Uncomment the following line to set the image name before runing the e2e test + // Uncomment the following line to set the image name before running the e2e test //os.Setenv("IMG", "gcr.io//") // If you want to run the test against a GKE cluster, run the following command first // $ kubectl create clusterrolebinding myname-cluster-admin-binding --clusterrole=cluster-admin --user=myname@mycompany.com