From c993e3b02a97671492967651303b41086f875d5a Mon Sep 17 00:00:00 2001
From: Marcel Becker <stu117960@mail.uni-kiel.de>
Date: Thu, 17 Feb 2022 15:15:36 +0100
Subject: [PATCH] Updated cdr reference page due to typo

---
 docs/api-reference/crds.md                          | 6 +++---
 theodolite/crd/crd-execution.yaml                   | 2 +-
 theodolite/examples/operator/example-execution.yaml | 8 +++++---
 3 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/docs/api-reference/crds.md b/docs/api-reference/crds.md
index fb3f02ac9..238c98731 100644
--- a/docs/api-reference/crds.md
+++ b/docs/api-reference/crds.md
@@ -1906,16 +1906,16 @@ Defines the overall parameter for the execution.
         <td><b>repetitions</b></td>
         <td>integer</td>
         <td>
-          Numper of repititions for each experiments.<br/>
+          Number of repititions for each experiment.<br/>
         </td>
         <td>true</td>
       </tr><tr>
         <td><b>restrictions</b></td>
         <td>[]string</td>
         <td>
-          List of restriction strategys used to delimit the search space.<br/>
+          List of restriction strategies used to delimit the search space.<br/>
         </td>
-        <td>true</td>
+        <td>false</td>
       </tr><tr>
         <td><b>strategy</b></td>
         <td>string</td>
diff --git a/theodolite/crd/crd-execution.yaml b/theodolite/crd/crd-execution.yaml
index fc5a78134..f83771d00 100644
--- a/theodolite/crd/crd-execution.yaml
+++ b/theodolite/crd/crd-execution.yaml
@@ -110,7 +110,7 @@ spec:
                     description: Defines the duration of each experiment in seconds.
                     type: integer
                   repetitions:
-                    description: Number of repititions for each experiments.
+                    description: Number of repititions for each experiment.
                     type: integer
                   loadGenerationDelay:
                     description: Seconds to wait between the start of the SUT and the load generator.
diff --git a/theodolite/examples/operator/example-execution.yaml b/theodolite/examples/operator/example-execution.yaml
index 576a74b90..cb811a35c 100644
--- a/theodolite/examples/operator/example-execution.yaml
+++ b/theodolite/examples/operator/example-execution.yaml
@@ -19,12 +19,14 @@ spec:
         externalSloUrl: "http://localhost:80/evaluate-slope"
         warmup: 60 # in seconds
   execution:
-    strategy: "LinearSearch"
+    strategy:
+      name: "RestrictionSearch"
+      restrictions:
+        - "LowerBound"
+      searchStrategy: "LinearSearch"
     duration: 300 # in seconds
     repetitions: 1
     loadGenerationDelay: 30 # in seconds
-    restrictions:
-      - "LowerBound"
   configOverrides: []
   # - patcher:
   #     type: "NodeSelectorPatcher"
-- 
GitLab