Make documentation about nameTemplate more clear and incorporate more examples
@joan-ing 已经在做这个了。
开始于 2026年3月19日。
评估
这个 Issue 还没有评估数据。
描述
Page URL
https://docs.netapp.com/us-en/trident/trident-use/vol-custom-name.html
Page title
Customize volume names and labels
Summary
I'd like to suggest changes to make it more clear, how the nameTemplate feature works, since I had trouble understanding it.
See this issue for reference: https://github.com/NetApp/trident/issues/995
The documentation is very sparse about this feature, and, in places, also feels wrong to me. E.g.:
- https://docs.netapp.com/us-en/trident/trident-use/ontap-nas-examples.html#minimal-configuration-examples , in
Backend configuration example with nameTemplateseems to mix up YAML and JSON. If this is actually meant like this, please explain how because I wasn't able to derive valid YAML from this example - https://docs.netapp.com/us-en/trident/trident-use/vol-custom-name.html : Again, this is in JSON format, and the documentation is not clear if this is a
tridentBackendortridentBackendConfiguration.
There is no complete working example including a PVC declaration that would make use of this, nor any examples and their expected outcome. It is really hard to understand how this is supposed to work.
User @YvosOnTheHub has some very useful documentation here:
Please update (fix?) the docs and incorporate a fully working configuration for this feature.
Public issues must not contain sensitive information
- This issue contains no sensitive information.
- 主要语言
- 没有语言数据
- 星标
- 1
- 派生
- 22
- 平均合并
- 44 分钟
- 30 天内合并 PR
- 2
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NetAppDocs/trident 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 92/100
NetAppDocs/trident#910 ·
-
难度 2/5 1-3 小时 新手友好度 85/100
NetAppDocs/trident#909 ·
-
Annotations documented for restore but not backup可能已有人在做 @netapp-shwetav 于 14 天前认领。 未关闭
难度 1/5 1-3 小时 新手友好度 88/100
NetAppDocs/trident#908 · 3 条评论 · 已指派 1 人 ·
-
Example `hookSource` incorrectly uses Bash instead of `sh`可能重新可做 @netapp-shwetav 于 32 天前认领,目前没有进行中的 PR。 未关闭
NetAppDocs/trident#906 · 已指派 1 人 ·
-
26.06 helm install example reflexts 26.02可能重新可做 @joan-ing 于 55 天前认领,目前没有进行中的 PR。 未关闭In Progress
NetAppDocs/trident#896 · 已指派 1 人 ·