Skip to content

Commit 479e81d

Browse files
author
dawidwisn
committed
Add example Direct
1 parent 97a116d commit 479e81d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

internal/manifest/v1alpha/examples/direct.go

+7
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,13 @@ func (d directExample) generateVariant(direct v1alphaDirect.Direct) v1alphaDirec
169169
direct.Spec.ThousandEyes = &v1alphaDirect.ThousandEyesConfig{
170170
OauthBearerToken: "[secret]",
171171
}
172+
case v1alpha.AzurePrometheus:
173+
direct.Spec.AzurePrometheus = &v1alphaDirect.AzurePrometheusConfig{
174+
URL: "https://prod-app.azuremonitor.com",
175+
TenantID: "5cdecca3-c2c5-4072-89dd-5555faf05202",
176+
ClientID: "70747025-9367-41a5-98f1-59b18b5793c3",
177+
ClientSecret: "[secret]",
178+
}
172179
default:
173180
panic(fmt.Sprintf("unexpected v1alpha.DataSourceType: %#v", d.typ))
174181
}

0 commit comments

Comments
 (0)