Repository: kubernetes-sigs/kubebuilder (language: go)

Issue:
The correct file name should be used in the comments of `[kind]_types.go`
<!-- STOP

* If this is an issue with some sort of runtime mechanics, it probably belongs in https://sigs.k8s.io/controller-runtime instead
* If this is an issue with CRD generation or webhook config generation, it probably belongs in sigs.k8s.io/controller-tools instead
* If this is an issue with scaffolding, or is definitely a cross repository effort, it probably belongs here.

-->

<!-- 

Hiya!  Welcome to KubeBuilder!  For a smooth issue process, try to answer the following questions.
Don't worry if they're not all applicable; just try to include what you can :-)

If you need to include code snippets or logs, please put them in fenced code
blocks.  If they're super-long, please use the details tag like
<details><summary>super-long log</summary> lots of stuff </details>

-->

### What broke (please include exact error messages if you can) 
When we use `$ kubebuilder create api`, it generates a file like `[kind]_types.go`. In this file, there is a comment that indicates which file to change when adding a field.

However, the file name in the comment is different from the generated file name. This difference can confuse people.

The example is shown below.

```console
$ kubebuilder create api --group webapp --version v1 --kind Guestbook
Create Resource [y/n]
y
Create Controller [y/n]
y
Writing scaffold for you to edit...
api/v1/guestbook_types.go
controllers/guestbook_controller.go
Running make:
$ make
$PATH/.go/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..."
go fmt ./...
go vet ./...
go build -o bin/manager main.go
kubebuilder create api --group webapp --version v1 --kind Guestbook  6.82s user 5.43s system 153% cpu 7.959 total
```

```console
$ cat api/v1/guestbook_types.go | grep 'Edit Guestbook_types\.go'
        // Foo is an example field of Guestbook. Edit Guestbook_types.go to remove/update
```

In the above example, `Guestbook_types.go` is written in a comment. This is different from the correct file name `guestbook_types.go`.


### What did you expect to happen?  What do you think went wrong? 

<!-- If you don't know what broke, but have a minimal reproducer, that would be super-helpful helpful! -->

A comment should use a correct file name. In the above example, `guestbook_types.go` should be used.

### What versions of software are you using?  

<!--
Specifically, the following are often useful:

* go version
* kubebuilder version (`kubebuilder version`) and scaffolding version (check your `PROJECT` file)
* controller-runtime version (check your `go.mod` file)
* controller-tools version
* Kubernetes & kubectl versions (just run `kubectl version` against your API server)

-->

```console
$ go version
go version go1.15.3 darwin/amd64

$ kubebuilder version
Version: version.Version{KubeBuilderVersion:"2.3.1", KubernetesVendor:"1.16.4", GitCommit:"8b53abeb4280186e494b726edf8f54ca7aa64a49", BuildDate:"2020-03-26T16:42:00Z", GoOs:"unknown", GoArch:"unknown"}

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.1", GitCommit:"c4d752765b3bbac2237bf87cf0b1c2e307844666", GitTreeState:"clean", BuildDate:"2020-12-19T07:38:38Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.1", GitCommit:"206bcadf021e76c27513500ca24182692aabd17e", GitTreeState:"clean", BuildDate:"2020-09-14T07:30:52Z", GoVersion:"go1.15", Compiler:"gc", Platform:"linux/amd64"}
```

```console
$ cat go.mod | grep controller-runtime
        sigs.k8s.io/controller-runtime v0.5.0
```

```console
$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.15.7
BuildVersion:   19H114
```

<!-- If this is actually about documentation, add `/kind documentation` below -->

/kind bug



Discussion / hints:

Fix patch:
diff --git a/pkg/plugins/golang/v2/scaffolds/internal/templates/api/types.go b/pkg/plugins/golang/v2/scaffolds/internal/templates/api/types.go
index 7bf3c056d4f..a1a9b588398 100644
--- a/pkg/plugins/golang/v2/scaffolds/internal/templates/api/types.go
+++ b/pkg/plugins/golang/v2/scaffolds/internal/templates/api/types.go
@@ -75,7 +75,7 @@ type {{ .Resource.Kind }}Spec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of {{ .Resource.Kind }}. Edit {{ .Resource.Kind }}_types.go to remove/update
+	// Foo is an example field of {{ .Resource.Kind }}. Edit {{ lower .Resource.Kind }}_types.go to remove/update
 	Foo string ` + "`" + `json:"foo,omitempty"` + "`" + `
 }
 
diff --git a/pkg/plugins/golang/v3/scaffolds/internal/templates/api/types.go b/pkg/plugins/golang/v3/scaffolds/internal/templates/api/types.go
index 690e40fb9cf..42223887bca 100644
--- a/pkg/plugins/golang/v3/scaffolds/internal/templates/api/types.go
+++ b/pkg/plugins/golang/v3/scaffolds/internal/templates/api/types.go
@@ -79,7 +79,7 @@ type {{ .Resource.Kind }}Spec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of {{ .Resource.Kind }}. Edit {{ .Resource.Kind }}_types.go to remove/update
+	// Foo is an example field of {{ .Resource.Kind }}. Edit {{ lower .Resource.Kind }}_types.go to remove/update
 	Foo string ` + "`" + `json:"foo,omitempty"` + "`" + `
 }
 


Test patch:
diff --git a/testdata/project-v2-multigroup/apis/crew/v1/captain_types.go b/testdata/project-v2-multigroup/apis/crew/v1/captain_types.go
index 7395332a585..8ec2699beb0 100644
--- a/testdata/project-v2-multigroup/apis/crew/v1/captain_types.go
+++ b/testdata/project-v2-multigroup/apis/crew/v1/captain_types.go
@@ -28,7 +28,7 @@ type CaptainSpec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of Captain. Edit Captain_types.go to remove/update
+	// Foo is an example field of Captain. Edit captain_types.go to remove/update
 	Foo string `json:"foo,omitempty"`
 }
 
diff --git a/testdata/project-v2-multigroup/apis/foo.policy/v1/healthcheckpolicy_types.go b/testdata/project-v2-multigroup/apis/foo.policy/v1/healthcheckpolicy_types.go
index f5a8ee50e4f..c2d1c322e8c 100644
--- a/testdata/project-v2-multigroup/apis/foo.policy/v1/healthcheckpolicy_types.go
+++ b/testdata/project-v2-multigroup/apis/foo.policy/v1/healthcheckpolicy_types.go
@@ -28,7 +28,7 @@ type HealthCheckPolicySpec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of HealthCheckPolicy. Edit HealthCheckPolicy_types.go to remove/update
+	// Foo is an example field of HealthCheckPolicy. Edit healthcheckpolicy_types.go to remove/update
 	Foo string `json:"foo,omitempty"`
 }
 
diff --git a/testdata/project-v2-multigroup/apis/sea-creatures/v1beta1/kraken_types.go b/testdata/project-v2-multigroup/apis/sea-creatures/v1beta1/kraken_types.go
index 64db1b741f4..0d44cb9fe1b 100644
--- a/testdata/project-v2-multigroup/apis/sea-creatures/v1beta1/kraken_types.go
+++ b/testdata/project-v2-multigroup/apis/sea-creatures/v1beta1/kraken_types.go
@@ -28,7 +28,7 @@ type KrakenSpec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of Kraken. Edit Kraken_types.go to remove/update
+	// Foo is an example field of Kraken. Edit kraken_types.go to remove/update
 	Foo string `json:"foo,omitempty"`
 }
 
diff --git a/testdata/project-v2-multigroup/apis/sea-creatures/v1beta2/leviathan_types.go b/testdata/project-v2-multigroup/apis/sea-creatures/v1beta2/leviathan_types.go
index 7d5f714fc3a..39a0d5f9e48 100644
--- a/testdata/project-v2-multigroup/apis/sea-creatures/v1beta2/leviathan_types.go
+++ b/testdata/project-v2-multigroup/apis/sea-creatures/v1beta2/leviathan_types.go
@@ -28,7 +28,7 @@ type LeviathanSpec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of Leviathan. Edit Leviathan_types.go to remove/update
+	// Foo is an example field of Leviathan. Edit leviathan_types.go to remove/update
 	Foo string `json:"foo,omitempty"`
 }
 
diff --git a/testdata/project-v2-multigroup/apis/ship/v1/destroyer_types.go b/testdata/project-v2-multigroup/apis/ship/v1/destroyer_types.go
index 7be6421b4f7..7c4fb62775a 100644
--- a/testdata/project-v2-multigroup/apis/ship/v1/destroyer_types.go
+++ b/testdata/project-v2-multigroup/apis/ship/v1/destroyer_types.go
@@ -28,7 +28,7 @@ type DestroyerSpec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of Destroyer. Edit Destroyer_types.go to remove/update
+	// Foo is an example field of Destroyer. Edit destroyer_types.go to remove/update
 	Foo string `json:"foo,omitempty"`
 }
 
diff --git a/testdata/project-v2-multigroup/apis/ship/v1beta1/frigate_types.go b/testdata/project-v2-multigroup/apis/ship/v1beta1/frigate_types.go
index 950b4e75b4a..465bb762e47 100644
--- a/testdata/project-v2-multigroup/apis/ship/v1beta1/frigate_types.go
+++ b/testdata/project-v2-multigroup/apis/ship/v1beta1/frigate_types.go
@@ -28,7 +28,7 @@ type FrigateSpec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of Frigate. Edit Frigate_types.go to remove/update
+	// Foo is an example field of Frigate. Edit frigate_types.go to remove/update
 	Foo string `json:"foo,omitempty"`
 }
 
diff --git a/testdata/project-v2-multigroup/apis/ship/v2alpha1/cruiser_types.go b/testdata/project-v2-multigroup/apis/ship/v2alpha1/cruiser_types.go
index 84f2df3bdc8..3e3f99c4efb 100644
--- a/testdata/project-v2-multigroup/apis/ship/v2alpha1/cruiser_types.go
+++ b/testdata/project-v2-multigroup/apis/ship/v2alpha1/cruiser_types.go
@@ -28,7 +28,7 @@ type CruiserSpec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of Cruiser. Edit Cruiser_types.go to remove/update
+	// Foo is an example field of Cruiser. Edit cruiser_types.go to remove/update
 	Foo string `json:"foo,omitempty"`
 }
 
diff --git a/testdata/project-v2-multigroup/config/crd/bases/crew.testproject.org_captains.yaml b/testdata/project-v2-multigroup/config/crd/bases/crew.testproject.org_captains.yaml
index 3efe21f23ef..5b0580f100e 100644
--- a/testdata/project-v2-multigroup/config/crd/bases/crew.testproject.org_captains.yaml
+++ b/testdata/project-v2-multigroup/config/crd/bases/crew.testproject.org_captains.yaml
@@ -37,7 +37,7 @@ spec:
           description: CaptainSpec defines the desired state of Captain
           properties:
             foo:
-              description: Foo is an example field of Captain. Edit Captain_types.go
+              description: Foo is an example field of Captain. Edit captain_types.go
                 to remove/update
               type: string
           type: object
diff --git a/testdata/project-v2-multigroup/config/crd/bases/foo.policy.testproject.org_healthcheckpolicies.yaml b/testdata/project-v2-multigroup/config/crd/bases/foo.policy.testproject.org_healthcheckpolicies.yaml
index 6b20d7989a3..94ef4aea2a4 100644
--- a/testdata/project-v2-multigroup/config/crd/bases/foo.policy.testproject.org_healthcheckpolicies.yaml
+++ b/testdata/project-v2-multigroup/config/crd/bases/foo.policy.testproject.org_healthcheckpolicies.yaml
@@ -37,7 +37,7 @@ spec:
           description: HealthCheckPolicySpec defines the desired state of HealthCheckPolicy
           properties:
             foo:
-              description: Foo is an example field of HealthCheckPolicy. Edit HealthCheckPolicy_types.go
+              description: Foo is an example field of HealthCheckPolicy. Edit healthcheckpolicy_types.go
                 to remove/update
               type: string
           type: object
diff --git a/testdata/project-v2-multigroup/config/crd/bases/sea-creatures.testproject.org_krakens.yaml b/testdata/project-v2-multigroup/config/crd/bases/sea-creatures.testproject.org_krakens.yaml
index 9ba1252e889..73b0bb4c018 100644
--- a/testdata/project-v2-multigroup/config/crd/bases/sea-creatures.testproject.org_krakens.yaml
+++ b/testdata/project-v2-multigroup/config/crd/bases/sea-creatures.testproject.org_krakens.yaml
@@ -37,7 +37,7 @@ spec:
           description: KrakenSpec defines the desired state of Kraken
           properties:
             foo:
-              description: Foo is an example field of Kraken. Edit Kraken_types.go
+              description: Foo is an example field of Kraken. Edit kraken_types.go
                 to remove/update
               type: string
           type: object
diff --git a/testdata/project-v2-multigroup/config/crd/bases/sea-creatures.testproject.org_leviathans.yaml b/testdata/project-v2-multigroup/config/crd/bases/sea-creatures.testproject.org_leviathans.yaml
index 5417c98bc95..cf018dcba83 100644
--- a/testdata/project-v2-multigroup/config/crd/bases/sea-creatures.testproject.org_leviathans.yaml
+++ b/testdata/project-v2-multigroup/config/crd/bases/sea-creatures.testproject.org_leviathans.yaml
@@ -37,7 +37,7 @@ spec:
           description: LeviathanSpec defines the desired state of Leviathan
           properties:
             foo:
-              description: Foo is an example field of Leviathan. Edit Leviathan_types.go
+              description: Foo is an example field of Leviathan. Edit leviathan_types.go
                 to remove/update
               type: string
           type: object
diff --git a/testdata/project-v2-multigroup/config/crd/bases/ship.testproject.org_cruisers.yaml b/testdata/project-v2-multigroup/config/crd/bases/ship.testproject.org_cruisers.yaml
index 1b104f5a97c..9b5f3a709d4 100644
--- a/testdata/project-v2-multigroup/config/crd/bases/ship.testproject.org_cruisers.yaml
+++ b/testdata/project-v2-multigroup/config/crd/bases/ship.testproject.org_cruisers.yaml
@@ -37,7 +37,7 @@ spec:
           description: CruiserSpec defines the desired state of Cruiser
           properties:
             foo:
-              description: Foo is an example field of Cruiser. Edit Cruiser_types.go
+              description: Foo is an example field of Cruiser. Edit cruiser_types.go
                 to remove/update
               type: string
           type: object
diff --git a/testdata/project-v2-multigroup/config/crd/bases/ship.testproject.org_destroyers.yaml b/testdata/project-v2-multigroup/config/crd/bases/ship.testproject.org_destroyers.yaml
index de78bd49fcc..f169adbfe4c 100644
--- a/testdata/project-v2-multigroup/config/crd/bases/ship.testproject.org_destroyers.yaml
+++ b/testdata/project-v2-multigroup/config/crd/bases/ship.testproject.org_destroyers.yaml
@@ -37,7 +37,7 @@ spec:
           description: DestroyerSpec defines the desired state of Destroyer
           properties:
             foo:
-              description: Foo is an example field of Destroyer. Edit Destroyer_types.go
+              description: Foo is an example field of Destroyer. Edit destroyer_types.go
                 to remove/update
               type: string
           type: object
diff --git a/testdata/project-v2-multigroup/config/crd/bases/ship.testproject.org_frigates.yaml b/testdata/project-v2-multigroup/config/crd/bases/ship.testproject.org_frigates.yaml
index c73e2ce8920..f32c4975a34 100644
--- a/testdata/project-v2-multigroup/config/crd/bases/ship.testproject.org_frigates.yaml
+++ b/testdata/project-v2-multigroup/config/crd/bases/ship.testproject.org_frigates.yaml
@@ -37,7 +37,7 @@ spec:
           description: FrigateSpec defines the desired state of Frigate
           properties:
             foo:
-              description: Foo is an example field of Frigate. Edit Frigate_types.go
+              description: Foo is an example field of Frigate. Edit frigate_types.go
                 to remove/update
               type: string
           type: object
diff --git a/testdata/project-v2/api/v1/admiral_types.go b/testdata/project-v2/api/v1/admiral_types.go
index 7d05b1b6ada..fe0d8308a70 100644
--- a/testdata/project-v2/api/v1/admiral_types.go
+++ b/testdata/project-v2/api/v1/admiral_types.go
@@ -28,7 +28,7 @@ type AdmiralSpec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of Admiral. Edit Admiral_types.go to remove/update
+	// Foo is an example field of Admiral. Edit admiral_types.go to remove/update
 	Foo string `json:"foo,omitempty"`
 }
 
diff --git a/testdata/project-v2/api/v1/captain_types.go b/testdata/project-v2/api/v1/captain_types.go
index 7395332a585..8ec2699beb0 100644
--- a/testdata/project-v2/api/v1/captain_types.go
+++ b/testdata/project-v2/api/v1/captain_types.go
@@ -28,7 +28,7 @@ type CaptainSpec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of Captain. Edit Captain_types.go to remove/update
+	// Foo is an example field of Captain. Edit captain_types.go to remove/update
 	Foo string `json:"foo,omitempty"`
 }
 
diff --git a/testdata/project-v2/api/v1/firstmate_types.go b/testdata/project-v2/api/v1/firstmate_types.go
index 08838b7dc40..99387e72e30 100644
--- a/testdata/project-v2/api/v1/firstmate_types.go
+++ b/testdata/project-v2/api/v1/firstmate_types.go
@@ -28,7 +28,7 @@ type FirstMateSpec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of FirstMate. Edit FirstMate_types.go to remove/update
+	// Foo is an example field of FirstMate. Edit firstmate_types.go to remove/update
 	Foo string `json:"foo,omitempty"`
 }
 
diff --git a/testdata/project-v2/config/crd/bases/crew.testproject.org_admirals.yaml b/testdata/project-v2/config/crd/bases/crew.testproject.org_admirals.yaml
index a9debed1eca..ceba98ca231 100644
--- a/testdata/project-v2/config/crd/bases/crew.testproject.org_admirals.yaml
+++ b/testdata/project-v2/config/crd/bases/crew.testproject.org_admirals.yaml
@@ -37,7 +37,7 @@ spec:
           description: AdmiralSpec defines the desired state of Admiral
           properties:
             foo:
-              description: Foo is an example field of Admiral. Edit Admiral_types.go
+              description: Foo is an example field of Admiral. Edit admiral_types.go
                 to remove/update
               type: string
           type: object
diff --git a/testdata/project-v2/config/crd/bases/crew.testproject.org_captains.yaml b/testdata/project-v2/config/crd/bases/crew.testproject.org_captains.yaml
index 3efe21f23ef..5b0580f100e 100644
--- a/testdata/project-v2/config/crd/bases/crew.testproject.org_captains.yaml
+++ b/testdata/project-v2/config/crd/bases/crew.testproject.org_captains.yaml
@@ -37,7 +37,7 @@ spec:
           description: CaptainSpec defines the desired state of Captain
           properties:
             foo:
-              description: Foo is an example field of Captain. Edit Captain_types.go
+              description: Foo is an example field of Captain. Edit captain_types.go
                 to remove/update
               type: string
           type: object
diff --git a/testdata/project-v2/config/crd/bases/crew.testproject.org_firstmates.yaml b/testdata/project-v2/config/crd/bases/crew.testproject.org_firstmates.yaml
index d334fb8e690..499d4131a73 100644
--- a/testdata/project-v2/config/crd/bases/crew.testproject.org_firstmates.yaml
+++ b/testdata/project-v2/config/crd/bases/crew.testproject.org_firstmates.yaml
@@ -37,7 +37,7 @@ spec:
           description: FirstMateSpec defines the desired state of FirstMate
           properties:
             foo:
-              description: Foo is an example field of FirstMate. Edit FirstMate_types.go
+              description: Foo is an example field of FirstMate. Edit firstmate_types.go
                 to remove/update
               type: string
           type: object
diff --git a/testdata/project-v3-config/api/v1/admiral_types.go b/testdata/project-v3-config/api/v1/admiral_types.go
index 7d05b1b6ada..fe0d8308a70 100644
--- a/testdata/project-v3-config/api/v1/admiral_types.go
+++ b/testdata/project-v3-config/api/v1/admiral_types.go
@@ -28,7 +28,7 @@ type AdmiralSpec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of Admiral. Edit Admiral_types.go to remove/update
+	// Foo is an example field of Admiral. Edit admiral_types.go to remove/update
 	Foo string `json:"foo,omitempty"`
 }
 
diff --git a/testdata/project-v3-config/api/v1/captain_types.go b/testdata/project-v3-config/api/v1/captain_types.go
index 7395332a585..8ec2699beb0 100644
--- a/testdata/project-v3-config/api/v1/captain_types.go
+++ b/testdata/project-v3-config/api/v1/captain_types.go
@@ -28,7 +28,7 @@ type CaptainSpec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of Captain. Edit Captain_types.go to remove/update
+	// Foo is an example field of Captain. Edit captain_types.go to remove/update
 	Foo string `json:"foo,omitempty"`
 }
 
diff --git a/testdata/project-v3-config/api/v1/firstmate_types.go b/testdata/project-v3-config/api/v1/firstmate_types.go
index 08838b7dc40..99387e72e30 100644
--- a/testdata/project-v3-config/api/v1/firstmate_types.go
+++ b/testdata/project-v3-config/api/v1/firstmate_types.go
@@ -28,7 +28,7 @@ type FirstMateSpec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of FirstMate. Edit FirstMate_types.go to remove/update
+	// Foo is an example field of FirstMate. Edit firstmate_types.go to remove/update
 	Foo string `json:"foo,omitempty"`
 }
 
diff --git a/testdata/project-v3-config/config/crd/bases/crew.testproject.org_admirals.yaml b/testdata/project-v3-config/config/crd/bases/crew.testproject.org_admirals.yaml
index 4611bd1e654..e8612bd5328 100644
--- a/testdata/project-v3-config/config/crd/bases/crew.testproject.org_admirals.yaml
+++ b/testdata/project-v3-config/config/crd/bases/crew.testproject.org_admirals.yaml
@@ -37,7 +37,7 @@ spec:
             description: AdmiralSpec defines the desired state of Admiral
             properties:
               foo:
-                description: Foo is an example field of Admiral. Edit Admiral_types.go
+                description: Foo is an example field of Admiral. Edit admiral_types.go
                   to remove/update
                 type: string
             type: object
diff --git a/testdata/project-v3-config/config/crd/bases/crew.testproject.org_captains.yaml b/testdata/project-v3-config/config/crd/bases/crew.testproject.org_captains.yaml
index 012b4d166d8..4b700024880 100644
--- a/testdata/project-v3-config/config/crd/bases/crew.testproject.org_captains.yaml
+++ b/testdata/project-v3-config/config/crd/bases/crew.testproject.org_captains.yaml
@@ -37,7 +37,7 @@ spec:
             description: CaptainSpec defines the desired state of Captain
             properties:
               foo:
-                description: Foo is an example field of Captain. Edit Captain_types.go
+                description: Foo is an example field of Captain. Edit captain_types.go
                   to remove/update
                 type: string
             type: object
diff --git a/testdata/project-v3-config/config/crd/bases/crew.testproject.org_firstmates.yaml b/testdata/project-v3-config/config/crd/bases/crew.testproject.org_firstmates.yaml
index 40161cbd203..be577063e51 100644
--- a/testdata/project-v3-config/config/crd/bases/crew.testproject.org_firstmates.yaml
+++ b/testdata/project-v3-config/config/crd/bases/crew.testproject.org_firstmates.yaml
@@ -37,7 +37,7 @@ spec:
             description: FirstMateSpec defines the desired state of FirstMate
             properties:
               foo:
-                description: Foo is an example field of FirstMate. Edit FirstMate_types.go
+                description: Foo is an example field of FirstMate. Edit firstmate_types.go
                   to remove/update
                 type: string
             type: object
diff --git a/testdata/project-v3-multigroup/apis/crew/v1/captain_types.go b/testdata/project-v3-multigroup/apis/crew/v1/captain_types.go
index 7395332a585..8ec2699beb0 100644
--- a/testdata/project-v3-multigroup/apis/crew/v1/captain_types.go
+++ b/testdata/project-v3-multigroup/apis/crew/v1/captain_types.go
@@ -28,7 +28,7 @@ type CaptainSpec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of Captain. Edit Captain_types.go to remove/update
+	// Foo is an example field of Captain. Edit captain_types.go to remove/update
 	Foo string `json:"foo,omitempty"`
 }
 
diff --git a/testdata/project-v3-multigroup/apis/foo.policy/v1/healthcheckpolicy_types.go b/testdata/project-v3-multigroup/apis/foo.policy/v1/healthcheckpolicy_types.go
index f5a8ee50e4f..c2d1c322e8c 100644
--- a/testdata/project-v3-multigroup/apis/foo.policy/v1/healthcheckpolicy_types.go
+++ b/testdata/project-v3-multigroup/apis/foo.policy/v1/healthcheckpolicy_types.go
@@ -28,7 +28,7 @@ type HealthCheckPolicySpec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of HealthCheckPolicy. Edit HealthCheckPolicy_types.go to remove/update
+	// Foo is an example field of HealthCheckPolicy. Edit healthcheckpolicy_types.go to remove/update
 	Foo string `json:"foo,omitempty"`
 }
 
diff --git a/testdata/project-v3-multigroup/apis/sea-creatures/v1beta1/kraken_types.go b/testdata/project-v3-multigroup/apis/sea-creatures/v1beta1/kraken_types.go
index 64db1b741f4..0d44cb9fe1b 100644
--- a/testdata/project-v3-multigroup/apis/sea-creatures/v1beta1/kraken_types.go
+++ b/testdata/project-v3-multigroup/apis/sea-creatures/v1beta1/kraken_types.go
@@ -28,7 +28,7 @@ type KrakenSpec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of Kraken. Edit Kraken_types.go to remove/update
+	// Foo is an example field of Kraken. Edit kraken_types.go to remove/update
 	Foo string `json:"foo,omitempty"`
 }
 
diff --git a/testdata/project-v3-multigroup/apis/sea-creatures/v1beta2/leviathan_types.go b/testdata/project-v3-multigroup/apis/sea-creatures/v1beta2/leviathan_types.go
index 7d5f714fc3a..39a0d5f9e48 100644
--- a/testdata/project-v3-multigroup/apis/sea-creatures/v1beta2/leviathan_types.go
+++ b/testdata/project-v3-multigroup/apis/sea-creatures/v1beta2/leviathan_types.go
@@ -28,7 +28,7 @@ type LeviathanSpec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of Leviathan. Edit Leviathan_types.go to remove/update
+	// Foo is an example field of Leviathan. Edit leviathan_types.go to remove/update
 	Foo string `json:"foo,omitempty"`
 }
 
diff --git a/testdata/project-v3-multigroup/apis/ship/v1/destroyer_types.go b/testdata/project-v3-multigroup/apis/ship/v1/destroyer_types.go
index 7be6421b4f7..7c4fb62775a 100644
--- a/testdata/project-v3-multigroup/apis/ship/v1/destroyer_types.go
+++ b/testdata/project-v3-multigroup/apis/ship/v1/destroyer_types.go
@@ -28,7 +28,7 @@ type DestroyerSpec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of Destroyer. Edit Destroyer_types.go to remove/update
+	// Foo is an example field of Destroyer. Edit destroyer_types.go to remove/update
 	Foo string `json:"foo,omitempty"`
 }
 
diff --git a/testdata/project-v3-multigroup/apis/ship/v1beta1/frigate_types.go b/testdata/project-v3-multigroup/apis/ship/v1beta1/frigate_types.go
index 950b4e75b4a..465bb762e47 100644
--- a/testdata/project-v3-multigroup/apis/ship/v1beta1/frigate_types.go
+++ b/testdata/project-v3-multigroup/apis/ship/v1beta1/frigate_types.go
@@ -28,7 +28,7 @@ type FrigateSpec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of Frigate. Edit Frigate_types.go to remove/update
+	// Foo is an example field of Frigate. Edit frigate_types.go to remove/update
 	Foo string `json:"foo,omitempty"`
 }
 
diff --git a/testdata/project-v3-multigroup/apis/ship/v2alpha1/cruiser_types.go b/testdata/project-v3-multigroup/apis/ship/v2alpha1/cruiser_types.go
index 84f2df3bdc8..3e3f99c4efb 100644
--- a/testdata/project-v3-multigroup/apis/ship/v2alpha1/cruiser_types.go
+++ b/testdata/project-v3-multigroup/apis/ship/v2alpha1/cruiser_types.go
@@ -28,7 +28,7 @@ type CruiserSpec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of Cruiser. Edit Cruiser_types.go to remove/update
+	// Foo is an example field of Cruiser. Edit cruiser_types.go to remove/update
 	Foo string `json:"foo,omitempty"`
 }
 
diff --git a/testdata/project-v3-multigroup/apis/v1/lakers_types.go b/testdata/project-v3-multigroup/apis/v1/lakers_types.go
index b9b73383764..84ff6d21584 100644
--- a/testdata/project-v3-multigroup/apis/v1/lakers_types.go
+++ b/testdata/project-v3-multigroup/apis/v1/lakers_types.go
@@ -28,7 +28,7 @@ type LakersSpec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of Lakers. Edit Lakers_types.go to remove/update
+	// Foo is an example field of Lakers. Edit lakers_types.go to remove/update
 	Foo string `json:"foo,omitempty"`
 }
 
diff --git a/testdata/project-v3-multigroup/config/crd/bases/crew.testproject.org_captains.yaml b/testdata/project-v3-multigroup/config/crd/bases/crew.testproject.org_captains.yaml
index 012b4d166d8..4b700024880 100644
--- a/testdata/project-v3-multigroup/config/crd/bases/crew.testproject.org_captains.yaml
+++ b/testdata/project-v3-multigroup/config/crd/bases/crew.testproject.org_captains.yaml
@@ -37,7 +37,7 @@ spec:
             description: CaptainSpec defines the desired state of Captain
             properties:
               foo:
-                description: Foo is an example field of Captain. Edit Captain_types.go
+                description: Foo is an example field of Captain. Edit captain_types.go
                   to remove/update
                 type: string
             type: object
diff --git a/testdata/project-v3-multigroup/config/crd/bases/foo.policy.testproject.org_healthcheckpolicies.yaml b/testdata/project-v3-multigroup/config/crd/bases/foo.policy.testproject.org_healthcheckpolicies.yaml
index 7b789653505..21f46ec3af5 100644
--- a/testdata/project-v3-multigroup/config/crd/bases/foo.policy.testproject.org_healthcheckpolicies.yaml
+++ b/testdata/project-v3-multigroup/config/crd/bases/foo.policy.testproject.org_healthcheckpolicies.yaml
@@ -37,7 +37,7 @@ spec:
             description: HealthCheckPolicySpec defines the desired state of HealthCheckPolicy
             properties:
               foo:
-                description: Foo is an example field of HealthCheckPolicy. Edit HealthCheckPolicy_types.go
+                description: Foo is an example field of HealthCheckPolicy. Edit healthcheckpolicy_types.go
                   to remove/update
                 type: string
             type: object
diff --git a/testdata/project-v3-multigroup/config/crd/bases/sea-creatures.testproject.org_krakens.yaml b/testdata/project-v3-multigroup/config/crd/bases/sea-creatures.testproject.org_krakens.yaml
index 1eab23080da..e506bedbe1b 100644
--- a/testdata/project-v3-multigroup/config/crd/bases/sea-creatures.testproject.org_krakens.yaml
+++ b/testdata/project-v3-multigroup/config/crd/bases/sea-creatures.testproject.org_krakens.yaml
@@ -37,7 +37,7 @@ spec:
             description: KrakenSpec defines the desired state of Kraken
             properties:
               foo:
-                description: Foo is an example field of Kraken. Edit Kraken_types.go
+                description: Foo is an example field of Kraken. Edit kraken_types.go
                   to remove/update
                 type: string
             type: object
diff --git a/testdata/project-v3-multigroup/config/crd/bases/sea-creatures.testproject.org_leviathans.yaml b/testdata/project-v3-multigroup/config/crd/bases/sea-creatures.testproject.org_leviathans.yaml
index 90d47587d99..a0213f59575 100644
--- a/testdata/project-v3-multigroup/config/crd/bases/sea-creatures.testproject.org_leviathans.yaml
+++ b/testdata/project-v3-multigroup/config/crd/bases/sea-creatures.testproject.org_leviathans.yaml
@@ -37,7 +37,7 @@ spec:
             description: LeviathanSpec defines the desired state of Leviathan
             properties:
               foo:
-                description: Foo is an example field of Leviathan. Edit Leviathan_types.go
+                description: Foo is an example field of Leviathan. Edit leviathan_types.go
                   to remove/update
                 type: string
             type: object
diff --git a/testdata/project-v3-multigroup/config/crd/bases/ship.testproject.org_cruisers.yaml b/testdata/project-v3-multigroup/config/crd/bases/ship.testproject.org_cruisers.yaml
index 4155f5decf9..8d9aab73efd 100644
--- a/testdata/project-v3-multigroup/config/crd/bases/ship.testproject.org_cruisers.yaml
+++ b/testdata/project-v3-multigroup/config/crd/bases/ship.testproject.org_cruisers.yaml
@@ -37,7 +37,7 @@ spec:
             description: CruiserSpec defines the desired state of Cruiser
             properties:
               foo:
-                description: Foo is an example field of Cruiser. Edit Cruiser_types.go
+                description: Foo is an example field of Cruiser. Edit cruiser_types.go
                   to remove/update
                 type: string
             type: object
diff --git a/testdata/project-v3-multigroup/config/crd/bases/ship.testproject.org_destroyers.yaml b/testdata/project-v3-multigroup/config/crd/bases/ship.testproject.org_destroyers.yaml
index d683f9ecd07..6f803b04142 100644
--- a/testdata/project-v3-multigroup/config/crd/bases/ship.testproject.org_destroyers.yaml
+++ b/testdata/project-v3-multigroup/config/crd/bases/ship.testproject.org_destroyers.yaml
@@ -37,7 +37,7 @@ spec:
             description: DestroyerSpec defines the desired state of Destroyer
             properties:
               foo:
-                description: Foo is an example field of Destroyer. Edit Destroyer_types.go
+                description: Foo is an example field of Destroyer. Edit destroyer_types.go
                   to remove/update
                 type: string
             type: object
diff --git a/testdata/project-v3-multigroup/config/crd/bases/ship.testproject.org_frigates.yaml b/testdata/project-v3-multigroup/config/crd/bases/ship.testproject.org_frigates.yaml
index 36e2142c395..299e19e058a 100644
--- a/testdata/project-v3-multigroup/config/crd/bases/ship.testproject.org_frigates.yaml
+++ b/testdata/project-v3-multigroup/config/crd/bases/ship.testproject.org_frigates.yaml
@@ -37,7 +37,7 @@ spec:
             description: FrigateSpec defines the desired state of Frigate
             properties:
               foo:
-                description: Foo is an example field of Frigate. Edit Frigate_types.go
+                description: Foo is an example field of Frigate. Edit frigate_types.go
                   to remove/update
                 type: string
             type: object
diff --git a/testdata/project-v3-multigroup/config/crd/bases/testproject.org_lakers.yaml b/testdata/project-v3-multigroup/config/crd/bases/testproject.org_lakers.yaml
index b028e81ca67..333be39254a 100644
--- a/testdata/project-v3-multigroup/config/crd/bases/testproject.org_lakers.yaml
+++ b/testdata/project-v3-multigroup/config/crd/bases/testproject.org_lakers.yaml
@@ -37,7 +37,7 @@ spec:
             description: LakersSpec defines the desired state of Lakers
             properties:
               foo:
-                description: Foo is an example field of Lakers. Edit Lakers_types.go
+                description: Foo is an example field of Lakers. Edit lakers_types.go
                   to remove/update
                 type: string
             type: object
diff --git a/testdata/project-v3/api/v1/admiral_types.go b/testdata/project-v3/api/v1/admiral_types.go
index 7d05b1b6ada..fe0d8308a70 100644
--- a/testdata/project-v3/api/v1/admiral_types.go
+++ b/testdata/project-v3/api/v1/admiral_types.go
@@ -28,7 +28,7 @@ type AdmiralSpec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of Admiral. Edit Admiral_types.go to remove/update
+	// Foo is an example field of Admiral. Edit admiral_types.go to remove/update
 	Foo string `json:"foo,omitempty"`
 }
 
diff --git a/testdata/project-v3/api/v1/captain_types.go b/testdata/project-v3/api/v1/captain_types.go
index 7395332a585..8ec2699beb0 100644
--- a/testdata/project-v3/api/v1/captain_types.go
+++ b/testdata/project-v3/api/v1/captain_types.go
@@ -28,7 +28,7 @@ type CaptainSpec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of Captain. Edit Captain_types.go to remove/update
+	// Foo is an example field of Captain. Edit captain_types.go to remove/update
 	Foo string `json:"foo,omitempty"`
 }
 
diff --git a/testdata/project-v3/api/v1/firstmate_types.go b/testdata/project-v3/api/v1/firstmate_types.go
index 08838b7dc40..99387e72e30 100644
--- a/testdata/project-v3/api/v1/firstmate_types.go
+++ b/testdata/project-v3/api/v1/firstmate_types.go
@@ -28,7 +28,7 @@ type FirstMateSpec struct {
 	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
 	// Important: Run "make" to regenerate code after modifying this file
 
-	// Foo is an example field of FirstMate. Edit FirstMate_types.go to remove/update
+	// Foo is an example field of FirstMate. Edit firstmate_types.go to remove/update
 	Foo string `json:"foo,omitempty"`
 }
 
diff --git a/testdata/project-v3/config/crd/bases/crew.testproject.org_admirals.yaml b/testdata/project-v3/config/crd/bases/crew.testproject.org_admirals.yaml
index 4611bd1e654..e8612bd5328 100644
--- a/testdata/project-v3/config/crd/bases/crew.testproject.org_admirals.yaml
+++ b/testdata/project-v3/config/crd/bases/crew.testproject.org_admirals.yaml
@@ -37,7 +37,7 @@ spec:
             description: AdmiralSpec defines the desired state of Admiral
             properties:
               foo:
-                description: Foo is an example field of Admiral. Edit Admiral_types.go
+                description: Foo is an example field of Admiral. Edit admiral_types.go
                   to remove/update
                 type: string
             type: object
diff --git a/testdata/project-v3/config/crd/bases/crew.testproject.org_captains.yaml b/testdata/project-v3/config/crd/bases/crew.testproject.org_captains.yaml
index 012b4d166d8..4b700024880 100644
--- a/testdata/project-v3/config/crd/bases/crew.testproject.org_captains.yaml
+++ b/testdata/project-v3/config/crd/bases/crew.testproject.org_captains.yaml
@@ -37,7 +37,7 @@ spec:
             description: CaptainSpec defines the desired state of Captain
             properties:
               foo:
-                description: Foo is an example field of Captain. Edit Captain_types.go
+                description: Foo is an example field of Captain. Edit captain_types.go
                   to remove/update
                 type: string
             type: object
diff --git a/testdata/project-v3/config/crd/bases/crew.testproject.org_firstmates.yaml b/testdata/project-v3/config/crd/bases/crew.testproject.org_firstmates.yaml
index 40161cbd203..be577063e51 100644
--- a/testdata/project-v3/config/crd/bases/crew.testproject.org_firstmates.yaml
+++ b/testdata/project-v3/config/crd/bases/crew.testproject.org_firstmates.yaml
@@ -37,7 +37,7 @@ spec:
             description: FirstMateSpec defines the desired state of FirstMate
             properties:
               foo:
-                description: Foo is an example field of FirstMate. Edit FirstMate_types.go
+                description: Foo is an example field of FirstMate. Edit firstmate_types.go
                   to remove/update
                 type: string
             type: object