In release v2.14.0, we introduced default labels that are automatically applied to every newly created volume. However, we have identified a bug in the Hetzner Cloud API that allowed invalid label keys during Volume creation. This issue affects the following labels:
- Labels with the key prefix
csi.hetzner.cloud/
are not permitted. - Labels using the pattern
csi.storage.k8s.io/*/*
are invalid due to the use of double slashes in the key.
These labels are informational only and not used by the CSI driver itself. Volumes with incorrect or broken label values will still function as expected; however, editing or updating the labels may not work correctly. To comply with API requirements, Hetzner Cloud will edit the labels for every Volume and replace them with the new labels:
csi.hetzner.cloud/created-by
-managed-by
csi.storage.k8s.io/pvc/name
-pvc-name
csi.storage.k8s.io/pvc/namespace
-pvc-namespace
csi.storage.k8s.io/pv/name
-pv-name
Features
- rename default labels on Volumes (#988)