diff --git a/ci/upgrade/cstor/cstor-operator.tmp.yaml b/ci/upgrade/cstor/cstor-operator.tmp.yaml index d3b8af25..dd52c7dd 100644 --- a/ci/upgrade/cstor/cstor-operator.tmp.yaml +++ b/ci/upgrade/cstor/cstor-operator.tmp.yaml @@ -104,6 +104,10 @@ spec: - name: cvc-operator imagePullPolicy: IfNotPresent image: imageorg/cvc-operator:testimage + args: + - "--v=2" + - "--leader-election=false" + - "--bind=$(OPENEBS_CVC_POD_IP)" env: # OPENEBS_IO_BASE_DIR is used to configure base directory for openebs on host path. # Where OpenEBS can store required files. Default base path will be /var/openebs @@ -118,6 +122,10 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace + - name: OPENEBS_CVC_POD_IP + valueFrom: + fieldRef: + fieldPath: status.podIP - name: OPENEBS_SERVICEACCOUNT_NAME valueFrom: fieldRef: diff --git a/pkg/version/util.go b/pkg/version/util.go index 03f452b3..42ced74e 100644 --- a/pkg/version/util.go +++ b/pkg/version/util.go @@ -25,7 +25,7 @@ var ( "1.10.0": true, "1.11.0": true, "1.12.0": true, "2.0.0": true, "2.1.0": true, "2.2.0": true, "2.3.0": true, "2.4.0": true, "2.4.1": true, "2.5.0": true, "2.6.0": true, - "2.7.0": true, "2.8.0": true, "2.9.0": true, + "2.7.0": true, "2.8.0": true, "2.9.0": true, "2.10.0": true, } validDesiredVersion = strings.Split(GetVersion(), "-")[0] )