From 05cbe9c7715d2a29ef1768f9c4db673d6037c542 Mon Sep 17 00:00:00 2001 From: Scot Wells Date: Tue, 30 Jun 2026 18:37:17 -0500 Subject: [PATCH] Add inventory plugin to the catalog Bring the inventory plugin into the Milo CLI plugin catalog so it can be discovered and installed through datumctl. The manifest points at the published datum-cloud/inventory releases, and index.yaml is regenerated to include the entry with verified checksums. --- README.md | 2 +- index.yaml | 48 +++++++++++++++++++++++++++++++++++++++++- plugins/inventory.yaml | 45 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 93 insertions(+), 2 deletions(-) create mode 100644 plugins/inventory.yaml diff --git a/README.md b/README.md index b9eaae2..a78b99b 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Milo services ship their own command-line experiences as plugins. This catalog i | Name | Description | |------|-------------| -| _None yet — the IPAM plugin is the first, see open pull requests._ | | +| [inventory](plugins/inventory.yaml) | Browse and populate the Datum Cloud inventory graph (typed nodes and edges) | ## Using this catalog diff --git a/index.yaml b/index.yaml index 47a769c..38b4da3 100644 --- a/index.yaml +++ b/index.yaml @@ -4,4 +4,50 @@ name: milo-os description: Portable CLI plugins for the Milo platform owner: milo-os homepage: https://github.com/milo-os/cli-plugins -items: [] +items: +- apiVersion: datumctl.datum.net/v1alpha1 + kind: Plugin + metadata: + name: inventory + spec: + shortDescription: Browse and populate the Datum Cloud inventory graph (typed nodes + and edges) + homepage: https://github.com/datum-cloud/inventory + version: v0.1.0 + platforms: + - selector: + matchLabels: + os: linux + arch: amd64 + uri: https://github.com/datum-cloud/inventory/releases/download/v0.1.0/datumctl-inventory_Linux_x86_64.tar.gz + sha256: 9c392c1bc6368d00a4496f4449e8de06c84a1d29da5d02999df4ccf19acc778d + - selector: + matchLabels: + os: linux + arch: arm64 + uri: https://github.com/datum-cloud/inventory/releases/download/v0.1.0/datumctl-inventory_Linux_arm64.tar.gz + sha256: c1a1698faf072091c1fd11ed62bbc451e5d1be55b872014042241dc10061fdbc + - selector: + matchLabels: + os: darwin + arch: amd64 + uri: https://github.com/datum-cloud/inventory/releases/download/v0.1.0/datumctl-inventory_Darwin_x86_64.tar.gz + sha256: 4a8b958a7e91454729da493d7f1abf90f0303df7c35328fdaf181f141c98f1c2 + - selector: + matchLabels: + os: darwin + arch: arm64 + uri: https://github.com/datum-cloud/inventory/releases/download/v0.1.0/datumctl-inventory_Darwin_arm64.tar.gz + sha256: 5966496965bf8bec2675af3bdff9a71ae2429473e5b2b55ee4137571f0f8b0a5 + - selector: + matchLabels: + os: windows + arch: amd64 + uri: https://github.com/datum-cloud/inventory/releases/download/v0.1.0/datumctl-inventory_Windows_x86_64.zip + sha256: 03507d79ac88360bf2c6eab187a383542933e7686d8826c36df43df9bb91d902 + - selector: + matchLabels: + os: windows + arch: arm64 + uri: https://github.com/datum-cloud/inventory/releases/download/v0.1.0/datumctl-inventory_Windows_arm64.zip + sha256: 86688afbb1968ceff1714562dea79176bdaabfb3c45cb61ce4a7a1c14f6a391a diff --git a/plugins/inventory.yaml b/plugins/inventory.yaml new file mode 100644 index 0000000..49eca0c --- /dev/null +++ b/plugins/inventory.yaml @@ -0,0 +1,45 @@ +apiVersion: datumctl.datum.net/v1alpha1 +kind: Plugin +metadata: + name: inventory +spec: + shortDescription: Browse and populate the Datum Cloud inventory graph (typed nodes and edges) + homepage: https://github.com/datum-cloud/inventory + version: v0.1.0 + platforms: + - selector: + matchLabels: + os: linux + arch: amd64 + uri: https://github.com/datum-cloud/inventory/releases/download/v0.1.0/datumctl-inventory_Linux_x86_64.tar.gz + sha256: 9c392c1bc6368d00a4496f4449e8de06c84a1d29da5d02999df4ccf19acc778d + - selector: + matchLabels: + os: linux + arch: arm64 + uri: https://github.com/datum-cloud/inventory/releases/download/v0.1.0/datumctl-inventory_Linux_arm64.tar.gz + sha256: c1a1698faf072091c1fd11ed62bbc451e5d1be55b872014042241dc10061fdbc + - selector: + matchLabels: + os: darwin + arch: amd64 + uri: https://github.com/datum-cloud/inventory/releases/download/v0.1.0/datumctl-inventory_Darwin_x86_64.tar.gz + sha256: 4a8b958a7e91454729da493d7f1abf90f0303df7c35328fdaf181f141c98f1c2 + - selector: + matchLabels: + os: darwin + arch: arm64 + uri: https://github.com/datum-cloud/inventory/releases/download/v0.1.0/datumctl-inventory_Darwin_arm64.tar.gz + sha256: 5966496965bf8bec2675af3bdff9a71ae2429473e5b2b55ee4137571f0f8b0a5 + - selector: + matchLabels: + os: windows + arch: amd64 + uri: https://github.com/datum-cloud/inventory/releases/download/v0.1.0/datumctl-inventory_Windows_x86_64.zip + sha256: 03507d79ac88360bf2c6eab187a383542933e7686d8826c36df43df9bb91d902 + - selector: + matchLabels: + os: windows + arch: arm64 + uri: https://github.com/datum-cloud/inventory/releases/download/v0.1.0/datumctl-inventory_Windows_arm64.zip + sha256: 86688afbb1968ceff1714562dea79176bdaabfb3c45cb61ce4a7a1c14f6a391a