Skip to content
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions doc/akri_connector/packaging-metadata-with-connector
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# How to package connector metadata with connector images

In order for the user of a connector to access the metadata associated with it, the publisher of a connector must
attach the metadata using ORAS like:

Check warning on line 4 in doc/akri_connector/packaging-metadata-with-connector

View workflow job for this annotation

GitHub Actions / CI-spelling

Unknown word (ORAS) Suggestions: (oars, okas, oral, oran, orbs)

```bash
oras attach <container_registry>/<container_name>:<version> <connector_metadata_file> --artifact-type application/json

Check warning on line 7 in doc/akri_connector/packaging-metadata-with-connector

View workflow job for this annotation

GitHub Actions / CI-spelling

Unknown word (oras) Suggestions: (oars, okas, oral, oran, orbs)
```

where the connector metadata file is a JSON file that adheres to the schema defined [here](/doc/akri_connector/connector-metadata-schema.json).
Loading