From 3a81d81457b74faf11957f82f60d0a0cebac9e34 Mon Sep 17 00:00:00 2001 From: mamccorm Date: Wed, 10 Apr 2024 16:31:29 +0100 Subject: [PATCH] allow jvm to be passed in as a parameter (#2471) Signed-off-by: Mark McCormick --- images/spark-operator/config/main.tf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/images/spark-operator/config/main.tf b/images/spark-operator/config/main.tf index 8500951bcb..6cf1ab1890 100644 --- a/images/spark-operator/config/main.tf +++ b/images/spark-operator/config/main.tf @@ -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" { @@ -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) }