controller-runtime
controller-runtime copied to clipboard
Repo for the controller-runtime subproject of kubebuilder (sig-apimachinery)
Hey I'm facing problems in initialization, I want to run some code before starting any controllers, but I find no way to do it now. A simple way to do...
My controller exit with panic like this: ``` panic: could not parse config file: could not decode file into runtime.Object ``` The cause is due to 'wrong' configuration be provided:...
this pr just update some code , make unstructured_client and typed_client have same code style. i think the code will be more readable for users.
In the current design, there is no way of accessing the context name through the `pkg/client/config`[^1] package of `controller-runtime.` So, for people who might want to access the raw config...
Hi! I found that the feature "API Server Tracing" is available as alpha since Kubernetes v1.22, and [this blog](https://kubernetes.io/blog/2021/09/03/api-server-tracing/#example-trace-create-pod-with-mutating-webhook) mentioned that a simple patch could also enable tracing on controller-runtime...
# Add support for serving pprof data It would be nice to extend manager with option to enable pprof when requested, I found similar issue in kubebuilder suggesting it should...
I need to add finalizers without granting access to the entire resource. It certainly is possible in Kubernetes: ```YAML apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: myrole rules: - apiGroups: -...
Currently, I do not see a way to use subresources from the client. I suggest that we add a variadic argument for subresources. example: https://github.com/kubernetes/client-go/blob/master/dynamic/interface.go#L32 Or we may need to...
Hi there :-), we are consuming `cluster-api-provider-openstack` which imports `kubernetes-sigs/controller-runtime`. Because [alias.go](https://github.com/kubernetes-sigs/controller-runtime/blob/master/alias.go#L23) is importing `sigs.k8s.io/controller-runtime/pkg/client/config` it always defines the ["kubeconfig" flag](https://github.com/kubernetes-sigs/controller-runtime/blob/master/pkg/client/config/config.go#L39) which then conflicts with other places where the same...
We stumbled upon this as we were working through issues in our code base. If you include an empty string "" along with other namespaces, `MultiNamespacedCacheBuilder` will duplicate those object...