diff --git a/docs/crd-docu.md b/docs/crd-docu.md index 60ad46b27f0c0fd305e82199182fb490e87f4d7e..f766231032d081eafef2a580d7385ab6210affe4 100644 --- a/docs/crd-docu.md +++ b/docs/crd-docu.md @@ -935,7 +935,7 @@ Specifies the scaling resource that is benchmarked. <td><b>resourceValues</b></td> <td>[]integer</td> <td> - List of resource values for the specified resource type.<br/> + <br/> </td> <td>true</td> </tr></tbody> diff --git a/theodolite/crd/crd-benchmark.yaml b/theodolite/crd/crd-benchmark.yaml index dba973f1dcb3b46dd0b8c62b5ddbc8c7a07355a6..d94126a211eb080956739c68b8012f69ad0f6dbb 100644 --- a/theodolite/crd/crd-benchmark.yaml +++ b/theodolite/crd/crd-benchmark.yaml @@ -127,6 +127,9 @@ spec: type: array items: type: object + oneOf: + - required: [configMap] + - required: [fileSystem] properties: configMap: type: object @@ -150,6 +153,9 @@ spec: type: array items: type: object + oneOf: + - required: [configMap] + - required: [fileSystem] properties: configMap: type: object diff --git a/theodolite/examples/operator/example-benchmark.yaml b/theodolite/examples/operator/example-benchmark.yaml index afc077b4d82c233e89932d0a6820e5aa5fc20c79..2fd7fe26a7016d2f5df89c15fc37d487195f116d 100644 --- a/theodolite/examples/operator/example-benchmark.yaml +++ b/theodolite/examples/operator/example-benchmark.yaml @@ -37,7 +37,7 @@ spec: # - "jmx-configmap.yaml" # - "uc1-service-monitor.yaml" - configMap: - name: "test-configmap" + name: "example-configmap" files: - "uc1-kstreams-deployment.yaml" - "aggregation-service.yaml" @@ -50,7 +50,7 @@ spec: # - uc1-load-generator-service.yaml # - uc1-load-generator-deployment.yaml - configMap: - name: "test-configmap" + name: "example-configmap" files: - uc1-load-generator-service.yaml - uc1-load-generator-deployment.yaml \ No newline at end of file