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 adds a field to the cronjob test data, that ensures that fields which are marked twice (once through a type marker, one through a field marker) still generate the...

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

In Crossplane, we have a single webhook server for core Crossplane controllers and an arbitrary number of webhooks deployed by the provider controllers. All of those are usual controller-runtime controllers...

lifecycle/stale

It only show the first item of the array. Maybe we should support array type with custom separator, the default separator could be comma, e.g. "a,b,c".

lifecycle/stale

I'm using the tools from the `crd` package to generate an OpenAPI Schema and noticed the following behaviour: * The Type of a field `X` is set through the validation...

rabbitmq's cluster-operator(https://github.com/rabbitmq/cluster-operator) and a lot of other operators use controller-gen to automatically generate their CRDs. For the `Quantity` field, controller-gen automatically generates the following JSON schema: ```yaml additionalProperties: anyOf: -...

controller-gen can't parse enum values starting with digit ``` package SamplePackage // +kubebuilder:validation:Enum=one;two;three;4abc type SampleType string ``` ``` # controller-gen crd:crdVersions=v1,trivialVersions=true paths="./tmp/..." tmp/x.go:4:1: expected comma, got "abc" (at :1:16) tmp/x.go:4:1:...

lifecycle/rotten

For kubernetes projects, if we want to use the `sig.k8s.io` group for CRDs, we need to provide the annotation `api-approved.kubernetes.io`. Otherwise, apiserver rejects the CRD. As a result, we have...

kind/feature

I can't even run `./test.sh` on a freshly checked out repo: ~~~shell $ git clone [email protected]:kubernetes-sigs/controller-tools.git $ cd controller-tools/ $ ./test.sh using tools fetching tools kubebuilder/ ... kubebuilder/bin/etcd setting up...

lifecycle/rotten

Signed-off-by: Adam Snyder ### Overview Closes #441 I added a new marker `kubebuilder:skipDescriptions`. When added to a field it skips adding property descriptions for all nested properties under that field,...

cncf-cla: yes
needs-rebase
lifecycle/rotten
size/XL
lgtm
ok-to-test

Opening this issue per the [Release Process](https://github.com/kubernetes-sigs/controller-tools/blob/master/RELEASE.md) to cut a new release of `controller-tools`. The latest release was cut _Jan-5_, the change log since then is as follows: https://github.com/kubernetes-sigs/controller-tools/compare/v0.8.0...master ![image](https://user-images.githubusercontent.com/61433408/166487461-5d321c71-7d64-447e-a4c5-8b7313e384df.png)