diff --git a/pkg/remoteconfig/orchestrator_k8s_crd.go b/pkg/remoteconfig/orchestrator_k8s_crd.go index 4fcec52b8..3abc149c1 100644 --- a/pkg/remoteconfig/orchestrator_k8s_crd.go +++ b/pkg/remoteconfig/orchestrator_k8s_crd.go @@ -102,8 +102,8 @@ func (r *RemoteConfigUpdater) crdUpdateInstanceStatus(dda v2alpha1.DatadogAgent, } // Orchestrator Explorer + newddaStatus.RemoteConfigConfiguration.Features.OrchestratorExplorer.CustomResources = []string{} if cfg.CRDs != nil { - newddaStatus.RemoteConfigConfiguration.Features.OrchestratorExplorer.CustomResources = []string{} // Overwrite custom resources by the new ones if cfg.CRDs.Crds != nil { newddaStatus.RemoteConfigConfiguration.Features.OrchestratorExplorer.CustomResources = *cfg.CRDs.Crds