Creating a Service Account

This section describes how to create a new Service Account and RBAC or use an existing Service Account for Spark Thrift Server.

When you install and configure the Spark Thrift Server using the helm chart, it does not create service account and RBAC.

To use an existing Service Account, set the following flags with helm install command.
--set serviceaccount.name=<name> --set serviceaccount.create=false

Alternativey, you can configure the service account options in values.yaml file of the Helm chart.

To create a new Service Account, set the following flags with helm install command.
--set serviceaccount.create=true
To create a new RBAC, set the following flags with helm install command.
--set rbac.create=true