diff --git a/operator/controllers/common/providers/provider.go b/operator/controllers/common/providers/provider.go index bb49fef8182..6e97d0a7467 100644 --- a/operator/controllers/common/providers/provider.go +++ b/operator/controllers/common/providers/provider.go @@ -8,6 +8,7 @@ import ( "github.com/go-logr/logr" klcv1alpha2 "github.com/keptn/lifecycle-toolkit/operator/apis/lifecycle/v1alpha2" + "github.com/keptn/lifecycle-toolkit/operator/controllers/common/providers/datadog" "github.com/keptn/lifecycle-toolkit/operator/controllers/common/providers/dynatrace" "github.com/keptn/lifecycle-toolkit/operator/controllers/common/providers/keptnmetric" "github.com/keptn/lifecycle-toolkit/operator/controllers/common/providers/prometheus" @@ -43,6 +44,11 @@ func NewProvider(provider string, log logr.Logger, k8sClient client.Client) (Kep Log: log, K8sClient: k8sClient, }, nil + case DataDogProviderName: + return &datadog.KeptnDataDogProvider{ + Log: log, + HttpClient: http.Client{}, + }, nil default: return nil, fmt.Errorf("provider %s not supported", provider) }