Chore: Wrap provisioning in dskit service (#71598)

This commit is contained in:
Todd Treece
2023-07-18 15:37:25 -04:00
committed by GitHub
parent d3ab1c1c1e
commit d280fedb3f
7 changed files with 56 additions and 38 deletions
+4 -2
View File
@@ -11,14 +11,16 @@ const (
GrafanaAPIServer string = "grafana-apiserver"
// HTTPServer is the HTTP server for Grafana
HTTPServer string = "http-server"
// Provisioning sets up Grafana with preconfigured datasources, dashboards, etc.
Provisioning string = "provisioning"
)
// dependencyMap defines Module Targets => Dependencies
var dependencyMap = map[string][]string{
BackgroundServices: {},
BackgroundServices: {Provisioning, HTTPServer},
CertGenerator: {},
GrafanaAPIServer: {CertGenerator},
All: {BackgroundServices, HTTPServer},
All: {Provisioning, HTTPServer, BackgroundServices},
}