kubebuilder icon indicating copy to clipboard operation
kubebuilder copied to clipboard

webhook patches has not been generated properly for projects with multi-group layout

Open camilamacedo86 opened this issue 1 year ago • 0 comments
trafficstars

What broke? What's expected?

I would expected be able to generate the dist/installer.yaml for projects which has multi-group layout See that we needed to ignore it in the sample: https://github.com/kubernetes-sigs/kubebuilder/blob/5278143918eab240cb2a8f424da1ca1f06dcedff/test/testdata/generate.sh#L118-L126

Reproducing this issue

Just update the script to generate the samples under test data https://github.com/kubernetes-sigs/kubebuilder/blob/5278143918eab240cb2a8f424da1ca1f06dcedff/test/testdata/generate.sh#L118-L126 in order to allow run make build-installer for all projects which go/v4 and see that it fails as described in the comment for the multigroup layout.

KubeBuilder (CLI) Version

master

PROJECT version

No response

Plugin versions

No response

Other versions

No response

Extra Labels

No response

camilamacedo86 avatar Jan 30 '24 00:01 camilamacedo86