summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorEric Wolinetz <ewolinet@redhat.com>2017-09-28 11:35:21 -0500
committerEric Wolinetz <ewolinet@redhat.com>2017-09-28 15:57:21 -0500
commit849463887be01dfa9945dca96384510481058b0f (patch)
treeaeabc95f0a56479eba0642464cdf75e556ef924a /files
parent6f43fc3572d8192e4a34aca9898369f9021dedaa (diff)
downloadopenshift-849463887be01dfa9945dca96384510481058b0f.tar.gz
openshift-849463887be01dfa9945dca96384510481058b0f.tar.bz2
openshift-849463887be01dfa9945dca96384510481058b0f.tar.xz
openshift-849463887be01dfa9945dca96384510481058b0f.zip
Registering the broker for TSB
Diffstat (limited to 'files')
-rw-r--r--files/origin-components/template-service-broker-registration.yaml25
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}