Skip to content

Commit dbd8ee9

Browse files
authored
fix(olm-deploy): Use subscription name compatible with what tests expect (#1128)
The new name is explicitly expected by some tests https://github.com/redhat-developer/gitops-operator/blob/71974fd4b6c39969dc717ce9b5b77b79fb826064/test/openshift/e2e/ginkgo/fixture/fixture.go#L429 Signed-off-by: Oliver Gondža <ogondza@gmail.com>
1 parent f4fdcdf commit dbd8ee9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

hack/scripts/olm-deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ trap 's=$?; echo >&2 "$0: Error on line "$LINENO": $BASH_COMMAND"; exit $s' ERR
55

66
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
77

8-
SUBSCRIPTION_NAME="gitops-operator"
8+
SUBSCRIPTION_NAME="openshift-gitops-operator"
99
OPERATOR_NAMESPACE="openshift-gitops-operator"
1010
VERSION="$(git describe --tags --dirty | sed 's/^v//')-$(date '+%Y%m%d-%H%M%S')"
1111

@@ -79,7 +79,7 @@ metadata:
7979
namespace: $OPERATOR_NAMESPACE
8080
spec:
8181
channel: latest
82-
name: $SUBSCRIPTION_NAME
82+
name: gitops-operator
8383
installPlanApproval: Automatic
8484
source: devel-gitops-service-source
8585
sourceNamespace: openshift-marketplace

0 commit comments

Comments
 (0)