From dc6ee969d3cf40ce74e63386b493ae106b1a1fbf Mon Sep 17 00:00:00 2001 From: Shu Heng Date: Fri, 20 Dec 2019 17:33:13 +0800 Subject: [PATCH] Allow user to override job options --- .../charts/feast/charts/feast-serving/templates/configmap.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/charts/feast/charts/feast-serving/templates/configmap.yaml b/infra/charts/feast/charts/feast-serving/templates/configmap.yaml index 7ea36fdfb8..0ec80252c1 100644 --- a/infra/charts/feast/charts/feast-serving/templates/configmap.yaml +++ b/infra/charts/feast/charts/feast-serving/templates/configmap.yaml @@ -19,7 +19,7 @@ data: {{- end }} {{- $store := index .Values "store.yaml" }} -{{- if eq $store.type "BIGQUERY" }} +{{- if and (eq $store.type "BIGQUERY") (not (hasKey $config.feast.jobs "store-options")) }} {{- $jobStore := dict "host" (printf "%s-redis-headless" .Release.Name) "port" 6379 }} {{- $newConfig := dict "feast" (dict "jobs" (dict "store-options" $jobStore)) }} {{- $config := mergeOverwrite $config $newConfig }}