Skip to content

Commit

Permalink
Merge pull request #146 from leelavg/remove-classclaim
Browse files Browse the repository at this point in the history
api: remove storageclassclaim api & migration controller
  • Loading branch information
openshift-merge-bot[bot] authored Apr 21, 2024
2 parents 6d2997d + cf84a55 commit 00598f9
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 389 deletions.
8 changes: 0 additions & 8 deletions PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@ resources:
kind: StorageClient
path: github.com/red-hat-storage/ocs-client-operator/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
domain: openshift.io
group: ocs
kind: StorageClassClaim
path: github.com/red-hat-storage/ocs-client-operator/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
Expand Down
7 changes: 0 additions & 7 deletions api/v1alpha1/storageclaim_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@ type StorageClaimStatus struct {
Phase storageClaimState `json:"phase,omitempty"`
}

// TODO: remove after storageclassclaim migration controller and storageclassclaim is deleted

type StorageClientNamespacedName struct {
Name string `json:"name"`
Namespace string `json:"namespace"`
}

// StorageClaimSpec defines the desired state of StorageClaim
type StorageClaimSpec struct {
//+kubebuilder:validation:Enum=block;sharedfile
Expand Down
89 changes: 0 additions & 89 deletions api/v1alpha1/storageclassclaim_types.go

This file was deleted.

114 changes: 0 additions & 114 deletions api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 0 additions & 26 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,32 +169,6 @@ rules:
- 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
Loading

0 comments on commit 00598f9

Please sign in to comment.