File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 119119import org .apache .cloudstack .api .command .user .network .ListNetworkACLsCmd ;
120120import org .apache .cloudstack .api .command .user .network .ListNetworksCmd ;
121121import org .apache .cloudstack .api .command .user .vm .ListVMsCmd ;
122+ import org .apache .cloudstack .api .command .user .volume .AttachVolumeCmd ;
123+ import org .apache .cloudstack .api .command .user .volume .CreateVolumeCmd ;
124+ import org .apache .cloudstack .api .command .user .volume .DeleteVolumeCmd ;
125+ import org .apache .cloudstack .api .command .user .volume .DetachVolumeCmd ;
126+ import org .apache .cloudstack .api .command .user .volume .ListVolumesCmd ;
127+ import org .apache .cloudstack .api .command .user .volume .ResizeVolumeCmd ;
122128import org .apache .cloudstack .api .response .KubernetesClusterConfigResponse ;
123129import org .apache .cloudstack .api .response .KubernetesClusterResponse ;
124130import org .apache .cloudstack .api .response .KubernetesUserVmResponse ;
@@ -253,6 +259,12 @@ public class KubernetesClusterManagerImpl extends ManagerBase implements Kuberne
253259 private static final List <Class <?>> PROJECT_KUBERNETES_ACCOUNT_ROLE_ALLOWED_APIS = Arrays .asList (
254260 QueryAsyncJobResultCmd .class ,
255261 ListVMsCmd .class ,
262+ ListVolumesCmd .class ,
263+ CreateVolumeCmd .class ,
264+ DeleteVolumeCmd .class ,
265+ AttachVolumeCmd .class ,
266+ DetachVolumeCmd .class ,
267+ ResizeVolumeCmd .class ,
256268 ListNetworksCmd .class ,
257269 ListPublicIpAddressesCmd .class ,
258270 AssociateIPAddrCmd .class ,
You can’t perform that action at this time.
0 commit comments