mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
add redis-operator install for s390x (#5165)
Co-authored-by: wangxinke <wangxinke@wangxinkes-mbp.cn.ibm.com>
This commit is contained in:
@@ -19,6 +19,11 @@ EOF
|
||||
if [ $KUBERNETES == "true" ]; then
|
||||
# install "redis-oprator" using "kubectl" in "operators" namespace; use "operatorhubio-catalog" catalog source from "olm" namespace
|
||||
install_redis_operator kubectl operators operatorhubio-catalog olm
|
||||
elif [ $(uname -m) == "s390x" ]; then
|
||||
# create "operator-ibm-catalog" CatalogSource for s390x
|
||||
oc apply -f https://raw.githubusercontent.com/openshift/odo/main/website/manifests/catalog-source-$(uname -m).yaml
|
||||
# install "redis-oprator" using "oc" in "openshift-operators" namespace; use "operator-ibm-catalog" catalog source from "openshift-marketplace" namespace
|
||||
install_redis_operator oc openshift-operators operator-ibm-catalog openshift-marketplace
|
||||
else
|
||||
# install "redis-oprator" using "oc" in "openshift-operators" namespace; use "community-operators" catalog source from "openshift-marketplace" namespace
|
||||
install_redis_operator oc openshift-operators community-operators openshift-marketplace
|
||||
|
||||
Reference in New Issue
Block a user