Skip to content

Commit

Permalink
allow jvm to be passed in as a parameter (#2471)
Browse files Browse the repository at this point in the history
Signed-off-by: Mark McCormick <[email protected]>
  • Loading branch information
mamccorm authored Apr 10, 2024
1 parent 245700f commit 3a81d81
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions images/spark-operator/config/main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
variable "extra_packages" {
description = "Additional packages to install."
type = list(string)
default = ["spark-3.5", "spark-operator"]
default = ["openjdk-17-default-jvm", "spark-3.5", "spark-operator"]
}

module "accts" {
Expand All @@ -14,8 +14,7 @@ output "config" {
packages = concat([
"busybox",
"spark-compat",
"spark-operator-oci-entrypoint",
"openjdk-17-default-jvm"
"spark-operator-oci-entrypoint"
],
var.extra_packages)
}
Expand Down

0 comments on commit 3a81d81

Please sign in to comment.