Commit 469d69c
fix(store): slugify rdName in volume_definitions fetchRD lookup
The k8s metadata.Name for an RD is K8sName-slugified at write time,
but volume_definitions.fetchRD used the raw rdName as the lookup key.
csi-sanity creates an RD called "DeleteSnapshot-volume-1-..." (mixed
case) and then immediately POSTs volume-definitions to the same name —
the second call was 404 because the stored CRD lives under a
slugified name. Apply the same slugifier on lookup.
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>1 parent e5547c9 commit 469d69c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
0 commit comments