odigos icon indicating copy to clipboard operation
odigos copied to clipboard

Configure PodSecurityPolicy for Odiglet during installation if enabled in cluster

Open edeNFed opened this issue 1 year ago • 2 comments

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.

edeNFed avatar Oct 04 '23 07:10 edeNFed