Skip to content

Commit e186707

Browse files
committed
second commit
Signed-off-by: Ambika Nair <[email protected]>
1 parent a5e16d3 commit e186707

14 files changed

+19
-2486
lines changed

api/v1alpha1/fixstalevolume_types.go renamed to api/v1alpha1/recoverstalevolume_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ type FixStaleVolumeStatus struct {
4444
//+kubebuilder:object:root=true
4545
//+kubebuilder:subresource:status
4646

47-
// FixStaleVolume is the Schema for the fixstalevolumes API
47+
// FixStaleVolume is the Schema for the recoverstalevolumes API
4848
type FixStaleVolume struct {
4949
metav1.TypeMeta `json:",inline"`
5050
metav1.ObjectMeta `json:"metadata,omitempty"`

config/crd/bases/csi.ibm.com_fixstalevolumes.yaml

Lines changed: 0 additions & 61 deletions
This file was deleted.

config/crd/bases/csi.ibm.com_ibmobjectcsis.yaml

Lines changed: 0 additions & 1989 deletions
This file was deleted.

config/crd/kustomization.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ patchesStrategicMerge:
1010
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix.
1111
# patches here are for enabling the conversion webhook for each CRD
1212
#- patches/webhook_in_ibmobjectcsis.yaml
13-
#- patches/webhook_in_fixstalevolumes.yaml
13+
#- patches/webhook_in_restorestalevolumes.yaml
1414
#+kubebuilder:scaffold:crdkustomizewebhookpatch
1515

1616
# [CERTMANAGER] To enable cert-manager, uncomment all the sections with [CERTMANAGER] prefix.
1717
# patches here are for enabling the CA injection for each CRD
1818
#- patches/cainjection_in_ibmobjectcsis.yaml
19-
#- patches/cainjection_in_fixstalevolumes.yaml
19+
#- patches/cainjection_in_restorestalevolumes.yaml
2020
#+kubebuilder:scaffold:crdkustomizecainjectionpatch
2121

2222
# the following config is for teaching kustomize how to do kustomization for CRDs.

config/crd/patches/cainjection_in_fixstalevolumes.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

config/crd/patches/webhook_in_fixstalevolumes.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

config/rbac/fixstalevolume_editor_role.yaml

Lines changed: 0 additions & 31 deletions
This file was deleted.

config/rbac/fixstalevolume_viewer_role.yaml

Lines changed: 0 additions & 27 deletions
This file was deleted.

config/rbac/role.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ rules:
128128
- apiGroups:
129129
- objectdriver.csi.ibm.com
130130
resources:
131-
- fixstalevolumes
131+
- restorestalevolumes
132132
verbs:
133133
- create
134134
- delete
@@ -140,13 +140,13 @@ rules:
140140
- apiGroups:
141141
- objectdriver.csi.ibm.com
142142
resources:
143-
- fixstalevolumes/finalizers
143+
- restorestalevolumes/finalizers
144144
verbs:
145145
- update
146146
- apiGroups:
147147
- objectdriver.csi.ibm.com
148148
resources:
149-
- fixstalevolumes/status
149+
- restorestalevolumes/status
150150
verbs:
151151
- get
152152
- patch

config/samples/csi_v1alpha1_fixstalevolume.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)