Currently, it seems the only mechanism in OpenShift to set the operator arguments like --datadogMonitorEnabled=true (and others) is via CSV:
As seen in this comment on issue 531:
#531 (comment)
oc get csv -n openshift-operators datadog-operator.v1.12.1 -o json | grep args -B 5 -A 3
}
},
"spec": {
"containers": [
{
"args": [
"--enable-leader-election",
"--pprof",
"--datadogMonitorEnabled=true"
This really should be addressed; a CSV is a post-install object managed by the OLM and is not the best approach to setting flags for operators. This should be configurable either via a CRD or a ConfigMap.