Browse Source

Modify rights to allow serviceaccount to change SELinux context of volumes

Diego Abelenda 7 years ago
parent
commit
55eb5511ab
1 changed files with 1 additions and 1 deletions
  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