DataDog/helm-charts

Remove allowedFlexVolumes from SCC or add possibility on values.yaml to configure it

Open

#1,789 opened on Apr 1, 2025

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Go (1,048 forks)auto 404
chart/datadoggood first issuestale

Repository metrics

Stars
 (418 stars)
PR merge metrics
 (PR metrics pending)

Description

Hi Folks,

When using the chart on openshift, and using GitOPS (like ArgoCD), it will constantly show it is out of sync because you set allowedFlexVolumes here:

https://github.com/DataDog/helm-charts/blob/b9b9b80c562531b0e89b194c85b092c39749e592/charts/datadog/templates/agent-scc.yaml#L40 .

And since you are adding an empty value, Openshift will delete it from the SCC causing it to be out of sync with your code.

Potential Solutions 1- Add a parameter on values.yaml so people can actually add values to it 2- Just remove the allowedFlexVolumes line from the SCC, since Openshift will not use it

Source: https://access.redhat.com/solutions/7040709

Image

See if that makes sense, the fixes shouldn't affect anybody, just get in sync with the end state in the cluster.

Best Regards, Filipe

Contributor guide