From 4c7694927315b81df2ed5555ac9f98bc60ee6caa Mon Sep 17 00:00:00 2001 From: Noam Gal Date: Mon, 27 Oct 2025 14:35:48 +0200 Subject: [PATCH] use explicit cors value if exist --- .../templates/_components/cap-app-proxy/_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/gitops-runtime/templates/_components/cap-app-proxy/_config.yaml b/charts/gitops-runtime/templates/_components/cap-app-proxy/_config.yaml index 172d4f9ff..aa1850523 100644 --- a/charts/gitops-runtime/templates/_components/cap-app-proxy/_config.yaml +++ b/charts/gitops-runtime/templates/_components/cap-app-proxy/_config.yaml @@ -1,7 +1,7 @@ {{- define "cap-app-proxy.resources.configmap-documented-configs" }} argoWorkflowsInsecure: {{ .Values.config.argoWorkflowsInsecure | quote }} clusterChunkSize: {{ .Values.config.clusterChunkSize | quote }} -cors: {{ .Values.global.codefresh.url }} +cors: {{ .Values.config.cors | default .Values.global.codefresh.url }} isConfigurationRuntime: {{ .Values.global.runtime.isConfigurationRuntime | quote }} isExternalArgoCD: {{ .Values.global.runtime.isExternalArgoCD | quote }} runtimeName: {{ required "global.runtime.name is required" .Values.global.runtime.name | quote}}