Skip to content

Commit

Permalink
add shared resource csi driver operator to the list managed by the CSO
Browse files Browse the repository at this point in the history
  • Loading branch information
gabemontero committed Jun 29, 2021
1 parent 02b64ca commit 1048cce
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
1 change: 1 addition & 0 deletions operator/v1/0000_90_cluster_csi_driver_01_config.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ spec:
- manila.csi.openstack.org
- csi.ovirt.org
- csi.kubevirt.io
- csi.shared-resources.openshift.io
type: string
type: object
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
- manila.csi.openstack.org
- csi.ovirt.org
- csi.kubevirt.io
- csi.shared-resources.openshift.io
22 changes: 11 additions & 11 deletions operator/v1/types_csi_cluster_driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ type ClusterCSIDriver struct {
// CSIDriverName is the name of the CSI driver
type CSIDriverName string

// If you are adding a new driver name here, ensure that kubebuilder:validation:Enum is updated above
// and 0000_90_cluster_csi_driver_01_config.crd.yaml-merge-patch file is also updated with new driver name.
// If you are adding a new driver name here, ensure that 0000_90_cluster_csi_driver_01_config.crd.yaml-merge-patch file is also updated with new driver name.
const (
AWSEBSCSIDriver CSIDriverName = "ebs.csi.aws.com"
AWSEFSCSIDriver CSIDriverName = "efs.csi.aws.com"
AzureDiskCSIDriver CSIDriverName = "disk.csi.azure.com"
GCPPDCSIDriver CSIDriverName = "pd.csi.storage.gke.io"
CinderCSIDriver CSIDriverName = "cinder.csi.openstack.org"
VSphereCSIDriver CSIDriverName = "csi.vsphere.vmware.com"
ManilaCSIDriver CSIDriverName = "manila.csi.openstack.org"
OvirtCSIDriver CSIDriverName = "csi.ovirt.org"
KubevirtCSIDriver CSIDriverName = "csi.kubevirt.io"
AWSEBSCSIDriver CSIDriverName = "ebs.csi.aws.com"
AWSEFSCSIDriver CSIDriverName = "efs.csi.aws.com"
AzureDiskCSIDriver CSIDriverName = "disk.csi.azure.com"
GCPPDCSIDriver CSIDriverName = "pd.csi.storage.gke.io"
CinderCSIDriver CSIDriverName = "cinder.csi.openstack.org"
VSphereCSIDriver CSIDriverName = "csi.vsphere.vmware.com"
ManilaCSIDriver CSIDriverName = "manila.csi.openstack.org"
OvirtCSIDriver CSIDriverName = "csi.ovirt.org"
KubevirtCSIDriver CSIDriverName = "csi.kubevirt.io"
SharedResourcesCSIDriver CSIDriverName = "csi.shared-resources.openshift.io"
)

// ClusterCSIDriverSpec is the desired behavior of CSI driver operator
Expand Down

0 comments on commit 1048cce

Please sign in to comment.