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

automate create serviceaccout if there is no serviceAccount specified in sparkapp yaml #733

Closed
xrmzju opened this issue Dec 13, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@xrmzju
Copy link

xrmzju commented Dec 13, 2019

roles need by spark lancher is is fixed(https://github.com/GoogleCloudPlatform/spark-on-k8s-operator/blob/master/manifest/spark-rbac.yaml), we need create the sa manually now, which is not so convenient.

@xrmzju
Copy link
Author

xrmzju commented Dec 13, 2019

@liyinan926 ,what do you think about this idea?

@liyinan926
Copy link
Collaborator

This could be a feature for operator deployments that limits the operation of the operator to a single namespace. The feature could be enabled/disabled through a command-line flag. If enabled, the operator automatically creates the RBAC role and service account for that namespace, and automatically patches SparkApplication instances submitted to the namespace to use the service account. This helps save quite a lot of work from users.

@liyinan926
Copy link
Collaborator

@KoopaKing is this relevant?

@liyinan926 liyinan926 added the enhancement New feature or request label Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants