Closed kravciak closed 1 month ago
Reading the error message we can see that controller does not have the permissions to update the webhooks resources. Which makes sense, because if we take a look in the kubebuilder directive, it has permissions to patch the resources only. That's explains why we are seeing this error. Because in a recent change to use the controller-runtime helper functions we start to use CreateOrUpdate
to update the resources. We should use CreateOrPatch
. I'll update the code to use the later helper function.
The fix is merged in main
. We will soon tag RC1 including this fix
reopening, @jvanz saw it again, but @kravciak might have fixed it in the meantime.
Closing in favor of https://github.com/kubewarden/kubewarden-controller/issues/745
Nightly job failed with Invalid argument "null" for "--revision" flag: strconv.ParseInt: parsing "null": invalid syntax https://github.com/kubewarden/kubewarden-controller/actions/runs/9025232028/job/24800634936
I tried to run it locally, I found out that if I use latest controller image I get this error:
I am not sure if those 2 errors are related or not.