apache-spark-on-k8s / spark

Apache Spark enhanced with native Kubernetes scheduler back-end: NOTE this repository is being ARCHIVED as all new development for the kubernetes scheduler back-end is now on https://github.com/apache/spark/
https://spark.apache.org/
Apache License 2.0
612 stars 118 forks source link

Avoids adding duplicated secret volumes when init-container is used #597

Closed liyinan926 closed 6 years ago

liyinan926 commented 6 years ago

What changes were proposed in this pull request?

Cherry-picked from https://github.com/apache/spark/pull/20148. Fixes #594. Replaces #595.

How was this patch tested?

Unit tested.

@hex108 @foxish

hex108 commented 6 years ago

Thanks! Commit https://github.com/apache/spark/commit/93e1d648d56079dcc8bd28bafa7dad4cd9d2dfeb seems missed. Other changes LTGM.

liyinan926 commented 6 years ago

Good catch! Fixed and will merge once build is green.