agent-substrate / agent-substrate/substrate

Validation: allow mounting the same volume at multiple paths

未关闭
#1,612 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area/api kind/feature
主要语言
Go
星标
1.8k
派生
316
平均合并
2 天 43 分钟
30 天内合并 PR
287

描述

Currently, `Container.volume_mounts` in `ateapi.proto` is defined with `+k8s:listMapKey=name`. This enforces that each volume name appears at most once per container, disallowing a single volume from being mounted at more than one path.

In standard Kubernetes, mounting the same volume to multiple paths within a container is fully supported and idiomatic (with uniqueness enforced on mountPath, not name).

Proposal - Update `Container.volume_mounts` in `pkg/proto/ateapipb/ateapi.proto` to use `+k8s:listMapKey=mount_path`.
Add E2E tests verifying multi-mount behavior across read-only image volumes, writable durable-dir volumes, and external (CSI) volumes, ensuring shared writes and mounts remain consistent across actor suspend/resume cycles.

cc: @msau42 @juli4n

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。