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

fix(api): Add configmaps as a resource to the spark driver role rules #399

Conversation

deadlycoconuts
Copy link
Contributor

Context

Similar to caraml-dev/merlin#623, currently, the Spark driver service account that is created for every batch ensembling job does not have permissions to create ConfigMaps that its Spark executor(s) require(s). This is a problem in clusters with RBAC enabled and this PR simply adds the missing rule on ConfigMap resources for the Spark driver service account.

Modifications

  • api/turing/cluster/spark.go - Addition of configmaps as an additional rule

@deadlycoconuts deadlycoconuts added the type: bug Something isn't working label Jan 3, 2025
@deadlycoconuts deadlycoconuts self-assigned this Jan 3, 2025
api/turing/cluster/spark.go Outdated Show resolved Hide resolved
@deadlycoconuts deadlycoconuts force-pushed the add_config_maps_to_spark_driver_role branch from a5a9f25 to 94592bc Compare January 3, 2025 09:28
@deadlycoconuts deadlycoconuts requested a review from mbruner January 3, 2025 09:29
@deadlycoconuts deadlycoconuts merged commit 2725429 into caraml-dev:main Jan 3, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants