瀏覽代碼

Rename ServiceBroker to ClusterServiceBroker for ansible_service_broker task.

staebler 7 年之前
父節點
當前提交
1c1be004b5

+ 1 - 1
files/origin-components/template-service-broker-registration.yaml

@@ -10,7 +10,7 @@ parameters:
 objects:
 # register the tsb with the service catalog
 - apiVersion: servicecatalog.k8s.io/v1beta1
-  kind: ServiceBroker
+  kind: ClusterServiceBroker
   metadata:
     name: template-service-broker
   spec:

+ 2 - 2
roles/ansible_service_broker/tasks/install.yml

@@ -327,12 +327,12 @@
   oc_obj:
     name: ansible-service-broker
     state: present
-    kind: ServiceBroker
+    kind: ClusterServiceBroker
     content:
       path: /tmp/brokerout
       data:
         apiVersion: servicecatalog.k8s.io/v1beta1
-        kind: ServiceBroker
+        kind: ClusterServiceBroker
         metadata:
           name: ansible-service-broker
         spec: