From 3dca5c92c87ac7ff435c74e2aef954295ebbff6b Mon Sep 17 00:00:00 2001 From: Varun Nuthalapati Date: Sat, 18 Apr 2026 10:59:06 -0700 Subject: [PATCH] fix(helm): set catalog-cache to noop when datacatalog is disabled When datacatalog.enabled=false in flyte-core, the catalog-cache config still defaulted to type: datacatalog, causing DNS failures on every task execution since the datacatalog service does not exist. Conditionally render catalog.yaml with type: noop when datacatalog is disabled, preventing connection attempts to a non-existent datacatalog endpoint. Closes #7155 Signed-off-by: Varun Nuthalapati --- charts/flyte-core/templates/propeller/configmap.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/charts/flyte-core/templates/propeller/configmap.yaml b/charts/flyte-core/templates/propeller/configmap.yaml index 80019b13616..957a68e36f7 100644 --- a/charts/flyte-core/templates/propeller/configmap.yaml +++ b/charts/flyte-core/templates/propeller/configmap.yaml @@ -9,9 +9,15 @@ data: {{- with .Values.configmap.admin }} admin.yaml: | {{ tpl (toYaml .) $ | nindent 4 }} {{- end }} +{{- if .Values.datacatalog.enabled }} {{- with .Values.configmap.catalog }} catalog.yaml: | {{ tpl (toYaml .) $ | nindent 4 }} {{- end }} +{{- else }} + catalog.yaml: | + catalog-cache: + type: noop +{{- end }} {{- with .Values.configmap.catalog_cache }} catalog_cache.yaml: | {{ tpl (toYaml .) $ | nindent 4 }} {{- end }}