From 6c1f5e62ce2ba0ca4a6f8c2bbb0e863bbf71951d Mon Sep 17 00:00:00 2001
From: "stu126940@mail.uni-kiel.de" <stu126940@mail.uni-kiel.de>
Date: Fri, 18 Jun 2021 13:47:05 +0200
Subject: [PATCH] fix: update crd (rename config to properties)

---
 execution/helm/templates/theodolite/crd-benchmark.yaml | 10 ++++------
 execution/helm/templates/theodolite/crd-execution.yaml |  5 ++---
 2 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/execution/helm/templates/theodolite/crd-benchmark.yaml b/execution/helm/templates/theodolite/crd-benchmark.yaml
index 319eee18c..798950bc0 100644
--- a/execution/helm/templates/theodolite/crd-benchmark.yaml
+++ b/execution/helm/templates/theodolite/crd-benchmark.yaml
@@ -55,12 +55,11 @@ spec:
                           resource:
                             type: string
                             default: ""
-                          config:
+                          properties:
                             type: object
                             additionalProperties: true
                             x-kubernetes-map-type: "granular"
-                            default: 
-                              "": ""
+                            default: {}
               loadTypes:
                 type: array
                 minItems: 1
@@ -81,12 +80,11 @@ spec:
                           resource:
                             type: string
                             default: ""
-                          config:
+                          properties:
                             type: object
                             additionalProperties: true
                             x-kubernetes-map-type: "granular"
-                            default: 
-                              "": ""
+                            default: {}
               kafkaConfig:
                 type: object
                 properties:
diff --git a/execution/helm/templates/theodolite/crd-execution.yaml b/execution/helm/templates/theodolite/crd-execution.yaml
index 41ba1b0b5..a1052262f 100644
--- a/execution/helm/templates/theodolite/crd-execution.yaml
+++ b/execution/helm/templates/theodolite/crd-execution.yaml
@@ -95,12 +95,11 @@ spec:
                         resource:
                           type: string
                           default: ""
-                        config:
+                        properties:
                             type: object
                             additionalProperties: true
                             x-kubernetes-map-type: "granular"
-                            default: 
-                              "": ""
+                            default: {}
                     value:
                       type: string
           status:
-- 
GitLab