Repository navigation
fix(spark): align e2e operator chart with controller - #934
Shardul369-coder wants to merge 1 commit into
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
🎉 Welcome to the Kubeflow SDK! 🎉 Thanks for opening your first PR! We're happy to have you as part of our community 🚀 Here's what happens next:
Join the community:
Feel free to ask questions in the comments if you need any help or clarification! |
Signed-off-by: Shardul369-coder <shardul369zkt56@gmail.com>
7322c84 to
737ce9b
Compare
thisis-Shitanshu
left a comment
There was a problem hiding this comment.
Thanks @Shardul369-coder. I validated this locally on a fresh Kind 1.32.0 cluster using the controller and Helm chart from the same current spark-operator master commit.
The fix works as intended: the required networkpolicies create/patch permissions are present without any manual RBAC changes, and I ran the full Spark Examples E2E notebook set successfully.
I have two small changes I'd suggest before LGTM:
- When
SPARK_OPERATOR_CHART_PATHis set, skiphelm repo add/updatesince the local chart is used directly. - In local-chart mode, avoid reporting
Spark Operator version: 2.1.0, since that value only applies to the published-chart fallback. Reporting the local chart path instead would be more accurate.
With those adjustments, the implementation looks good to me.
|
/ok-to-test |
|
Thanks @thisis-Shitanshu for the validation and feedback! Both suggestions make sense. I'll implement these changes and push an update shortly. |
|
Thanks @Shardul369-coder for picking this up and for the quick turnaround on the fix. Since #930 already covers this issue as part of a broader cleanup of the Spark E2E harness, I think we should stop the remaining updates here and consolidate the implementation and review there as Tariq suggested. I also validated 930 together with #910 locally, including the complete Spark example notebook suite, and the combined setup passes. @tariq-hasan, could you close this PR in favor of 930 so we keep a single implementation path? |
|
Thanks @thisis-Shitanshu for the clarification! I’ll pause further updates to this PR and consolidate any further implementation and review under #930, as suggested. I appreciate the validation and guidance. |
|
Thanks again for the contribution @Shardul369-coder! |
|
@tariq-hasan: Closed this PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Summary
Fixes the Spark Examples E2E failure caused by a mismatch between the Spark Operator controller and its Helm chart RBAC permissions.
Changes
SPARK_OPERATOR_CHART_PATHsupport tohack/e2e-setup-cluster.sh.Validation
createandpatchpermissions for NetworkPolicies.Closes #933