This section shows how to upgrade the StackGres operator using OperatorHub.
To proceed with the installation you will have to patch the InstallPlan
that has been created by the OLM operator:
kubectl get -n stackgres installplan -o name \
| while read RESOURCE
do
kubectl patch -n stackgres "$RESOURCE" --type merge -p 'spec: { approved: true }'
kubectl wait -n stackgres "$RESOURCE" --for condition=Installed
done
The installation may take a few minutes.
Finally, the output will be similar to:
installplan.operators.coreos.com/install-66964 patched
installplan.operators.coreos.com/install-66964 condition met
Upgrading an operator serves two purposes:
After upgrading the operator have a look at the following steps.