The guide was wrong! The correct volume creation was:
id = "ceph-mysql"
name = "ceph-mysql"
type = "csi"
plugin_id = "ceph-csi"
capacity_max = "8G"
capacity_min = "5G"
capability {
access_mode = "single-node-writer"
attachment_mode = "file-system"
}
secrets {
userID = "nomad"
userKey = "AQDPzQNjqhZSARAAIDku3bLDEleVNvpScQMHPw=="
}
parameters {
clusterID = "ddeb11aa-223c-11ed-8020-4fb209447fe5"
pool = "nomad"
imageFeatures = "layering"
}
On userID the correct value is nomad, not admin as the guide says not client.nomad as I was using, just nomad.
I realizes the truth reading this article: