template-service-broker-registration.yaml 704 B

12345678910111213141516171819202122232425
  1. apiVersion: template.openshift.io/v1
  2. kind: Template
  3. metadata:
  4. name: template-service-broker-registration
  5. parameters:
  6. - name: TSB_NAMESPACE
  7. value: openshift-template-service-broker
  8. - name: CA_BUNDLE
  9. required: true
  10. objects:
  11. # register the tsb with the service catalog
  12. - apiVersion: servicecatalog.k8s.io/v1beta1
  13. kind: ClusterServiceBroker
  14. metadata:
  15. name: template-service-broker
  16. spec:
  17. url: https://apiserver.${TSB_NAMESPACE}.svc:443/brokers/template.openshift.io
  18. insecureSkipTLSVerify: false
  19. caBundle: ${CA_BUNDLE}
  20. authInfo:
  21. bearer:
  22. secretRef:
  23. kind: Secret
  24. name: templateservicebroker-client
  25. namespace: ${TSB_NAMESPACE}