浏览代码

Use oc rather than kubectl

Scott Dodson 7 年之前
父节点
当前提交
fb5994f9b3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      roles/template_service_broker/tasks/install.yml

+ 1 - 1
roles/template_service_broker/tasks/install.yml

@@ -45,7 +45,7 @@
     oc process -f "{{ mktemp.stdout }}/{{ __tsb_template_file }}"
     --param API_SERVER_CONFIG="{{ config['content'] | b64decode }}"
     --param IMAGE="{{ template_service_broker_prefix }}{{ template_service_broker_image_name }}:{{ template_service_broker_version }}"
-    | kubectl apply -f -
+    | {{ openshift.common.client_binary }} apply -f -
 
 # reconcile with rbac
 - name: Reconcile with RBAC file