Github user liyinan926 commented on a diff in the pull request: https://github.com/apache/spark/pull/21317#discussion_r190649839 --- Diff: docs/running-on-kubernetes.md --- @@ -140,6 +140,12 @@ namespace as that of the driver and executor pods. For example, to mount a secre --conf spark.kubernetes.executor.secrets.spark-secret=/etc/secrets ``` +To use a secret through an environment use the following options to the `spark-submit` command: --- End diff -- `environment` -> `environment variable`.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org