From dd90309430ac8d1b7356e2e36f9412519b696058 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de> Date: Thu, 16 Jun 2022 14:24:03 +0200 Subject: [PATCH] Move symlink to benchmark definitions --- helm/benchmark-definitions | 1 - helm/benchmark-definitions/examples | 1 + helm/benchmark-definitions/theodolite-benchmarks | 1 + .../theodolite/benchmarks/benchmark-resources-config-map.yaml | 2 +- helm/templates/theodolite/benchmarks/benchmark.yaml | 2 +- 5 files changed, 4 insertions(+), 3 deletions(-) delete mode 120000 helm/benchmark-definitions create mode 120000 helm/benchmark-definitions/examples create mode 120000 helm/benchmark-definitions/theodolite-benchmarks diff --git a/helm/benchmark-definitions b/helm/benchmark-definitions deleted file mode 120000 index e25d86a1f..000000000 --- a/helm/benchmark-definitions +++ /dev/null @@ -1 +0,0 @@ -../theodolite-benchmarks/definitions/ \ No newline at end of file diff --git a/helm/benchmark-definitions/examples b/helm/benchmark-definitions/examples new file mode 120000 index 000000000..af08c07e4 --- /dev/null +++ b/helm/benchmark-definitions/examples @@ -0,0 +1 @@ +../../theodolite/examples/operator/ \ No newline at end of file diff --git a/helm/benchmark-definitions/theodolite-benchmarks b/helm/benchmark-definitions/theodolite-benchmarks new file mode 120000 index 000000000..543d7d30c --- /dev/null +++ b/helm/benchmark-definitions/theodolite-benchmarks @@ -0,0 +1 @@ +../../theodolite-benchmarks/definitions/ \ No newline at end of file diff --git a/helm/templates/theodolite/benchmarks/benchmark-resources-config-map.yaml b/helm/templates/theodolite/benchmarks/benchmark-resources-config-map.yaml index 2dd355141..b525ba1ec 100644 --- a/helm/templates/theodolite/benchmarks/benchmark-resources-config-map.yaml +++ b/helm/templates/theodolite/benchmarks/benchmark-resources-config-map.yaml @@ -6,7 +6,7 @@ kind: ConfigMap metadata: name: benchmark-resources-{{ $name }} data: -{{ ($.Files.Glob (printf "benchmark-definitions/%s/resources/*" $name)).AsConfig | indent 2 }} +{{ ($.Files.Glob (printf "benchmark-definitions/theodolite-benchmarks/%s/resources/*" $name)).AsConfig | indent 2 }} --- {{- end }} {{- end }} diff --git a/helm/templates/theodolite/benchmarks/benchmark.yaml b/helm/templates/theodolite/benchmarks/benchmark.yaml index 1c4cb02ea..f4d8641af 100644 --- a/helm/templates/theodolite/benchmarks/benchmark.yaml +++ b/helm/templates/theodolite/benchmarks/benchmark.yaml @@ -1,7 +1,7 @@ {{- range $benchmark, $enabled := .Values.operator.theodoliteBenchmarks.benchmarks }} {{- if $enabled -}} {{- $name := kebabcase $benchmark }} -{{ $.Files.Get (printf "benchmark-definitions/%s/%s-benchmark-operator.yaml" $name $name) }} +{{ $.Files.Get (printf "benchmark-definitions/theodolite-benchmarks/%s/%s-benchmark-operator.yaml" $name $name) }} --- {{- end }} {{- end }} -- GitLab