Skip to content

Commit fd5f975

Browse files
vvysotskyiAlexNavara
authored andcommitted
K8S-1488 (apache#680) (apache#704)
- update secret and cm names to follow new convention Co-authored-by: Alexandr Navara <[email protected]>
1 parent 8fc7638 commit fd5f975

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ private[spark] object Config extends Logging {
668668
ConfigBuilder("spark.mapr.cluster.configMap")
669669
.doc("Name of the mapr cluster config map")
670670
.stringConf
671-
.createWithDefault("mapr-cluster-cm")
671+
.createWithDefault("cluster-cm")
672672

673673
val MAPR_USER_SECRET =
674674
ConfigBuilder("spark.mapr.user.secret")

resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Constants.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,6 @@ private[spark] object Constants {
128128
val ENV_MAPR_METRICSFILE_LOCATION = "MAPR_METRICSFILE_LOCATION"
129129
val MAPR_METRICS_TICKET_SUBPATH = "maprmetricsticket"
130130
val MAPR_METRICS_TICKET_MOUNT_PATH = "/tmp/maprticket/METRICS_TICKET"
131-
val MAPR_SERVER_SECRET = "mapr-server-secrets"
131+
val MAPR_SERVER_SECRET = "server"
132132

133133
}

0 commit comments

Comments
 (0)