From f795f4b5c75c50309d7829ac522393bdf4df81a8 Mon Sep 17 00:00:00 2001 From: jiangpengcheng Date: Wed, 6 Nov 2024 09:37:22 +0800 Subject: [PATCH] Update classpath to make it compatible with old runner image --- controllers/spec/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/spec/common.go b/controllers/spec/common.go index 8e711ac7..f124a9ec 100644 --- a/controllers/spec/common.go +++ b/controllers/spec/common.go @@ -1188,7 +1188,7 @@ func getProcessJavaRuntimeArgs(name, packageName, clusterName, logLevel, details state *v1alpha1.Stateful, tlsConfig TLSConfig, authConfig *v1alpha1.AuthConfig, maxPendingAsyncRequests *int32, logConfigFileName string) []string { - classPath := "/pulsar/instances/java-instance.jar:/pulsar/instances/deps/*" + classPath := "/pulsar/instances/java-instance.jar:$(echo /pulsar/lib/com.fasterxml.jackson.dataformat-jackson-dataformat-yaml-*.jar):$(echo /pulsar/lib/org.yaml-snakeyaml-*.jar)" javaLogConfigPath := logConfigFileName if javaLogConfigPath == "" { javaLogConfigPath = DefaultJavaLogConfigPath