You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.
an user reported that provisioning local pv hostpath volumes is throwing the following error:
' failed to provision volum ││ e with StorageClass "local-hostpath": Pod "init-pvc-86c9d288-262b-
4b34-b8d7-9299f868a749" is invalid: spec.containers[0].securityContext.privileged: Forbidden:
disallowed ││ by cluster policy
Solution/Workaround: User got this working by setting --allow-privileged=true on the kube-apiserver.
The text was updated successfully, but these errors were encountered:
From the slack conversation:
an user reported that provisioning local pv hostpath volumes is throwing the following error:
Solution/Workaround: User got this working by setting
--allow-privileged=true
on the kube-apiserver.The text was updated successfully, but these errors were encountered: