Multi-arch node affinity patch included in auth proxy patch? #3272
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What broke? What's expected?
Since v3.7.0, it looks like kubebuilder is inserting a multi-arch-related affinity patch into my final kustomize manifests by including it in the auth proxy patch by default here:
kubebuilder/pkg/plugins/common/kustomize/v1/scaffolds/internal/templates/config/kdefault/manager_auth_proxy_patch.go
Lines 56 to 71 in cbccafa
However, this same patch is included (but commented out) in the ./co.nfig/manager/manager.yaml file (originating here:
kubebuilder/pkg/plugins/common/kustomize/v1/scaffolds/internal/templates/config/manager/config.go
Lines 86 to 105 in 3bfc84e
It seems like the patch was inadvertently added to the auth proxy patch file (it doesn't seem related to the auth proxy at all). I also didn't see any discussion about this in the PR that introduced it (#2906).
Just checking to see if this is a bug or if I'm missing something. Thanks!
Reproducing this issue
Run any invocation of
kubebuilder init
that uses the kustomize/v1 plugin.KubeBuilder (CLI) Version
3.7.0 (or later, it seems)
PROJECT version
3
Plugin versions
go.kubebuilder.io/v4-alpha
Other versions
No response
Extra Labels
No response
The text was updated successfully, but these errors were encountered: