From 69f471e64e23193d8cf29d983427f9f558f106e1 Mon Sep 17 00:00:00 2001 From: Lukas Metzner <lukas.metzner@hetzner-cloud.de> Date: Wed, 4 Jun 2025 16:43:59 +0200 Subject: [PATCH] docs: rename default labels on Volumes (#991) --- docs/kubernetes/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/kubernetes/README.md b/docs/kubernetes/README.md index e5fc833..58be30c 100644 --- a/docs/kubernetes/README.md +++ b/docs/kubernetes/README.md @@ -159,10 +159,10 @@ During the initialization of the CSI controller, the default location for all vo It is possible to set labels for all newly created volumes. By default, all volumes are labeled as follows: -- `csi.storage.k8s.io/pvc/name` -- `csi.storage.k8s.io/pvc/namespace` -- `csi.storage.k8s.io/pv/name` -- `csi.hetzner.cloud/created-by=csi-driver` +- `pvc-name` +- `pvc-namespace` +- `pv-name` +- `managed-by=csi-driver` To add extra labels to all created volumes set `HCLOUD_VOLUME_EXTRA_LABELS` in the format `key=value,...`. This is also configurable from the Helm chart by the value `controller.volumeExtraLabels`, e.g: -- GitLab