Metadata
OCI InfrastructureThe Metadata plugin tracks the first level of detail about two kinds of OCI resources: Container Registries (OCIR) and Object Storage buckets. It doesn't try to be a full inventory system (that's OCI Inventory & Usage's job) — it's specifically the discovery layer that other plugins lean on when they need to know "what registries/buckets exist in this tenancy."
Registry and bucket records themselves are synced/upserted automatically — you don't
create them by hand. What you can do manually is attach an optional OCI username and
auth token to a registry (reserved for a future capability: generating Kubernetes
imagePullSecrets automatically — not yet built, but the data model already
supports it).
Two different freshness models in the same plugin
This is worth understanding because it explains why some pages feel instant and others require a sync click:
- Registries and buckets themselves are discovered by an on-demand sync — triggered by the "Sync Metadata" button on the OCI Credentials page for a given tenancy — and then stored, so the Container Registries and Object Storage Buckets pages load instantly from what was last synced.
- Container image/tag listings and individual object listings inside a bucket are never stored — they're always fetched live, on demand, when you actually open a registry or a bucket's contents. This keeps Mastermind's own database from trying to mirror potentially huge, constantly-changing image tag or object lists.
Core workflow
- Make sure an OCI Credential exists for the tenancy you care about.
- Click "Sync Metadata" on the OCI Credentials page for that tenancy.
- Browse the discovered Container Registries and Object Storage Buckets pages. Open a registry to see its live image/tag list; open a bucket to see its live object listing.
Who depends on this
Helm Charts needs at least one discovered Object Storage bucket to store imported Helm charts in. Deployment Sets' image picker (when authoring a workload object) uses the registries discovered here to let you pick an image/tag live rather than typing a full image reference by hand.
Permissions
read (view registries, buckets, versions, and bucket contents),
manage (attach a username/auth token to a registry), and sync
(manually trigger a metadata sync for a tenancy).