This SOP covers scaling down RHOAM operator when 3scale APIManager CR is created
- RHOAM installation is triggered
until oc get apimanager 3scale -n redhat-rhoam-3scale; do
echo "APIManager isn't created yet"
sleep 2
done
echo "APIManager is present. Scaling down RHOAM"
oc scale deployment rhmi-operator -n redhat-rhoam-operator --replicas=0
oc scale deployment rhmi-operator -n redhat-rhoam-operator --replicas=1