diff --git a/docs/book/SUMMARY.md b/docs/book/SUMMARY.md index b6fc2312c5..afce76be84 100644 --- a/docs/book/SUMMARY.md +++ b/docs/book/SUMMARY.md @@ -18,7 +18,7 @@ * [What is a Resource](basics/what_is_a_resource.md) * [Resource Example](basics/simple_resource.md) * Controllers - * [What is a Contoller](basics/what_is_a_controller.md) + * [What is a Controller](basics/what_is_a_controller.md) * [Controller Example](basics/simple_controller.md) * Managers * [What is the Manager](basics/what_is_the_controller_manager.md) diff --git a/test/e2e/e2e_v0.go b/test/e2e/e2e_v0.go index 50c2959a71..8bacd3f8a7 100644 --- a/test/e2e/e2e_v0.go +++ b/test/e2e/e2e_v0.go @@ -80,7 +80,7 @@ var _ = Describe("v0 main workflow", func() { Expect(err).NotTo(HaveOccurred()) By("validate the controller-manager pod running as expected") - verifyContollerUp := func() error { + verifyControllerUp := func() error { // Get pod name // TODO: Use kubectl to format the output with a go-template getOptions := []string{"get", "pods", "-n", c.namespace, "-l", "control-plane=controller-manager", "-o", "go-template={{ range .items }}{{ if not .metadata.deletionTimestamp }}{{ .metadata.name }}{{ \"\\n\" }}{{ end }}{{ end }}"} @@ -104,7 +104,7 @@ var _ = Describe("v0 main workflow", func() { return nil } - Eventually(verifyContollerUp, 1*time.Minute, 500*time.Millisecond).Should(BeNil()) + Eventually(verifyControllerUp, 1*time.Minute, 500*time.Millisecond).Should(BeNil()) By("creating resource object") inputFile = filepath.Join(kubebuilderTest.Dir, "hack", "sample", strings.ToLower(c.kind)+".yaml") diff --git a/test/e2e/e2e_v1.go b/test/e2e/e2e_v1.go index 6d463d7893..c5592c2a8f 100644 --- a/test/e2e/e2e_v1.go +++ b/test/e2e/e2e_v1.go @@ -97,7 +97,7 @@ var _ = Describe("v1 main workflow", func() { err = kubebuilderTest.Make(makeDeployOptions) By("validate the controller-manager pod running as expected") - verifyContollerUp := func() error { + verifyControllerUp := func() error { // Get pod name getOptions := []string{"get", "pods", "-l", "control-plane=controller-manager", "-n", fmt.Sprintf("e2e-%s-system", testSuffix), "-o", "go-template={{ range .items }}{{ if not .metadata.deletionTimestamp }}{{ .metadata.name }}{{ \"\\n\" }}{{ end }}{{ end }}"} podOutput, err := kubebuilderTest.RunKubectlCommand(framework.GetKubectlArgs(getOptions)) @@ -119,7 +119,7 @@ var _ = Describe("v1 main workflow", func() { return nil } - Eventually(verifyContollerUp, 5*time.Minute, time.Second).Should(BeNil()) + Eventually(verifyControllerUp, 5*time.Minute, time.Second).Should(BeNil()) By("creating an instance of CR") inputFile := filepath.Join("config", "samples", fmt.Sprintf("%s_%s_%s.yaml", c.group, c.version, strings.ToLower(c.kind)))