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: propagate service account + test #88

Conversation

rivamarco
Copy link
Contributor

Using this library I've noticed that service_account argument in submit_app was not propagated in SparkAppManager.create_spark_pod_spec and so the spark driver was correctly created with "spark.kubernetes.authenticate.driver.serviceAccountName": service_account but then the pod was using the default spark service account, leading to an error.

Also, improved a bit two tests to certify that the service account was correctly set.

This PR should be fine to fix the issue, but if something is missing please tell me and I will try to complete it.

Thank you

Copy link
Owner

@hussein-awala hussein-awala left a comment

Choose a reason for hiding this comment

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

Indeed, thank you for taking the time to fix this.

@hussein-awala hussein-awala merged commit 1e0d779 into hussein-awala:main Jul 24, 2024
12 checks passed
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.

2 participants