diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-09-29 16:57:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-29 16:57:18 -0400 |
commit | 1cd0a0c1165a4f274b30d7570f2e3ab2009e0046 (patch) | |
tree | e669d78f162ea0679682d4cfb5bef67869d2dfc8 /files/origin-components | |
parent | 4c7d5c40c2820f83ad10eeb30b7b4cc07c0ef700 (diff) | |
parent | 849463887be01dfa9945dca96384510481058b0f (diff) | |
download | openshift-1cd0a0c1165a4f274b30d7570f2e3ab2009e0046.tar.gz openshift-1cd0a0c1165a4f274b30d7570f2e3ab2009e0046.tar.bz2 openshift-1cd0a0c1165a4f274b30d7570f2e3ab2009e0046.tar.xz openshift-1cd0a0c1165a4f274b30d7570f2e3ab2009e0046.zip |
Merge pull request #5575 from ewolinetz/bz1470623
Registering the broker for TSB
Diffstat (limited to 'files/origin-components')
-rw-r--r-- | files/origin-components/template-service-broker-registration.yaml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/files/origin-components/template-service-broker-registration.yaml b/files/origin-components/template-service-broker-registration.yaml new file mode 100644 index 000000000..2086978f0 --- /dev/null +++ b/files/origin-components/template-service-broker-registration.yaml @@ -0,0 +1,25 @@ +apiVersion: template.openshift.io/v1 +kind: Template +metadata: + name: template-service-broker-registration +parameters: +- name: TSB_NAMESPACE + value: openshift-template-service-broker +- name: CA_BUNDLE + required: true +objects: +# register the tsb with the service catalog +- apiVersion: servicecatalog.k8s.io/v1alpha1 + kind: ServiceBroker + metadata: + name: template-service-broker + spec: + url: https://apiserver.${TSB_NAMESPACE}.svc:443/brokers/template.openshift.io + insecureSkipTLSVerify: false + caBundle: ${CA_BUNDLE} + authInfo: + bearer: + secretRef: + kind: Secret + name: templateservicebroker-client + namespace: ${TSB_NAMESPACE} |