Skip to content

Commit b5311df

Browse files
authored
Merge pull request #8 from ashimagarg27/recoverstalevolume-uts
Recoverstalevolume Controller Unit Tests
2 parents eab6256 + 49c77cf commit b5311df

File tree

28 files changed

+4521
-110
lines changed

28 files changed

+4521
-110
lines changed

PROJECT

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ plugins:
99
manifests.sdk.operatorframework.io/v2: {}
1010
scorecard.sdk.operatorframework.io/v2: {}
1111
projectName: ibm-object-csi-driver-operator
12-
repo: github.com/alchemy-containers/ibm-object-csi-driver-operator
12+
repo: github.com/IBM/ibm-object-csi-driver-operator
1313
resources:
1414
- api:
1515
crdVersion: v1
@@ -18,7 +18,7 @@ resources:
1818
domain: csi.ibm.com
1919
group: objectdriver
2020
kind: IBMObjectCSI
21-
path: github.com/alchemy-containers/ibm-object-csi-driver-operator/api/v1alpha1
21+
path: github.com/IBM/ibm-object-csi-driver-operator/api/v1alpha1
2222
version: v1alpha1
2323
- api:
2424
crdVersion: v1
@@ -27,6 +27,6 @@ resources:
2727
domain: csi.ibm.com
2828
group: objectdriver
2929
kind: RecoverStaleVolume
30-
path: github.com/alchemy-containers/ibm-object-csi-driver-operator/api/v1alpha1
30+
path: github.com/IBM/ibm-object-csi-driver-operator/api/v1alpha1
3131
version: v1alpha1
3232
version: "3"

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: ambikanair/ibm-object-csi-driver-operator
8-
newTag: debug
7+
newName: ashimagarg/csi
8+
newTag: "43"

config/samples/csi_v1alpha1_recoverstalevolume.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ metadata:
1010
name: recoverstalevolume-sample
1111
namespace: ibm-object-csi-operator-system
1212
spec:
13-
noOfLogLines: 100
13+
noOfLogLines: 200
1414
deploymentData:
1515
- deploymentName: cos-csi-app-deployment
1616
deploymentNamespace: default
17-
# - deploymentName: cos-csi-app-deployment-2

controllers/fake/client_create/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import (
3030
"time"
3131

3232
// Using v4 to match upstream
33-
jsonpatch "github.com/evanphx/json-patch"
33+
jsonpatch "github.com/evanphx/json-patch/v5"
3434
corev1 "k8s.io/api/core/v1"
3535
policyv1 "k8s.io/api/policy/v1"
3636
policyv1beta1 "k8s.io/api/policy/v1beta1"

controllers/fake/client_delete/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import (
3030
"time"
3131

3232
// Using v4 to match upstream
33-
jsonpatch "github.com/evanphx/json-patch"
33+
jsonpatch "github.com/evanphx/json-patch/v5"
3434
corev1 "k8s.io/api/core/v1"
3535
policyv1 "k8s.io/api/policy/v1"
3636
policyv1beta1 "k8s.io/api/policy/v1beta1"

controllers/fake/client_get/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import (
3030
"time"
3131

3232
// Using v4 to match upstream
33-
jsonpatch "github.com/evanphx/json-patch"
33+
jsonpatch "github.com/evanphx/json-patch/v5"
3434
corev1 "k8s.io/api/core/v1"
3535
policyv1 "k8s.io/api/policy/v1"
3636
policyv1beta1 "k8s.io/api/policy/v1beta1"

controllers/fake/client_get/csidriver/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import (
3030
"time"
3131

3232
// Using v4 to match upstream
33-
jsonpatch "github.com/evanphx/json-patch"
33+
jsonpatch "github.com/evanphx/json-patch/v5"
3434
corev1 "k8s.io/api/core/v1"
3535
policyv1 "k8s.io/api/policy/v1"
3636
policyv1beta1 "k8s.io/api/policy/v1beta1"

0 commit comments

Comments
 (0)