■ ■ ■ ■ ■ ■
pkg/service/cluster/tools/grafana.go
| skipped 15 lines |
16 | 16 | | initChownDataImageName = "kubeoperator/busybox" |
17 | 17 | | initChownDataTagAmd64Name = "1.28-amd64" |
18 | 18 | | initChownDataTagArm64Name = "1.28-arm64" |
| 19 | + | |
| 20 | + | curlImageName = "curlimages/curl" |
| 21 | + | curlImageTagName = "7.73.0" |
19 | 22 | | ) |
20 | 23 | | |
21 | 24 | | type Grafana struct { |
| skipped 22 lines |
44 | 47 | | values["initChownData.enabled"] = true |
45 | 48 | | values["initChownData.image.repository"] = fmt.Sprintf("%s:%d/%s", c.LocalHostName, constant.LocalDockerRepositoryPort, initChownDataImageName) |
46 | 49 | | values["datasources.'datasources\\.yaml'.apiVersion"] = 1 |
| 50 | + | values["downloadDashboardsImage.repository"] = curlImageName |
| 51 | + | values["downloadDashboardsImage.tag"] = curlImageTagName |
47 | 52 | | |
48 | 53 | | if len(c.prometheusNs) != 0 { |
49 | 54 | | values["datasources.'datasources\\.yaml'.datasources[0].name"] = "MYDS_Prometheus" |
| skipped 64 lines |