Static OAuth Setup: Scoped Globally Per Host
OAuth credentials are now scoped to the host rather than to individual catalog items.
- All catalog items sharing the same host share a single OAuth configuration.
- Updating credentials through any one of them applies to all others on that host.
Migration required: after upgrading, run the backfill-catalog-item-derived-host job to populate host associations for existing catalog items. It's safe to run more than once — the job only processes rows where derivedHost is still empty, so re-running is a no-op for already-migrated rows.
kubectl create job catalog-derived-host-backfill \
--from=cronjob/<release-name>-lunar-mcpx-webapp-catalog-derived-host-backfill \
-n <your-namespace>
Replace <release-name> with your Helm release name.
After creating the job, confirm it ran successfully:
kubectl logs -f job/catalog-derived-host-backfill -n <your-namespace>
You should see at the end of the logs:
INFO: Backfilled derivedHost on XXX catalog items
INFO: Job completed successfully: backfill-catalog-item-derived-host