From df6131eef40621b3660bb9634c8a0ed93927ab83 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Fri, 8 Sep 2023 01:31:58 +0100 Subject: [PATCH] [cinder-csi-plugin] Add comment about deprecation (#2361) CSI inline ephemeral volumes are deprecated for the *Cinder CSI driver*, not k8s as a whole. Clarify this, linking back to the original issue. Signed-off-by: Stephen Finucane --- pkg/csi/cinder/nodeserver.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/csi/cinder/nodeserver.go b/pkg/csi/cinder/nodeserver.go index 98fc09f492..2655ed6dcb 100644 --- a/pkg/csi/cinder/nodeserver.go +++ b/pkg/csi/cinder/nodeserver.go @@ -67,6 +67,7 @@ func (ns *nodeServer) NodePublishVolume(ctx context.Context, req *csi.NodePublis ephemeralVolume := req.GetVolumeContext()["csi.storage.k8s.io/ephemeral"] == "true" if ephemeralVolume { + // See https://github.com/kubernetes/cloud-provider-openstack/issues/1493 klog.Warningf("CSI inline ephemeral volumes support is deprecated in 1.24 release.") return nodePublishEphemeral(req, ns) }