소스 검색

Modify rights to allow serviceaccount to change SELinux context of volumes

Diego Abelenda 7 년 전
부모
커밋
55eb5511ab
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      roles/openshift_persistentlocalstorage/tasks/main.yml

+ 1 - 1
roles/openshift_persistentlocalstorage/tasks/main.yml

@@ -37,7 +37,7 @@
     user: "system:serviceaccount:{{ persistentlocalstorage_project }}:local-volume-provisioner"
     namespace: "{{ persistentlocalstorage_project }}"
     resource_kind: scc
-    resource_name: hostmount-anyuid
+    resource_name: privileged
     state: present
 
 - name: Give rights to local-volume-provisioner to manage volumes