diff --git a/internal/manifest/v1alpha/examples/direct.go b/internal/manifest/v1alpha/examples/direct.go index 9c5d5d6d..c9a2124f 100644 --- a/internal/manifest/v1alpha/examples/direct.go +++ b/internal/manifest/v1alpha/examples/direct.go @@ -43,6 +43,7 @@ var betaChannelDirects = []v1alpha.DataSourceType{ v1alpha.Honeycomb, v1alpha.LogicMonitor, v1alpha.GoogleCloudMonitoring, + v1alpha.AzurePrometheus, } func (d directExample) Generate() v1alphaDirect.Direct { diff --git a/tests/v1alpha_direct_test.go b/tests/v1alpha_direct_test.go index d3bc193a..029f7012 100644 --- a/tests/v1alpha_direct_test.go +++ b/tests/v1alpha_direct_test.go @@ -162,6 +162,9 @@ func assertV1alphaDirectsAreEqual(t *testing.T, expected, actual v1alphaDirect.D expected.Spec.SumoLogic.AccessKey = "[hidden]" case v1alpha.ThousandEyes: expected.Spec.ThousandEyes.OauthBearerToken = "[hidden]" + case v1alpha.AzurePrometheus: + expected.Spec.AzurePrometheus.ClientID = "[hidden]" + expected.Spec.AzurePrometheus.ClientSecret = "[hidden]" default: panic(fmt.Sprintf("unexpected v1alpha.DataSourceType: %#v", typ)) }