Files
cozystack/packages/system/dashboard/patches/logos.patch
Andrei Kvapil e265e8bc43 Ship all logos with Cozystack
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2024-07-16 17:31:52 +02:00

16 lines
752 B
Diff

diff --git a/packages/system/dashboard/charts/kubeapps/templates/frontend/configmap.yaml b/packages/system/dashboard/charts/kubeapps/templates/frontend/configmap.yaml
index d43f521..31ff7d5 100644
--- a/packages/system/dashboard/charts/kubeapps/templates/frontend/configmap.yaml
+++ b/packages/system/dashboard/charts/kubeapps/templates/frontend/configmap.yaml
@@ -136,4 +136,10 @@ data:
proxy_pass {{ printf "http://%s:%d" (include "kubeapps.dashboard.fullname" .) (int .Values.dashboard.service.ports.http) }};
}
{{- end }}
+
+ location /logos {
+ # Add the Authorization header if exists
+ add_header Authorization $http_authorization;
+ proxy_pass http://cozystack.cozy-system.svc:80;
+ }
}