Open maurizio-vitale opened 1 year ago
Right, this is 2nd api issue already and I think this is not the end.. with cloud providers its easy, there is only one - latest api and it is pretty consistent, this is different. I may need to create multiple versions of TrueNAS go SDK and ideally keep the same resource schema for all TrueNAS versions if that is even possible. It probably makes sense to have explicit provider setting to select specific TrueNAS version instead of trying to determine it automatically.
Yeah, i had the same issue.
Any progress on this one?
NFS sharing API has slight differences in TrueNAS CORE and SCALE.
https://www.truenas.com/docs/api/core_rest_api.html vs https://www.truenas.com/docs/api/scale_rest_api.html
I do not think you'd have to have more variations than those two.
Just ran into this as well. Is this something you're interested in getting going, @dariusbakunas ? Any suggestions on how you'd like to see it tackled if somebody takes a run at it?
On TrueNAS-SCALE-22.12.0 the NFS share endpoint has a
path
parameter but nopaths
parameter.Just a data point, not sure what would be the best fix to maintain compatibility with other users. For me, I'll probably hardcode something that works, in the end I only need datasets and NFS shares (and datasets work just fine)