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

Similar to #1440, this PR adds a new `pkg/webhook/authorization/` package for setting up the `ServeHTTP` func for the webook server to be able to handle `SubjectAccessReview.authorization.k8s.io/(v1,v1beta1)` requests. It allows third-party...

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

If some error happens in Validating Webhook for some CRD, it returns the error with 403 status code, which means Forbidden. I don't think that 403 status code doesn't fit...

lifecycle/rotten

https://github.com/kubernetes-sigs/controller-runtime/blob/c7a98aa706379c4e5c79ea675c7f333192677971/pkg/manager/internal.go#L541 Context cancellation errors should not be logged as *errors* in this case: presumably the context is cancelled *because* the stop sequence is engaged, so logging an error here is...

lifecycle/rotten

Is controller-runtime tools unsupported on darwin/arm64? ``` make test /Users/ct/git/memcached-operator/bin/controller-gen "crd:trivialVersions=true,preserveUnknownFields=false" rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases /Users/ct/git/memcached-operator/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..." go fmt ./... go vet ./... go: creating new go.mod: module tmp...

Opening a new issue to raise visibility of [my question here](https://github.com/kubernetes-sigs/controller-runtime/issues/246#issuecomment-965988777). We have a very similar use-case as that linked issue, and we'd like to know how one can actually...

Use Result.Message instead of Result.Reason for the user supplied portion. Reason is intended to be machine readable while Message is intended to be human readable. While each is documented as...

cncf-cla: yes
size/M
do-not-merge/hold
approved
lgtm
ok-to-test

The admission package supports returning warnings on webhook requests through `Response.WithWarnings`. It seems one cannot make use of the utility interfaces and constructors if one wants to respond warnings. So...

The current implementation of controller-runtime supports setting up a `OnStartLeading` callback in a not so direct way. (I am not complaining about this at all BTW). https://github.com/kubernetes-sigs/controller-runtime/blob/c7a98aa706379c4e5c79ea675c7f333192677971/pkg/manager/internal.go#L615-L621 This needs you...

lifecycle/rotten

CreateOrPatch supports the status sub-resource whereas CreateOrUpdate does not. I'd expect both to support status unless there's a reason to not?

lifecycle/rotten

We have developed a CRD and an operator, and are working on creating a new major version of that CRD. After following the instructions in the [kubebuilder book for setting...