nmaupu / freenas-provisioner

Kubernetes external provisioner using Freenas as backend
Apache License 2.0
132 stars 26 forks source link

set accept and content-type headers #32

Closed travisghansen closed 4 years ago

travisghansen commented 4 years ago

Staring somewhere in 11.2-U6 or U7 the FreeNAS API started requiring this for certain calls. The current endpoints used by the provisioner appear to be fine (which I find odd) but may be good to get ahead of it.

I already added this to my csi driver and the iscsi go project.

Thanks!