Skip to content

Commit 63bbb55

Browse files
committed
nodeserver: support kata-cc-isolation runtimeClass
1 parent 08950d4 commit 63bbb55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/azurefile/nodeserver.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func (d *Driver) NodePublishVolume(ctx context.Context, req *csi.NodePublishVolu
101101
// get runtime class using pod info from volume context
102102
runtimeClass := getRuntimeClassForPod(ctx, d.kubeconfig, context[podNameField], context[podNamespaceField])
103103
klog.V(2).Infof("NodePublishVolume: volume(%s) mount on %s with runtimeClass %s", volumeID, target, runtimeClass)
104-
if runtimeClass == "kata-cc" {
104+
if runtimeClass == "kata-cc" || runtimeClass == "kata-cc-isolation" {
105105
klog.V(2).Infof("NodePublishVolume for volume(%s) where runtimeClass %s is kata-cc", volumeID, runtimeClass)
106106
source := req.GetStagingTargetPath()
107107
if len(source) == 0 {

0 commit comments

Comments
 (0)