瀏覽代碼

Remove directory creation for crio

crio installs and starts without these directories.  After MCD
configures the host, crio fails to start without these directories being
created.  MCO should be updated to create these directories if they are
required.
Russell Teague 5 年之前
父節點
當前提交
5daa6bb94e
共有 1 個文件被更改,包括 0 次插入14 次删除
  1. 0 14
      roles/openshift_node/tasks/install.yml

+ 0 - 14
roles/openshift_node/tasks/install.yml

@@ -9,20 +9,6 @@
   register: result
   until: result is succeeded
 
-# FIXME: Creation of these directories should not be required for crio 1.16+
-- name: Create CNI dirs for crio
-  file:
-    path: "{{ item }}"
-    state: directory
-    owner: root
-    group: root
-    mode: 0755
-  loop:
-  - /var/lib/cni/bin
-  - /etc/kubernetes/cni/net.d/
-  - /opt/cni/bin/
-  - /usr/share/containers/oci/hooks.d
-
 - name: Get cluster version
   command: >
     oc get clusterversion