Skip to content

Commit

Permalink
fix(cli): ENV_VARS_FROM_SECRET default value
Browse files Browse the repository at this point in the history
  • Loading branch information
hussein-awala committed Feb 26, 2024
1 parent 9267703 commit b344456
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions spark_on_k8s/utils/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b344456

Please sign in to comment.