Example `hookSource` incorrectly uses Bash instead of `sh`
@netapp-shwetav 已经在做这个了。
开始于 2026年9月10日。
评估
这个 Issue 还没有评估数据。
描述
Page URL
https://docs.netapp.com/us-en/trident/trident-protect/trident-protect-use-execution-hooks.html
Page title
Manage Trident Protect execution hooks
Summary
The ExecHook example uses an invalid hookSource:
The script is IyEvYmluL2Jhc2gKZWNobyAiZXhhbXBsZSBzY3JpcHQiCg== which decodes to this script:
#!/bin/bash
echo "example script"
This indicates that Bash should be used to execute the script, while the ExecHook will actually invoke the script using sh. I found this out by some long bouts with trial and error when I found out that my documented examples did not work as expected.
This should be changed to something like #!/usr/bin/env sh for correctness.
Public issues must not contain sensitive information
- This issue contains no sensitive information.
- 主要语言
- 没有语言数据
- 星标
- 1
- 派生
- 22
- 平均合并
- 11 小时 13 分钟
- 30 天内合并 PR
- 4
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NetAppDocs/trident 的其他 Issue
-
Outdated statement on volume import capabilities可能已有人在做 @joan-ing 于 20 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 92/100
NetAppDocs/trident#910 · 已指派 1 人 ·
-
Missing TMR settings可能已有人在做 @joan-ing 于 20 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
NetAppDocs/trident#909 · 已指派 1 人 ·
-
Annotations documented for restore but not backup可能重新可做 @netapp-shwetav 于 35 天前认领,目前没有进行中的 PR。 未关闭
难度 1/5 1-3 小时 新手友好度 88/100
NetAppDocs/trident#908 · 3 条评论 · 已指派 1 人 ·
-
Stale branch: 'ASTRADOC-674' was last updated in September 2026可能已有人在做 @joan-ing 今天认领。 未关闭
NetAppDocs/trident#915 · 已指派 1 人 ·
-
26.06 helm install example reflexts 26.02可能重新可做 @joan-ing 于 76 天前认领,目前没有进行中的 PR。 未关闭In Progress
NetAppDocs/trident#896 · 已指派 1 人 ·