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

It would be great if controller-tools begins adding examples directly into the code documentation for the markers, so that the Kuebuilder documentation can be programmatically generated with examples included and...

help wanted

This adds a generator to generate a customresource configuration file for kube-state-metrics from markers. With that configuration it is possible to get metrics for CRs like kube-state-metrics exposes for core...

cncf-cla: yes
size/XXL

/kind feature As mentioned in the title and our discussion here https://github.com/kubernetes-sigs/kubebuilder/discussions/4134, can we support a JsonPath-like way of multiple combinations? This would allow for more flexible and rich display...

kind/feature

The [version computing code assumes the usage](https://github.com/kubernetes-sigs/controller-tools/blob/main/pkg/version/version.go#L39) of the `controller-gen` will always be as a module: ``` $ go get github.com/controller-tools/cmd/[email protected] ``` Moreover, downloading the [official released binaries from this...

Ripe for confusion. Also unclear which version I should be downloading to match with controller-runtime... ![image](https://github.com/user-attachments/assets/c0ed1a2d-f0c6-4e3a-a7f9-0f2608ec7b88) ![image](https://github.com/user-attachments/assets/73c0e2c0-e2b3-4466-b4bd-70828077669e)

Hello, is there a way to have the controller-gen to generated crd with the additionalProperties **nullable** set to true? Thanks

Whenever a type is encountered that implements `encoding.TextMarshaler` but not `encoding/json.Marshaler`, assume that it will be encoded as a string. This is a breaking change, as types that implement `TextMarshaler`...

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

Both of the items here are noted in a TODO in the code: - Implement word boundary handling - Add ellipsis after truncated text that doesn't end in a sentence...

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

I'm not sure if this is a bug or a feature, but I couldn't find documentation for it so thought I'd raise an issue. When using controller-gen, and using the...

lifecycle/frozen

When generating `DeepCopy`, `DeepCopyInto` and `DeepCopyObject`, a panic occurs with the following error: ``` panic: interface conversion: types.Type is *types.Basic, not *types.Named goroutine 1 [running]: sigs.k8s.io/controller-tools/pkg/deepcopy.shouldBeCopied(0x140002584c0, 0x14002327080) /Users/me/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/deepcopy/traverse.go:622 ``` This...

lifecycle/frozen