This needs to be done in case the installer is stuck at "template service broker" role for some reason.
-
Run the command
oc get secret/templateservicebroker-client -n openshift-template-service-broker -o yamland copy the value ofservice-ca.crtsomewhere -
Create a cluster service broker yaml file (replace SECRET_KEY_VALUE with the value retrieved from
service-ca.crt):
apiVersion: servicecatalog.k8s.io/v1beta1
kind: ClusterServiceBroker
metadata:
name: template-service-broker
spec:
relistBehavior: Duration
relistRequests: 0
url: https://apiserver.openshift-template-service-broker.svc:443/brokers/template.openshift.io
caBundle: SECRET_KEY_VALUE
authInfo:
bearer:
secretRef:
name: templateservicebroker-client
namespace: openshift-template-service-broker- Run
oc get clusterservicebrokerto check the status oftemplate-service-brokeruntil it is ready (or check its status by adding-o yamlin case it has a different status other than ready) - an empty status means the broker is still being provisioned.