-
Sub-task
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
None
-
App Services Sprint 181, App Services Sprint 183, App Services Sprint 184
Precondition:
steps:
1. Issue the following command to make sure that there are no service binding request already before binding which means the below cmds should return empty:
oc get deploy nodejs-rest-http-crud -o jsonpath='
oc get deploy nodejs-rest-http-crud -o jsonpath='{.spec.template.spec.containers[0].envFrom}'
2. Issue the following command to create a service binding request:
make create-service-binding-request
3. Validate the request as 'Success' by issuing the following command:
oc get sbr binding-request<<name of the bindingrequest>> -o jsonpath='{.status.bindingStatus}'
4. Validate the secret as the name of the binding request by issuing the following command:
oc get sbr binding-request<<name of the bindingrequest>> -o jsonpath='{.status.secret}'
5. Issue the following command to make sure that there is service binding request which means the below cmds should return the name of the secret reference:
oc get deploy nodejs-rest-http-crud -o jsonpath='{.spec.template.spec.containers[0].env}
'
oc get deploy nodejs-rest-http-crud -o jsonpath='
'