-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
False
-
-
False
-
Release Note Not Required
-
-
Description of problem:
After installing the orchestrator-infra Helm chart, there is the following output in notes:
NOTES: Helm Release my-orchestrator-infra installed in namespace sonataflow-infra. Components Installed Namespace ==================================================================== Red Hat Serverless Operator YES openshift-serverless Red Hat Serverless Logic Operator YES openshift-serverless-logic ==================================================================== To manually approve the openshift-serverless InstallPlan: OS_PLAN=$(oc get installplan -n openshift-serverless) oc patch installplan $OS_PLAN -n openshift-serverless --type merge --patch '{"spec":{"approved":true}}' To manually approve the openshift-serverless-logic InstallPlan: OSL_PLAN=$(oc get installplan -n openshift-serverless) oc patch installplan $OSL_PLAN -n openshift-serverless --type merge --patch '{"spec":{"approved":true}}'
The command for getting the installplan name is incorrect. It should be:
OS_PLAN=$(oc get installplan -n openshift-serverless -o name)
and the follow up command should be:
oc patch $OS_PLAN -n openshift-serverless --type merge --patch '{"spec":{"approved":true}}'
The same should be done for the section that retrives and patches the serverless-logic installplan.
In addition, the second section should use the openshift-serverless-logic namespace, and not openshift-serverless.
Steps to Reproduce
- Install the orchestrator-infra Helm chart.
- Try to follow the instructions outputted in the notes.
Actual results:
oc patch will fails as the oc get installplan command generates incorrect output.
Expected results:
Commands should generate desired output