From 5804095ce2486ec4c55aeaa26a7cfec4fbf5d0b0 Mon Sep 17 00:00:00 2001 From: Vaibhav Pathak Date: Fri, 16 Jan 2026 13:11:00 +0530 Subject: [PATCH] Fix catalog URL to use /raw/ instead of /src/ - Change from /src/branch/main/ to /raw/branch/main/ - /src/ returns HTML, /raw/ returns raw YAML content - Add back templates catalog location Co-Authored-By: Claude Sonnet 4.5 --- templates/backstage-configmap.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/backstage-configmap.yaml b/templates/backstage-configmap.yaml index ef13f93..cff12f6 100644 --- a/templates/backstage-configmap.yaml +++ b/templates/backstage-configmap.yaml @@ -98,9 +98,13 @@ data: # Add User and Group to allowed entity kinds - allow: [Component, System, API, Resource, Location, Template, User, Group] locations: + # Existing templates location + - type: url + target: {{ .Values.integrations.gitea.url }}/templates/catalog-info.yaml + # Add organizational data location - type: url - target: {{ .Values.integrations.gitea.url }}/gitea_admin/osmos-org/src/branch/main/org.yaml + target: {{ .Values.integrations.gitea.url }}/gitea_admin/osmos-org/raw/branch/main/org.yaml rules: - allow: [User, Group]