Skip to content

Commit

Permalink
bundle: update CRD field and latest changes
Browse files Browse the repository at this point in the history
Signed-off-by: Leela Venkaiah G <[email protected]>
  • Loading branch information
leelavg committed Apr 22, 2024
1 parent bf5478e commit 44f5a68
Show file tree
Hide file tree
Showing 13 changed files with 6 additions and 342 deletions.
31 changes: 0 additions & 31 deletions bundle/manifests/ocs-client-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ spec:
kind: StorageClaim
name: storageclaims.ocs.openshift.io
version: v1alpha1
- description: StorageClassClaim is the Schema for the storageclassclaims API
displayName: Storage Class Claim
kind: StorageClassClaim
name: storageclassclaims.ocs.openshift.io
version: v1alpha1
- description: StorageClient is the Schema for the storageclients API
displayName: Storage Client
kind: StorageClient
Expand Down Expand Up @@ -202,32 +197,6 @@ spec:
- get
- patch
- update
- apiGroups:
- ocs.openshift.io
resources:
- storageclassclaims
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ocs.openshift.io
resources:
- storageclassclaims/finalizers
verbs:
- update
- apiGroups:
- ocs.openshift.io
resources:
- storageclassclaims/status
verbs:
- get
- patch
- update
- apiGroups:
- ocs.openshift.io
resources:
Expand Down
6 changes: 3 additions & 3 deletions bundle/manifests/ocs.openshift.io_storageclaims.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ spec:
storageProfile:
type: string
type:
enum:
- block
- sharedfile
type: string
x-kubernetes-validations:
- message: value should be either 'sharedfile' or 'block'
rule: self.lowerAscii()=='block'||self.lowerAscii()=='sharedfile'
required:
- storageClient
- type
Expand Down
104 changes: 0 additions & 104 deletions bundle/manifests/ocs.openshift.io_storageclassclaims.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions config/crd/bases/ocs.openshift.io_storageclaims.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ spec:
storageProfile:
type: string
type:
enum:
- block
- sharedfile
type: string
x-kubernetes-validations:
- message: value should be either 'sharedfile' or 'block'
rule: self.lowerAscii()=='block'||self.lowerAscii()=='sharedfile'
required:
- storageClient
- type
Expand Down
99 changes: 0 additions & 99 deletions config/crd/bases/ocs.openshift.io_storageclassclaims.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions config/crd/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,19 @@
# It should be run by config/default
resources:
- bases/ocs.openshift.io_storageclients.yaml
- bases/ocs.openshift.io_storageclassclaims.yaml
- bases/ocs.openshift.io_storageclaims.yaml
#+kubebuilder:scaffold:crdkustomizeresource

patchesStrategicMerge:
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix.
# patches here are for enabling the conversion webhook for each CRD
#- patches/webhook_in_storageclients.yaml
#- patches/webhook_in_storageclassclaims.yaml
#- patches/webhook_in_storageclaims.yaml
#+kubebuilder:scaffold:crdkustomizewebhookpatch

# [CERTMANAGER] To enable cert-manager, uncomment all the sections with [CERTMANAGER] prefix.
# patches here are for enabling the CA injection for each CRD
#- patches/cainjection_in_storageclients.yaml
#- patches/cainjection_in_storageclassclaims.yaml
#- patches/cainjection_in_storageclaims.yaml
#+kubebuilder:scaffold:crdkustomizecainjectionpatch

Expand Down
7 changes: 0 additions & 7 deletions config/crd/patches/cainjection_in_storageclassclaims.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions config/crd/patches/webhook_in_storageclassclaims.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ spec:
kind: StorageClaim
name: storageclaims.ocs.openshift.io
version: v1alpha1
- description: StorageClassClaim is the Schema for the storageclassclaims API
displayName: Storage Class Claim
kind: StorageClassClaim
name: storageclassclaims.ocs.openshift.io
version: v1alpha1
- description: StorageClient is the Schema for the storageclients API
displayName: Storage Client
kind: StorageClient
Expand Down
31 changes: 0 additions & 31 deletions config/rbac/storageclassclaim_editor_role.yaml

This file was deleted.

27 changes: 0 additions & 27 deletions config/rbac/storageclassclaim_viewer_role.yaml

This file was deleted.

Loading

0 comments on commit 44f5a68

Please sign in to comment.