diff --git a/helm/benchmark-definitions b/helm/benchmark-definitions deleted file mode 120000 index e25d86a1f35f9815225c23d78b8524f9df81f9b5..0000000000000000000000000000000000000000 --- 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 0000000000000000000000000000000000000000..af08c07e453910f801445770e30d44377da34dec --- /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 0000000000000000000000000000000000000000..543d7d30cc5a252829abc477075d693832c95e88 --- /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 2dd355141350921d772edb73a1e8e7795600b0d1..b525ba1ec756232f8f2f6b33321fd808dc68679c 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 1c4cb02ea69dbed711b781535127e00e2a24f1d7..f4d8641afab7b2d52fd57eb561e896dae4278ed6 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 }}