From 6fa9b3192af4a127984ab39e41c8f90ab842ccca Mon Sep 17 00:00:00 2001 From: nivethika Date: Mon, 12 Oct 2020 12:20:51 +0200 Subject: [PATCH] make path-factory configurable --- charts/radar-output/templates/configmap-restructure.yaml | 4 ++-- charts/radar-output/values.yaml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/charts/radar-output/templates/configmap-restructure.yaml b/charts/radar-output/templates/configmap-restructure.yaml index 89c312c7..aa81ece8 100644 --- a/charts/radar-output/templates/configmap-restructure.yaml +++ b/charts/radar-output/templates/configmap-restructure.yaml @@ -114,9 +114,9 @@ data: # Output directory output: "{{ .Values.paths.output }}" # Output path construction factory - # factory: org.radarbase.output.path.MonthlyObservationKeyPathFactory + factory: {{ .Values.paths.factory }} # Additional properties - # properties: {} + properties: {{ .Values.paths.properties | toYaml | indent 8 | trim }} # Individual topic configuration topics: {} diff --git a/charts/radar-output/values.yaml b/charts/radar-output/values.yaml index 0709020c..c7356ffa 100644 --- a/charts/radar-output/values.yaml +++ b/charts/radar-output/values.yaml @@ -106,3 +106,5 @@ worker: paths: input: topics output: output + factory: org.radarbase.output.path.MonthlyObservationKeyPathFactory + properties: {} \ No newline at end of file