Closed kingnarmer closed 4 months ago
I'm getting a bit of Deja Vu here as I think I've mean to implement this somewhere. Either in the upstream CSI driver or the CSP. They way this would work is that you'll have access to {pvc}
and {namespace}
for the description field.
Like: description: "PVC created on {namespace}"
@datamattsson Do you mean it should work now ? Like if I set the description on the Storage class to description: "PVC created on {namespace}" ?
I could not find any traces of it, but I'll add it to the next release.
This is now included in v2.4.2.
I forgot to document it and will include that in the next update. You can use {pv}
{pvc}
and {namespace}
in the description now.
Updated docs.
Make "extra-create-metadata" parameters available at the time pvc is created . Ex: Be able to dynamically add pvc namespace to description section.
something like
description: "PVC created on ${paramters.namespace}"