datadog-operator icon indicating copy to clipboard operation
datadog-operator copied to clipboard

Add ability to set operator arguments via CRD or ConfigMap in the OpenShift OLM operator

Open ddreggors opened this issue 6 months ago • 3 comments

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:

https://github.com/DataDog/datadog-operator/issues/531#issuecomment-2734661159

 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.

ddreggors avatar Aug 27 '25 15:08 ddreggors

This issue has been automatically marked as stale because it has not had activity in the past 15 days.

It will be closed in 30 days if no further activity occurs. If this issue is still relevant, adding a comment will keep it open. Also, you can always reopen the issue if you missed the window.

Thank you for your contributions!

dd-octo-sts[bot] avatar Oct 10 '25 10:10 dd-octo-sts[bot]

This should not be marked as stale; it hasn't even been assigned any developer yet. I can see if the reporter (me) failed to follow through or respond to requests, but in this case it has just been waiting for available developers.

ddreggors avatar Oct 10 '25 13:10 ddreggors

Hi @ddreggors,

Thank you for taking the time to share your feedback. We recently introduced a system to help manage long-standing issues through automated stale management. We understand this may have come as a surprise for some existing issues. We want to apologize if it felt that way. It was not our intent, and we want to reassure you that every issue is important to us and reviewed carefully. For your specific issue, we’re reviewing it to ensure the discussion progresses and receives the right level of attention. Thank you for helping improve the Datadog Agent.

— The Datadog Agent Team

chouetz avatar Nov 12 '25 17:11 chouetz