Files
kind/pkg/cluster
Kenichi Kamiya 836f3dfad6 fix kind get clusters via nerdctl
Now raising errors when using nerdctl for the provider

```console
> ./kind --version
kind version 0.26.0-alpha
> nerdctl --version
nerdctl version 2.0.1
> ./kind get clusters
ERROR: failed to list clusters: command "nerdctl ps -a --filter label=io.x-k8s.kind.cluster --format '{{index .Labels "io.x-k8s.kind.cluster"}}'" failed with error: exit status 1
Command Output: time="2024-12-09T18:01:03+09:00" level=fatal msg="template: :1:2: executing \"\" at <index .Labels \"io.x-k8s.kind.cluster\">: error calling index: cannot index slice/array with type string"
```

nerdctl fixed the `.Label` behavior in v1.7.0.
2af4cef9e7
However `index .Labels` syntax is not yet supported at least in v2.0.1.
(The style is also used for podman provider, and it is available)

This commit follows up https://github.com/kubernetes-sigs/kind/pull/3429

Signed-off-by: Kenichi Kamiya <kachick1@gmail.com>
2024-12-09 18:29:08 +09:00
..
2020-02-10 12:45:10 -08:00
2020-05-14 22:14:55 -07:00
2019-11-01 17:19:44 -07:00
2024-02-28 04:44:16 +00:00