Skip to content

Conversation

@Rockawear
Copy link
Contributor

@Rockawear Rockawear commented Jul 22, 2025

  • Grant create events permissions to Controller in it's own namespace

Purpose of this PR

Proposed changes:

  • Grant the controller permission to create, update, patch events in it's own namespace

Change Category

  • Bugfix (non-breaking change which fixes an issue)
  • Feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that could affect existing functionality)
  • Documentation update

Rationale

Checklist

  • I have conducted a self-review of my own code.
  • I have updated documentation accordingly.
  • I have added tests that prove my changes are effective or that my feature works.
  • Existing unit tests pass locally with my changes.

Additional Notes

@google-oss-prow google-oss-prow bot requested review from ImpSy and nabuskey July 22, 2025 15:52
@Rockawear Rockawear changed the title Grant get/patch permissions for SparkConnect CRD to hook ClusterRole (#2605) Grant create events permissions to Controller (#2605) Jul 22, 2025
…ubeflow#2605)

* Grant get/patch permissions for SparkConnect CRD to hook ClusterRole

Signed-off-by: Yi Chen <[email protected]>

* Update Helm unit tests

Signed-off-by: Yi Chen <[email protected]>

---------

Signed-off-by: Yi Chen <[email protected]>

<!--  Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, check our contributor guidelines: https://www.kubeflow.org/docs/about/contributing
2. To know more about how to develop with the Spark operator, check the developer guide: https://www.kubeflow.org/docs/components/spark-operator/developer-guide/
3. If you want *faster* PR reviews, check how: https://git.k8s.io/community/contributors/guide/pull-requests.md#best-practices-for-faster-reviews
4. Please open an issue to discuss significant work before you start. We appreciate your contributions and don't want your efforts to go to waste!
-->

## Purpose of this PR

<!-- Provide a clear and concise description of the changes. Explain the motivation behind these changes and link to relevant issues or discussions. -->

**Proposed changes:**

- <Change 1>
- <Change 2>
- <Change 3>

## Change Category

<!-- Indicate the type of change by marking the applicable boxes. -->

- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] Feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that could affect existing functionality)
- [ ] Documentation update

### Rationale

<!-- Provide reasoning for the changes if not already covered in the description above. -->

## Checklist

<!-- Before submitting your PR, please review the following: -->

- [ ] I have conducted a self-review of my own code.
- [ ] I have updated documentation accordingly.
- [ ] I have added tests that prove my changes are effective or that my feature works.
- [ ] Existing unit tests pass locally with my changes.

### Additional Notes

<!-- Include any additional notes or context that could be helpful for the reviewers here. -->

Signed-off-by: Rockawear <[email protected]>
@Rockawear Rockawear force-pushed the grant-controller-events branch from 8fe4883 to 0b99c03 Compare July 22, 2025 16:09
@Rockawear Rockawear marked this pull request as ready for review July 22, 2025 16:11
@ChenYi015
Copy link
Member

@Rockawear Thanks for reporting and fixing the RBAC issue.

@ChenYi015
Copy link
Member

/approve

@google-oss-prow
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ChenYi015

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ChenYi015 ChenYi015 changed the title Grant create events permissions to Controller (#2605) Grant create events permissions to Controller Jul 23, 2025
@ChenYi015 ChenYi015 linked an issue Jul 23, 2025 that may be closed by this pull request
1 task
@google-oss-prow google-oss-prow bot merged commit 5fe34a9 into kubeflow:master Jul 23, 2025
15 checks passed
@ChenYi015 ChenYi015 mentioned this pull request Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Helm charts: controller event creation permissions

2 participants