Yinan Li created SPARK-22953:
--------------------------------

             Summary: Duplicated secret volumes in Spark pods when 
init-containers are used
                 Key: SPARK-22953
                 URL: https://issues.apache.org/jira/browse/SPARK-22953
             Project: Spark
          Issue Type: Bug
          Components: Kubernetes
    Affects Versions: 2.3.0
            Reporter: Yinan Li
             Fix For: 2.3.0


User-specified secrets are mounted into both the main container and 
init-container (when it is used) in a Spark driver/executor pod, using the 
{{MountSecretsBootstrap}}. Because {{MountSecretsBootstrap}} always adds the 
secret volumes to the pod, the same secret volumes get added twice, one when 
mounting the secrets to the main container, and the other when mounting the 
secrets to the init-container. See 
https://github.com/apache-spark-on-k8s/spark/issues/594.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to