[operator] Installation fails on AKS with default Azure Policy for K8s #700
Labels
chart:operator
Issue related to opentelemetry-operator helm chart
enhancement
New feature or request
Opentelemetry operator installation via Helm chart fails on Azure Kubernetes Service cluster, which has enabled default Azure Policies, with the following message:
The above message is due to Azure Policy "Kubernetes cluster should not allow privileged containers]" violation. The root cause is that container security context property
allowPrivilegeEscalation
is not explicitly set tofalse
and there is no way to set container security context via values overrides. There is a similar issue reported for autoinstrumentationI was able to start the pods by manually editing operator deployment and setting container security context
allowPrivilegeEscalation
tofalse
. It would be great if Helm values allowed to set the container security context (e.g.containerSecurityContext
).Kubernetes server version: v1.25.5
The text was updated successfully, but these errors were encountered: