diff --git a/spark_on_k8s/utils/configuration.py b/spark_on_k8s/utils/configuration.py index a35fd57..e369f95 100644 --- a/spark_on_k8s/utils/configuration.py +++ b/spark_on_k8s/utils/configuration.py @@ -43,11 +43,7 @@ class Configuration: else None ) SPARK_ON_K8S_SECRET_ENV_VAR = json.loads(getenv("SPARK_ON_K8S_SECRET_ENV_VAR", "{}")) - SPARK_ON_K8S_DRIVER_ENV_VARS_FROM_SECRET = ( - getenv("SPARK_ON_K8S_DRIVER_ENV_VARS_FROM_SECRET").split(",") - if getenv("SPARK_ON_K8S_DRIVER_ENV_VARS_FROM_SECRET") - else [] - ) + SPARK_ON_K8S_DRIVER_ENV_VARS_FROM_SECRET = getenv("SPARK_ON_K8S_DRIVER_ENV_VARS_FROM_SECRET", "") # Kubernetes client configuration # K8S client configuration