File tree 3 files changed +7
-5
lines changed
3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- # Operator naming
4
- OPERATOR_NAME=" streamshub-console-operator"
5
- OPERATOR_INSTANCE_NAME=" ${OPERATOR_NAME} -v${VERSION} "
6
- OPERATOR_CSV_NAME=" ${OPERATOR_NAME} .v${VERSION} "
7
-
8
3
YQ=" $( which yq 2> /dev/null) " || :
9
4
10
5
if [ " ${YQ} " == " " ] ; then
@@ -18,3 +13,6 @@ if [ "${SKOPEO}" == "" ] ; then
18
13
echo " 'skopeo' is not installed, please visit https://github.com/containers/skopeo/blob/main/install.md for more info"
19
14
exit 1
20
15
fi
16
+
17
+ # Operator naming
18
+ OPERATOR_NAME=" streamshub-console-operator"
Original file line number Diff line number Diff line change 27
27
28
28
source ${SCRIPT_PATH} /common.sh
29
29
30
+ OPERATOR_INSTANCE_NAME=" ${OPERATOR_NAME} -v${VERSION} "
31
+ OPERATOR_CSV_NAME=" ${OPERATOR_NAME} .v${VERSION} "
32
+
30
33
BUNDLE_PATH=${SCRIPT_PATH} /../target/bundle/streamshub-console-operator/
31
34
CSV_FILE_PATH=${BUNDLE_PATH} /manifests/streamshub-console-operator.clusterserviceversion.yaml
32
35
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ OPERATOR_PATH="$(cd -- "${SCRIPT_PATH}/.." >/dev/null 2>&1 ; pwd -P)"
8
8
VERSION=" ${1?version is required} "
9
9
10
10
source ${SCRIPT_PATH} /common.sh
11
+ OPERATOR_CSV_NAME=" ${OPERATOR_NAME} .v${VERSION} "
11
12
ALPHA_CHANNEL=${OPERATOR_PATH} /src/main/olm/channel.alpha.yaml
12
13
13
14
if [ " $( ${YQ} ' (.entries[].name | select(. == "' ${OPERATOR_CSV_NAME} ' "))' ${ALPHA_CHANNEL} ) " != " " ] ; then
You can’t perform that action at this time.
0 commit comments