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 <noreply@anthropic.com>
This commit is contained in:
Vaibhav Pathak 2026-01-16 13:11:00 +05:30
parent a96a2f1cf5
commit 5804095ce2

View File

@ -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]