Skip to content

Commit afed797

Browse files
committed
Review comments
Signed-off-by: Ambika Nair <[email protected]>
1 parent aefefa3 commit afed797

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

config/manager/kustomization.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
44
kind: Kustomization
55
images:
66
- name: controller
7-
newName: ashimagarg/csi
8-
newTag: "41"
7+
newName: ambikanair/ibm-object-csi-driver-operator
8+
newTag: rename

config/samples/csi_v1alpha1_ibmobjectcsi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ spec:
1313
# and csi-provisioner, csi-attacher, csi-snapshotter and livenessprobe sidecars.
1414
controller:
1515
repository: icr.io/ibm/ibm-object-csi-driver
16-
tag: "v1.0.1-alpha"
16+
tag: "v1.0.2-alpha"
1717
imagePullPolicy: IfNotPresent
1818
affinity:
1919
nodeAffinity:
@@ -29,7 +29,7 @@ spec:
2929
# and csi-node-driver-registrar and livenessprobe sidecars.
3030
node:
3131
repository: icr.io/ibm/ibm-object-csi-driver
32-
tag: "v1.0.1-alpha"
32+
tag: "v1.0.2-alpha"
3333
imagePullPolicy: Always
3434
affinity:
3535
nodeAffinity:

controllers/recoverstalevolume_controller.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import (
3434
"sigs.k8s.io/controller-runtime/pkg/client"
3535
logf "sigs.k8s.io/controller-runtime/pkg/log"
3636

37-
csiv1alpha1 "github.ibm.com/alchemy-containers/ibm-object-csi-driver-operator/api/v1alpha1"
37+
objectdriverv1alpha1 "github.ibm.com/alchemy-containers/ibm-object-csi-driver-operator/api/v1alpha1"
3838
)
3939

4040
// RecoverStaleVolumeReconciler reconciles a RecoverStaleVolume object
@@ -67,7 +67,7 @@ func (r *RecoverStaleVolumeReconciler) Reconcile(ctx context.Context, req ctrl.R
6767
reqLogger.Info("Reconciling RecoverStaleVolume")
6868

6969
// Fetch RecoverStaleVolume instance
70-
instance := &csiv1alpha1.RecoverStaleVolume{}
70+
instance := &objectdriverv1alpha1.RecoverStaleVolume{}
7171
err := r.Get(ctx, req.NamespacedName, instance)
7272
if err != nil {
7373
if k8serr.IsNotFound(err) {
@@ -264,7 +264,7 @@ func (r *RecoverStaleVolumeReconciler) Reconcile(ctx context.Context, req ctrl.R
264264
// SetupWithManager sets up the controller with the Manager.
265265
func (r *RecoverStaleVolumeReconciler) SetupWithManager(mgr ctrl.Manager) error {
266266
return ctrl.NewControllerManagedBy(mgr).
267-
For(&csiv1alpha1.RecoverStaleVolume{}).
267+
For(&objectdriverv1alpha1.RecoverStaleVolume{}).
268268
Complete(r)
269269
}
270270

0 commit comments

Comments
 (0)