Github user liyinan926 commented on a diff in the pull request: https://github.com/apache/spark/pull/21317#discussion_r190649979 --- Diff: docs/running-on-kubernetes.md --- @@ -602,4 +608,20 @@ specific to Spark on Kubernetes. <code>spark.kubernetes.executor.secrets.spark-secret=/etc/secrets</code>. </td> </tr> +<tr> + <td><code>spark.kubernetes.driver.secretKeyRef.[EnvName]</code></td> + <td>(none)</td> + <td> + Add as an env variable to the driver container with name EnvName (case sensitive), the value referenced by key <code> key </code> in the data of the referenced <a href="https://kubernetes.io/docs/concepts/configuration/secret/">Kubernetes Secret</a>. For example, + <code>spark.kubernetes.driver.secretKeyRef.ENV_VAR=spark-secret:key</code>. + </td> +</tr> +<tr> + <td><code>spark.kubernetes.executor.secretKeyRef.[EnvName]</code></td> + <td>(none)</td> + <td> + Add as an env variable to the executor container with name EnvName (case sensitive), the value referenced by key <code> key </code> in the data of the referenced <a href="https://kubernetes.io/docs/concepts/configuration/secret/">Kubernetes Secret</a>. For example, --- End diff -- Ditto.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org