Skip to content

Commit

Permalink
Authorization v2 update storage crd to have isiPath for PowerScale su…
Browse files Browse the repository at this point in the history
…pport (#665)

* Update storage crd wth isiPath for powerscale support

* Update storage crd wth isiPath for powerscale support

* fix linting

* update crds

* add description to auth crds and update operator crds

* fix merge conflicts

---------

Co-authored-by: root <[email protected]>
  • Loading branch information
ChristianAtDell and shaynafinocchiaro committed Oct 15, 2024
1 parent e01cce1 commit 75d5a17
Show file tree
Hide file tree
Showing 9 changed files with 1,807 additions and 613 deletions.
704 changes: 536 additions & 168 deletions config/crd/bases/storage.dell.com_apexconnectivityclients.yaml

Large diffs are not rendered by default.

1,461 changes: 1,094 additions & 367 deletions config/crd/bases/storage.dell.com_containerstoragemodules.yaml

Large diffs are not rendered by default.

23 changes: 12 additions & 11 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
Expand Down Expand Up @@ -53,7 +54,7 @@ rules:
- services
- services/finalizers
verbs:
- '*'
- "*"
- apiGroups:
- ""
resourceNames:
Expand Down Expand Up @@ -114,19 +115,19 @@ rules:
- update
- watch
- apiGroups:
- '*'
- "*"
resourceNames:
- application-mobility-velero-server
resources:
- '*'
- "*"
verbs:
- '*'
- "*"
- apiGroups:
- acme.cert-manager.io
resources:
- '*/*'
- "*/*"
verbs:
- '*'
- "*"
- apiGroups:
- acme.cert-manager.io
resources:
Expand Down Expand Up @@ -216,7 +217,7 @@ rules:
resources:
- customresourcedefinitions
verbs:
- '*'
- "*"
- apiGroups:
- apiextensions.k8s.io
resources:
Expand Down Expand Up @@ -305,9 +306,9 @@ rules:
- apiGroups:
- cert-manager.io
resources:
- '*/*'
- "*/*"
verbs:
- '*'
- "*"
- apiGroups:
- cert-manager.io
resources:
Expand All @@ -316,7 +317,7 @@ rules:
- clusterissuers
- issuers
verbs:
- '*'
- "*"
- apiGroups:
- cert-manager.io
resources:
Expand Down Expand Up @@ -759,7 +760,7 @@ rules:
resources:
- ingresses
verbs:
- '*'
- "*"
- apiGroups:
- networking.k8s.io
resources:
Expand Down
40 changes: 20 additions & 20 deletions deploy/crds/storage.dell.com.crds.all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ spec:
(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
properties:
containerName:
description: 'Container name: required for volumes, optional for env vars'
description: "Container name: required for volumes, optional for env vars"
type: string
divisor:
anyOf:
Expand All @@ -187,7 +187,7 @@ spec:
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
resource:
description: 'Required: resource to select'
description: "Required: resource to select"
type: string
required:
- resource
Expand Down Expand Up @@ -528,7 +528,7 @@ spec:
(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
properties:
containerName:
description: 'Container name: required for volumes, optional for env vars'
description: "Container name: required for volumes, optional for env vars"
type: string
divisor:
anyOf:
Expand All @@ -538,7 +538,7 @@ spec:
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
resource:
description: 'Required: resource to select'
description: "Required: resource to select"
type: string
required:
- resource
Expand Down Expand Up @@ -868,7 +868,7 @@ spec:
(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
properties:
containerName:
description: 'Container name: required for volumes, optional for env vars'
description: "Container name: required for volumes, optional for env vars"
type: string
divisor:
anyOf:
Expand All @@ -878,7 +878,7 @@ spec:
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
resource:
description: 'Required: resource to select'
description: "Required: resource to select"
type: string
required:
- resource
Expand Down Expand Up @@ -1298,7 +1298,7 @@ spec:
(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
properties:
containerName:
description: 'Container name: required for volumes, optional for env vars'
description: "Container name: required for volumes, optional for env vars"
type: string
divisor:
anyOf:
Expand All @@ -1308,7 +1308,7 @@ spec:
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
resource:
description: 'Required: resource to select'
description: "Required: resource to select"
type: string
required:
- resource
Expand Down Expand Up @@ -1638,7 +1638,7 @@ spec:
(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
properties:
containerName:
description: 'Container name: required for volumes, optional for env vars'
description: "Container name: required for volumes, optional for env vars"
type: string
divisor:
anyOf:
Expand All @@ -1648,7 +1648,7 @@ spec:
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
resource:
description: 'Required: resource to select'
description: "Required: resource to select"
type: string
required:
- resource
Expand Down Expand Up @@ -1997,7 +1997,7 @@ spec:
(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
properties:
containerName:
description: 'Container name: required for volumes, optional for env vars'
description: "Container name: required for volumes, optional for env vars"
type: string
divisor:
anyOf:
Expand All @@ -2007,7 +2007,7 @@ spec:
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
resource:
description: 'Required: resource to select'
description: "Required: resource to select"
type: string
required:
- resource
Expand Down Expand Up @@ -2335,7 +2335,7 @@ spec:
(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
properties:
containerName:
description: 'Container name: required for volumes, optional for env vars'
description: "Container name: required for volumes, optional for env vars"
type: string
divisor:
anyOf:
Expand All @@ -2345,7 +2345,7 @@ spec:
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
resource:
description: 'Required: resource to select'
description: "Required: resource to select"
type: string
required:
- resource
Expand Down Expand Up @@ -2678,7 +2678,7 @@ spec:
(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
properties:
containerName:
description: 'Container name: required for volumes, optional for env vars'
description: "Container name: required for volumes, optional for env vars"
type: string
divisor:
anyOf:
Expand All @@ -2688,7 +2688,7 @@ spec:
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
resource:
description: 'Required: resource to select'
description: "Required: resource to select"
type: string
required:
- resource
Expand Down Expand Up @@ -3042,7 +3042,7 @@ spec:
(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
properties:
containerName:
description: 'Container name: required for volumes, optional for env vars'
description: "Container name: required for volumes, optional for env vars"
type: string
divisor:
anyOf:
Expand All @@ -3052,7 +3052,7 @@ spec:
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
resource:
description: 'Required: resource to select'
description: "Required: resource to select"
type: string
required:
- resource
Expand Down Expand Up @@ -3391,7 +3391,7 @@ spec:
(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
properties:
containerName:
description: 'Container name: required for volumes, optional for env vars'
description: "Container name: required for volumes, optional for env vars"
type: string
divisor:
anyOf:
Expand All @@ -3401,7 +3401,7 @@ spec:
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
resource:
description: 'Required: resource to select'
description: "Required: resource to select"
type: string
required:
- resource
Expand Down
28 changes: 14 additions & 14 deletions deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ metadata:
name: dell-csm-operator-application-mobility-velero-server
rules:
- apiGroups:
- '*'
- "*"
resources:
- '*'
- "*"
verbs:
- '*'
- "*"
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
Expand Down Expand Up @@ -111,7 +111,7 @@ rules:
- services
- services/finalizers
verbs:
- '*'
- "*"
- apiGroups:
- ""
resourceNames:
Expand Down Expand Up @@ -172,19 +172,19 @@ rules:
- update
- watch
- apiGroups:
- '*'
- "*"
resourceNames:
- application-mobility-velero-server
resources:
- '*'
- "*"
verbs:
- '*'
- "*"
- apiGroups:
- acme.cert-manager.io
resources:
- '*/*'
- "*/*"
verbs:
- '*'
- "*"
- apiGroups:
- acme.cert-manager.io
resources:
Expand Down Expand Up @@ -274,7 +274,7 @@ rules:
resources:
- customresourcedefinitions
verbs:
- '*'
- "*"
- apiGroups:
- apiextensions.k8s.io
resources:
Expand Down Expand Up @@ -363,9 +363,9 @@ rules:
- apiGroups:
- cert-manager.io
resources:
- '*/*'
- "*/*"
verbs:
- '*'
- "*"
- apiGroups:
- cert-manager.io
resources:
Expand All @@ -374,7 +374,7 @@ rules:
- clusterissuers
- issuers
verbs:
- '*'
- "*"
- apiGroups:
- cert-manager.io
resources:
Expand Down Expand Up @@ -817,7 +817,7 @@ rules:
resources:
- ingresses
verbs:
- '*'
- "*"
- apiGroups:
- networking.k8s.io
resources:
Expand Down
Loading

0 comments on commit 75d5a17

Please sign in to comment.