From 6438416c251fe0dc0453f330fd242eace6f9517f Mon Sep 17 00:00:00 2001 From: Arve Seljebu Date: Mon, 17 Oct 2022 15:22:12 +0200 Subject: [PATCH 1/2] Link to constants.go on master branch Got confused constants.go had no changes since last summer. Line number is unlikely to change (has not in a year). --- documentation/deploy_grafana.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/deploy_grafana.md b/documentation/deploy_grafana.md index b41fe1186..59fd529e9 100644 --- a/documentation/deploy_grafana.md +++ b/documentation/deploy_grafana.md @@ -55,7 +55,7 @@ flags or `baseImage` CR spec fields. This chart shows how the operator prioritises which image will be used for the deployment, and the versions that it's known to support. Only the grafana image specified in -code [here](https://github.com/grafana-operator/grafana-operator/blob/530821825c9f7791aa486a94aabdb03efdc6aa6d/controllers/constants/constants.go#L5) will be +code [here](https://github.com/grafana-operator/grafana-operator/blob/master/controllers/constants/constants.go#L5) will be supported in unit/e2e tests and as part of the operator, any other specified grafana image through these options may not work as expected. From 384791a8bc646aceb24ddd6a39d5981a9c1896d5 Mon Sep 17 00:00:00 2001 From: Arve Seljebu Date: Mon, 17 Oct 2022 15:27:01 +0200 Subject: [PATCH 2/2] Fix broken link --- documentation/deploy_grafana.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/deploy_grafana.md b/documentation/deploy_grafana.md index 59fd529e9..65202f115 100644 --- a/documentation/deploy_grafana.md +++ b/documentation/deploy_grafana.md @@ -67,7 +67,7 @@ The operator accepts a number of flags that can be passed in the `args` section * `--grafana-image`: overrides the Grafana image, defaults to `docker.io/grafana/grafana` on grafanas official dockerhub, the version of which can be - found [here](https://github.com/integr8ly/grafana-operator/blob/master/pkg/controller/model/constants.go#L4-L5). + found [here](https://github.com/grafana-operator/grafana-operator/blob/master/controllers/constants/constants.go#L5). * `--grafana-image-tag`: overrides the Grafana tag. See `controller_config.go` for default.