1 Commits

Author SHA1 Message Date
Andrey Smirnov
cdb621c82e
feat: provide a way to list installed system extensions
```bash
$ talosctl -n 172.20.0.2 get extensions
NODE         NAMESPACE   TYPE              ID                                       VERSION   NAME     VERSION
172.20.0.2   runtime     ExtensionStatus   000.ghcr.io-smira-gvisor-c927b54-dirty   1         gvisor   20220117.0-v1.0.0
```

```bash
$ talosctl -n 172.20.0.2 get extensions -o yaml
node: 172.20.0.2
metadata:
    namespace: runtime
    type: ExtensionStatuses.runtime.talos.dev
    id: 000.ghcr.io-smira-gvisor-c927b54-dirty
    version: 1
    owner: runtime.ExtensionStatusController
    phase: running
    created: 2022-01-26T20:56:51Z
    updated: 2022-01-26T20:56:51Z
spec:
    image: 000.ghcr.io-smira-gvisor-c927b54-dirty.sqsh
    metadata:
        name: gvisor
        version: 20220117.0-v1.0.0
        author: Andrew Rynhard
        description: |
            This system extension provides gVisor using containerd's runtime handler.
        compatibility:
            talos:
                version: '> v0.15.0-alpha.1'
```

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2022-01-27 16:46:57 +03:00