diff --git a/theodolite/src/main/kotlin/theodolite/execution/operator/TheodoliteController.kt b/theodolite/src/main/kotlin/theodolite/execution/operator/TheodoliteController.kt index d1c0df7887526494a8c27521bcb81770d85d0c1f..e7b5ed4293e52d767ae1247e200b8ba98208ca8e 100644 --- a/theodolite/src/main/kotlin/theodolite/execution/operator/TheodoliteController.kt +++ b/theodolite/src/main/kotlin/theodolite/execution/operator/TheodoliteController.kt @@ -67,8 +67,8 @@ class TheodoliteController( private fun runExecution(execution: BenchmarkExecution, benchmark: KubernetesBenchmark) { val modifier = ConfigOverrideModifier( execution = execution, - resources = benchmark.appResourceSets.flatMap { it -> it.loadResourceSet().map { it.first } } - + benchmark.loadGenResourceSets.flatMap { it -> it.loadResourceSet().map { it.first } } + resources = benchmark.loadKubernetesResources(benchmark.appResourceSets).map { it.first } + + benchmark.loadKubernetesResources(benchmark.loadGenResourceSets).map { it.first } ) modifier.setAdditionalLabels( labelValue = execution.name,