controller-tools icon indicating copy to clipboard operation
controller-tools copied to clipboard

Tools to use with the controller-runtime libraries

Results 142 controller-tools issues
Sort by recently updated
recently updated
newest added

This is likely a regression / reoccurence of an issue that was originally raised in #141 and fixed in #143, but was broken by refactoring accompanied by removal of the...

cncf-cla: yes
size/S
do-not-merge/work-in-progress

Hi, just experiencing this issue (https://github.com/kubernetes-sigs/controller-tools/issues/1053) again: ``` panic: interface conversion: types.Type is *types.Alias, not *types.Named ``` ``` // Generate deepcopy methodsets and CRD manifests //go:generate go run -tags generate...

Fixes #1076. This is a follow up on 0a52475258f0 ("pkg/crd: fix type casting panic with new default *types.Alias"). Look for the commit message of the cited commit for more context....

cncf-cla: yes
needs-ok-to-test
size/S

Fixes #1071 Without the type Alias being its own type (Go 1.22 see gotypesalias), in localNamedToSchema, the link is missing. [ Upstream port of d944debcff34 ("Support type aliasing to basic...

cncf-cla: yes
size/M
needs-ok-to-test

When there are two identical Kubebuilder annotations (same API groups) in different Custom Resource (CR) files, and one of them uses the verb *, we need to account for a...

I'm trying to add the `shortNames` configuration to some CRDs. These CRDs have two versions: `v1` and `v1alpha2`. I have changed the `// +kubebuilder:resource:scope=Cluster,shortName=cap` by adding the `shortName` field in...

Here is how to repro: 1. Create a a repro directory `mkdir repro` and put `repro.go` inside of it with: ```golang // +groupName=repro.io package repro import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" )...

Minimal repro: Create the needed directories `mkdir repro1 repro2 repro3` and put the files inside ``` go // +groupName=repro.io package repro1 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "sigs.k8s.io/controller-tools/repro2" // Uncomment the following...

help wanted

Similar request to https://github.com/kubernetes-sigs/controller-tools/issues/521 and https://groups.google.com/g/kubebuilder/c/N2A8FYNuWLA (both ended up unanswered 😞 ) In some cases we might re-use structs for CRDs and some other configuration and want to prevent certain...