Skip to content

Commit

Permalink
Authorization v2 update storage crd with isiPath for powerscale suppo…
Browse files Browse the repository at this point in the history
…rt (#488)

* Update storage crd with isiPath

* Add description for CR parameters
  • Loading branch information
alikdell authored and shaynafinocchiaro committed Oct 30, 2024
1 parent 1cc5ac3 commit 325f7a5
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: csmroles.csm-authorization.storage.dell.com
spec:
group: csm-authorization.storage.dell.com
Expand Down Expand Up @@ -40,15 +40,18 @@ spec:
description: CSMRoleSpec defines the desired state of CSMRole
properties:
pool:
description: Pool is the storage pool name
type: string
quota:
description: |-
INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
Important: Run "make" to regenerate code after modifying this file
description: Quota is the total provision capacity for a given role
type: string
systemID:
description: SystemID is the system ID of the storage array
type: string
systemType:
description: |-
SystemType is the type of the storage array
Example powerflex, powermax, powerscale
type: string
type: object
status:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: csmtenants.csm-authorization.storage.dell.com
spec:
group: csm-authorization.storage.dell.com
Expand Down Expand Up @@ -40,15 +40,21 @@ spec:
description: CSMTenantSpec defines the desired state of CSMTenant
properties:
approveSdc:
description: |-
ApproveSdc is a boolean to indicate whether approveSDC is enabled
Default value is false
type: boolean
revoke:
description: Revoke is a boolean to indicate whether tenant is revoked
type: boolean
roles:
description: |-
INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
Important: Run "make" to regenerate code after modifying this file
Roles defines the roles for this tenant
Comma separated list
type: string
volumePrefix:
description: VolumePrefix is the prefix added for each new volume
provisioned by the tenant
maxLength: 3
minLength: 1
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,30 @@ spec:
description: StorageSpec defines the desired state of Storage
properties:
endpoint:
description: EndPoint is the storage array endpoint
type: string
isiPath:
description: |-
IsiPath the base path for the volumes to be created on PowerScale cluster
Needed only for PowerScale
type: string
pollInterval:
description: PollInterval is the interval to poll the storage array
type: string
skipCertificateValidation:
description: SkipCertificateValidation is the flag to skip certificate
validation
type: boolean
systemID:
description: SystemID is the storage array system ID
type: string
type:
description: |-
INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
Important: Run "make" to regenerate code after modifying this file
description: Type is the storage array type
type: string
vault:
description: |-
Vault is the credential manager for storage arrays
Currently support only Hashicorp Vault
properties:
identifier:
type: string
Expand Down

0 comments on commit 325f7a5

Please sign in to comment.