Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Address review comments
  • Loading branch information
Andrew Korzhuev committed Mar 23, 2018
commit 4b8b39a1515bdf5c70e3f4952ed1f5d127bc9548
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ private[spark] object Config extends Logging {

val IMAGE_PULL_SECRET =
ConfigBuilder("spark.kubernetes.imagePullSecret")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given there's an option spark.kubernetes.container.image.pullPolicy, we should make this consistent as spark.kubernetes.container.image.pullSecret

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

.doc("Specifies the Kubernetes image secret used to access private image registry.")
.doc("Specifies the Kubernetes secret used to access private image registry.")
.stringConf
.createOptional

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
package org.apache.spark.deploy.k8s.submit.steps

import scala.collection.JavaConverters._

import io.fabric8.kubernetes.api.model._
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be an empty line between third-party imports and org.apache.spark.* imports.


import org.apache.spark.{SparkConf, SparkException}
import org.apache.spark.deploy.k8s.Config._
import org.apache.spark.deploy.k8s.Constants._
Expand Down