Repository navigation
helm: bundled swiss 0.6.3 rejects catalog schema v2 and writable catalogs #90
Copy link
Copy link
Closed
Labels
area/helmHelm chart and install.shHelm chart and install.sharea/swissThe mounted model deployment pagesThe mounted model deployment pageskind/bugBehaviour differs from the docs or the designBehaviour differs from the docs or the design
Description
What happened
The chart bundles the swiss subchart, and helm/console/Chart.yaml pins it at 0.6.3. The 0.2.x Model Serving pages already offer catalog schema v2 and writable-catalog editing (#68, #73), but the swissd those pages talk to is 0.6.3, which predates both:
- Catalog v2: 0.6.3 reads only
index.json(v1). There is noindex-v2.jsonreader, so a profile catalog withschemaVersion: v2cannot be used. - Writable catalogs: 0.6.3 has no catalog write API and its profile parser (
KnownFields(true),internal/site/profile.go) has noschemaVersionorwritablefield on a catalog, so saving the Site Profile with either field fails with an unknown-field decode error. The Model Library's New model / Edit model / Add variant actions have no backend.
Expected: the chart that ships the 0.2.x pages installs a swissd those pages require.
What you expected instead
With swiss.enabled=true (bundled), adding schemaVersion: v2 or ticking a catalog Writable in the Site profile editor saves, catalog v2 models are listed, and a writable catalog can be edited from the Model Library.
How to reproduce
helm install console oci://ghcr.io/modelsphere/charts/console --set swiss.enabled=true --set 'swiss.rbac.namespaces={models}'(0.2.1: the dependency resolves to swiss 0.6.3).- Log in as admin → Model Serving → Site Profile.
- Add a catalog with
schemaVersion: v2(or tick Writable on one) and save. - swissd returns a profile decode error (
field schemaVersion not found in type site.CatalogRepo), and the Model Library lists only v1 catalog models.
Versions
- Console: 0.2.1 (chart and appVersion), also current
main - Installed with:
helm install/helm upgrade,swiss.enabled=true, otherwise defaults - Swiss: 0.6.3, the bundled subchart
- Kubernetes: any supported cluster
Evidence
helm/console/Chart.yaml/helm/console/Chart.lock:swissdependency0.6.3.- swiss 0.6.3
internal/catalog/has noindex_v2.go;internal/site/profile.godecodes withKnownFields(true)andCatalogRepohas onlyname,url,default. - swiss 0.7.0 adds both (dual-read v1/v2,
schemaVersion/writable, and the swissd write proxy).
Anything else
- Workaround: run swiss 0.7.0 externally and use
externalSwissinstead of the bundled subchart. - Fix: bump the subchart to 0.7.0. 0.7.0 also vendors catalog-server in the swiss chart, which gives an installation whose own catalog is a static index a writable v2 catalog to add models to (the route that supersedes feat(web): create Console-managed model templates from Model Library #86).
- Follow-up work is a chart PR; no Console Go or web changes are expected.
Metadata
Metadata
Assignees
Labels
area/helmHelm chart and install.shHelm chart and install.sharea/swissThe mounted model deployment pagesThe mounted model deployment pageskind/bugBehaviour differs from the docs or the designBehaviour differs from the docs or the design
Activity
imneov commentedon Oct 22, 2026
Implemented in #91: subchart bump to 0.7.0, catalog-server (bundled) documented in the chart README, and the design doc records that Console owns no catalog storage.
fix(helm): bundle swiss 0.7.0 for catalog schema v2 and writable cata…