-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RBAC missing permissions for channels and inmemorychannels in messaging.knative.dev #3390
Comments
- Kamelet bindings connecting with Knative channels/inmemorychannels as source/sink do require this permission
Fixed in #3382 |
Possible duplicate of #3328. |
I think the addressable changes do apply for Knative channels as a sink. I was using the channel as a source in the KameletBinding. Does that make a difference? |
I think #2958 should apply whether a Knative Addressable to be resolved is used as a sink or source. |
@astefanutti I can see Need to find out what that exact problem is here |
I have found the root cause with the Knative
Only global operators hit that problem because the empty operator watch namespace was used in the service account subject while creating the cluster role binding (https://github.com/apache/camel-k/blob/main/pkg/install/knative.go#L73). |
…ng in global operator mode Use proper operator namespace in the service account role binding subject for global operators. Was using empty global operator watch namespace before which caused errors in the cluster role binding.
…ng in global operator mode Use proper operator namespace in the service account role binding subject for global operators. Was using empty global operator watch namespace before which caused errors in the cluster role binding.
…ng in global operator mode Use proper operator namespace in the service account role binding subject for global operators. Was using empty global operator watch namespace before which caused errors in the cluster role binding.
…global operator mode Use proper operator namespace in the service account role binding subject for global operators. Was using empty global operator watch namespace before which caused errors in the cluster role binding.
…ng in global operator mode Use proper operator namespace in the service account role binding subject for global operators. Was using empty global operator watch namespace before which caused errors in the cluster role binding. (cherry picked from commit 2ffdcfa)
…global operator mode Use proper operator namespace in the service account role binding subject for global operators. Was using empty global operator watch namespace before which caused errors in the cluster role binding. (cherry picked from commit 2ffdcfa)
…ng in global operator mode Use proper operator namespace in the service account role binding subject for global operators. Was using empty global operator watch namespace before which caused errors in the cluster role binding. (cherry picked from commit 2ffdcfa)
…ng in global operator mode Use proper operator namespace in the service account role binding subject for global operators. Was using empty global operator watch namespace before which caused errors in the cluster role binding. (cherry picked from commit 2ffdcfa)
The Camel K operator has lost the permission to get/list and manage channels/inmemorychannels in messaging.knative.dev group. This causes the knative trait to raise permission errors when binding a Kamelet to channels/inmemorychannels for instance.
To reproduce add a KameletBinding that makes use of a Knative channel.
This will result in errors in Camel K operator logs and the KameletBinding is stuck in "Creating" phase.
The text was updated successfully, but these errors were encountered: