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