csi: ensure `WriteOptions` aren't nil when handling secrets (#12182)
csi: ensure `WriteOptions` aren't nil when handling secrets (#12182)

When we set the headers for CSI secrets in the `WriteOptions`, it
turns out that we're not always passing a non-nil object. In that
case, instanstiate it on demand in the API.
hashicorp/nomad,hashicorp/nomad,hashicorp/nomad,hashicorp/nomad,hashicorp/nomad,hashicorp/nomad