[ANSIBLE] Create host paths for PVs and set their permissions 92/121792/1
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>
Thu, 10 Jun 2021 10:16:15 +0000 (12:16 +0200)
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>
Thu, 10 Jun 2021 10:16:15 +0000 (12:16 +0200)
commitd357db8f1df643c268cc9c11c7cc43550ed17246
tree8b3d74fd468e143e427c006af671265ca6cf9152
parente0489b69254aa7bef77b281280f869a612a89468
[ANSIBLE] Create host paths for PVs and set their permissions

Access mode for hostPath type kubernetes PVs has to be set
explicitly as setting it with pod's securityContext is not
supported.

Change-Id: I60ed71001fc7859440510f17c1989b35d28c37b5
Issue-ID: INT-1926
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
ansible/roles/k8s-persistent-volume/defaults/main.yml
ansible/roles/k8s-persistent-volume/tasks/main.yml