@@ -48,19 +48,27 @@ diff --color -r operator-v1/api/v1/foo_types.go operator-v2/api/v1/foo_types.go
4848>
4949> // Foo's favorite colour
5050> Colour string `json:"colour,omitempty"`
51- Binary files operator-v1/bin/kustomize and operator-v2/bin/kustomize differ
52- Binary files operator-v1/bin/setup-envtest and operator-v2/bin/setup-envtest differ
51+ Only in operator-v2/bin: k8s
52+ Only in operator-v1/bin: kustomize
53+ Binary files operator-v1/bin/manager and operator-v2/bin/manager differ
54+ Only in operator-v2/bin: setup-envtest
5355diff --color -r operator-v1/config/crd/bases/tutorial.my.domain_foos.yaml operator-v2/config/crd/bases/tutorial.my.domain_foos.yaml
545645a46,48
5557> colour:
5658> description: Foo's favorite colour
5759> type: string
60+ Only in operator-v2: cover.out
5861Only in operator-v2/internal: color
5962diff --color -r operator-v1/internal/controller/foo_controller.go operator-v2/internal/controller/foo_controller.go
606331a32
6164> "my.domain/tutorial/internal/color"
62- 75a77
65+ 76a78
6366> foo.Status.Colour = color.ConvertStrToColor(foo.Name + foo.Namespace)
67+ diff --color -r operator-v1/internal/controller/suite_test.go operator-v2/internal/controller/suite_test.go
68+ 66c66
69+ < fmt.Sprintf("1.28.3-%s-%s", runtime.GOOS, runtime.GOARCH)),
70+ ---
71+ > fmt.Sprintf("1.28.0-%s-%s", runtime.GOOS, runtime.GOARCH)),
6472```
6573
6674### ` v2 ` <> ` v2-with-tests `
@@ -72,12 +80,7 @@ diff --color -r operator-v2/README.md operator-v2-with-tests/README.md
7280< # operator-v2
7381---
7482> # operator-v2-with-tests
75- Only in operator-v2-with-tests/bin: manager
76- diff --color -r operator-v2/go.mod operator-v2-with-tests/go.mod
77- 7a8
78- > k8s.io/api v0.28.0
79- 64d64
80- < k8s.io/api v0.28.0 // indirect
83+ Binary files operator-v2/bin/manager and operator-v2-with-tests/bin/manager differ
8184Only in operator-v2-with-tests/internal/color: color_test.go
8285Only in operator-v2-with-tests/internal/controller: foo_controller_test.go
8386diff --color -r operator-v2/internal/controller/suite_test.go operator-v2-with-tests/internal/controller/suite_test.go
@@ -100,6 +103,10 @@ diff --color -r operator-v2/internal/controller/suite_test.go operator-v2-with-t
100103> )
10110453a61
102105> ctx, cancel = context.WithCancel(context.TODO())
106+ 66c74
107+ < fmt.Sprintf("1.28.0-%s-%s", runtime.GOOS, runtime.GOARCH)),
108+ ---
109+ > fmt.Sprintf("1.28.3-%s-%s", runtime.GOOS, runtime.GOARCH)),
10311083a92,108
104111> // Register and start the Foo controller
105112> k8sManager, err := ctrl.NewManager(cfg, ctrl.Options{
0 commit comments