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: NetApp/trident#995
The documentation is very sparse about this feature, and, in places, also feels wrong to me. E.g.:
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
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
nameTemplatefeature works, since I had trouble understanding it.See this issue for reference: NetApp/trident#995
The documentation is very sparse about this feature, and, in places, also feels wrong to me. E.g.:
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 exampletridentBackendortridentBackendConfiguration.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