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 119
119
import org .apache .cloudstack .api .command .user .network .ListNetworkACLsCmd ;
120
120
import org .apache .cloudstack .api .command .user .network .ListNetworksCmd ;
121
121
import 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 ;
122
128
import org .apache .cloudstack .api .response .KubernetesClusterConfigResponse ;
123
129
import org .apache .cloudstack .api .response .KubernetesClusterResponse ;
124
130
import org .apache .cloudstack .api .response .KubernetesUserVmResponse ;
@@ -253,6 +259,12 @@ public class KubernetesClusterManagerImpl extends ManagerBase implements Kuberne
253
259
private static final List <Class <?>> PROJECT_KUBERNETES_ACCOUNT_ROLE_ALLOWED_APIS = Arrays .asList (
254
260
QueryAsyncJobResultCmd .class ,
255
261
ListVMsCmd .class ,
262
+ ListVolumesCmd .class ,
263
+ CreateVolumeCmd .class ,
264
+ DeleteVolumeCmd .class ,
265
+ AttachVolumeCmd .class ,
266
+ DetachVolumeCmd .class ,
267
+ ResizeVolumeCmd .class ,
256
268
ListNetworksCmd .class ,
257
269
ListPublicIpAddressesCmd .class ,
258
270
AssociateIPAddrCmd .class ,
You can’t perform that action at this time.
0 commit comments