mirror of
https://github.com/grafana/grafana.git
synced 2024-12-02 05:29:42 -06:00
76abbef32d
* chore: refactor SecretMigrationProviderImpl as a dskit service
29 lines
1.0 KiB
Go
29 lines
1.0 KiB
Go
package modules
|
|
|
|
const (
|
|
// All includes all modules necessary for Grafana to run as a standalone application.
|
|
All string = "all"
|
|
// BackgroundServices includes all Grafana services that run in the background
|
|
BackgroundServices string = "background-services"
|
|
// CertGenerator generates certificates for grafana-apiserver
|
|
CertGenerator string = "cert-generator"
|
|
// GrafanaAPIServer is the Kubertenes API server for Grafana Resources
|
|
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"
|
|
// SecretMigrator handles legacy secrets migrations
|
|
SecretMigrator string = "secret-migrator"
|
|
)
|
|
|
|
// dependencyMap defines Module Targets => Dependencies
|
|
var dependencyMap = map[string][]string{
|
|
BackgroundServices: {Provisioning, HTTPServer},
|
|
CertGenerator: {},
|
|
GrafanaAPIServer: {CertGenerator},
|
|
Provisioning: {SecretMigrator},
|
|
|
|
All: {BackgroundServices},
|
|
}
|