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

Repo for the controller-runtime subproject of kubebuilder (sig-apimachinery)

Results 351 controller-runtime issues
Sort by recently updated
recently updated
newest added

Fixes https://github.com/kubernetes-sigs/kubebuilder/issues/3018 To make the log output consistent with K8s core components (kube-apiserver, kube-controller-manager, etc), and more human readable. Test results: Before this PR, the kubebuilder generated controller-manager log is:...

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

Closes #1857. This applies only to custom resources! The behaviour of the API server regarding generation is polymorphic meaning that any resource type may behave differently. Custom resources have a...

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

### What does this do, and why do we need it? As we know leader-elections runnables only have one working instance, when the leader instance changes, the new leader should...

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

Hey there, is there any mechanism to log which event caused a reconcile request, or generally some other tooling to figure this out? We have a controller that owns some...

Similar to the flags for Webhook [Port and Host](https://github.com/kubernetes-sigs/controller-runtime/blob/2f77235e25b1e42d9e4957199f3cd0f2c3fb0d72/pkg/manager/manager.go#L212-L217), we should also expose flags for setting the minimum TLS version as well as the cipher suites to be used when...

I noticed there is no common method so I see a lot of `if xxx.,metadata.deletionTimestamp...` logic, I thin it would be profitable to add utility method like `isBeingDeleted(object)` to determine...

Me and @pleic have a reconciler that relies on `metadata.UID` being set on the API objects it manages, and soon we'll also need `metadata.CreationTimestamp`. We are writing unit tests that...

There have been reported issues (`flag redefined`) because CR registers the `kubeconfig` flag to the default command line FlagSet via init function. See: * https://github.com/kubernetes-sigs/controller-runtime/issues/1396 * https://github.com/kubernetes-sigs/controller-runtime/issues/878 This PR provides...

cncf-cla: yes
size/S

Objects in the event object passed to filters like `Create(e event.CreateEvent) bool` have empty `TypeMeta`. The `TypeMeta` is properly populated when getting objects from the client.

Currently deleg log sink does not support call depth, this makes it difficult to use with helpers funcs. We could record call depth and apply it when fulfilling the promise.