소스 검색

Rename ServiceBroker to ClusterServiceBroker for ansible_service_broker task.

staebler 7 년 전
부모
커밋
1c1be004b5
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      files/origin-components/template-service-broker-registration.yaml
  2. 2 2
      roles/ansible_service_broker/tasks/install.yml

+ 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: