Skip to content
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

rename broker-rbac.yaml to function-worker-rbac.yaml #452

Closed

Conversation

Mortom123
Copy link
Contributor

Fixes #426

Motivation

Motivated by naming files accordingly to what they do.

Modifications

Rename files.

Verifying this change

  • Make sure that the change passes the CI checks. (Didn't check but probably will)

@@ -17,6 +17,7 @@
# under the License.
#

{{- if .Values.rbac.enabled }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding this condition will break Pulsar Functions support. It is mandatory when .Values.components.functions is enabled. That's why adding this condition is problematic. Perhaps we instead need to clarify the documentation of rbac.enabled and explain that RBAC will be always configured for Pulsar Functions regardless of rbac.enabled.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. I will remove it from this PR.

@@ -930,7 +930,7 @@ functions:
component: functions-worker
useBookieAsStateStore: false
## Pulsar: Functions Worker ClusterRole or Role
## templates/broker-rbac.yaml
## templates/function-worker-rbac.yaml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the current Pulsar Helm Chart, there isn't a separate function-worker pod. The function-worker role is handled by the broker. Perhaps we should rename the file to be broker-function-worker-rbac.yaml to indicate this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i guess that would be the best solution. will do so.

@Mortom123
Copy link
Contributor Author

@Mortom123 Mortom123 closed this Feb 8, 2024
@Mortom123 Mortom123 deleted the feature/broker_function_worker_rename branch February 13, 2024 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Function Worker / Broker RBAC alignment
2 participants