- In Podman 6.x, the {{.Labels}} template field comes out as a flat string (k=v,k=v) instead of a map, so index .Labels "<key>" can't work.
维护者通常 7 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 72/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- go, kubernetes
- 领域
- build-system, cli
调研方向
载荷指向 sigs.k8s.io/kind 在 go.mod 中锁定的 v0.30.0 版本,该 issue 要求将其升级到 v0.33.0 或更高版本。请编辑 go.mod,运行 go mod tidy,然后构建 CLI。当 crossplane project run 在 Podman 6.x 下能列出 kind 集群且没有模板错误,并且构建和测试仍然通过时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
What happened?
➜ example-project-webapp crossplane project run
✗ Setting up control plane
✓ Collecting resources
✓ Updating dependency Kubernetes API v1.35.0
✗ Updating dependency xpkg.crossplane.io/crossplane-contrib/function-auto-ready:>=v0.0.0
crossplane: error: failed to list kind clusters: failed to list clusters: command "podman ps -a --filter label=io.x-k8s.kind.cluster --format '{{index .Labels "io.x-k8s.kind.cluster"}}'" failed with error: exit status 125
➜ example-project-webapp podman ps -a --filter label=io.x-k8s.kind.cluster
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
12e9bb92b9d5 docker.io/kindest/node@sha256:a1ed56cfb0e7b93589bdf97c8cd566405a265939e3620fc4f5de89adff580ae5 12 days ago Up 24 hours 127.0.0.1:61277->6443/tcp kind-control-plane
- The bug is in kind's Podman support. kind fixed it in PR #4203 (merged 2026-06-26), which is in kind v0.33.0 (released 2026-08-26). The fix chooses a different label template for Podman 5.0 and later.
- The Crossplane CLI embeds kind as a Go library. Its go.mod pins sigs.k8s.io/kind v0.30.0 at both the v2.5.0 tag and main, so it still has the broken template.
bump kind to v0.33.0 or later.
How can we reproduce it?
podman --version
podman version 6.1.4
Client Version: v2.5.0
Server Version: v2.4.2
What environment did it happen in?
- Crossplane CLI version: 2.5.0
- Platform (e.g., linux/amd64): MacOS (amd64)
- Crossplane version (if applicable):
- 主要语言
- Go
- 星标
- 22
- 派生
- 37
- 平均合并
- 6 天 8 小时
- 30 天内合并 PR
- 22
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
crossplane/cli 的其他 Issue
-
`credsStore` in docker config causes unit test failures可能已有人在做 @sujeito-operator 于 64 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 84/100
crossplane/cli#282 ·
维护者通常 7 天内回复
-
enhancement
难度 4/5 3-5 天 新手友好度 48/100
crossplane/cli#437 ·
维护者通常 7 天内回复
-
Generated schemas go stale because each source writes into the shared tree on its own可能已有人在做 @stevendborrelli 于 7 天前认领。 未关闭enhancement
难度 4/5 3-5 天 新手友好度 18/100
crossplane/cli#428 ·
维护者通常 7 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 35/100
crossplane/cli#424 ·
维护者通常 7 天内回复
-
enhancement
难度 4/5 3-5 天 新手友好度 42/100
crossplane/cli#410 · 1 条评论 · 已指派 1 人 ·
维护者通常 7 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 66/100
goharbor/terraform-provider-harbor#655 · 1 条评论 ·
-
bug needs-triage
难度 2/5 1-3 小时 新手友好度 85/100
syncthing/syncthing#10935 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
docker/sbx-releases#737 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
-
area/manager needs-triage
难度 2/5 1-3 小时 新手友好度 73/100
kyma-project/telemetry-manager#3922 ·
维护者通常 1 天内回复