Kubernetes clusters with PodSecurityPolicy enabled may refuse to deploy Odiglet due to the privileged permissions required (hostPID, hostNetwork, hostPath, etc).
We should detect if PodSecurityPolicy is enabled in this cluster (maybe by finding if the resource exists?)
and if so we should create a new policy and bind it to the odiglet service account.
Kubernetes clusters with PodSecurityPolicy enabled may refuse to deploy Odiglet due to the privileged permissions required (hostPID, hostNetwork, hostPath, etc).
We should detect if PodSecurityPolicy is enabled in this cluster (maybe by finding if the resource exists?)
and if so we should create a new policy and bind it to the
odigletservice account.