Skip to content

Commit 474585e

Browse files
KyriosGN0jkroepke
andauthored
[grafana-mcp] use grafana/mcp-grafana instead of the docker image (#3948)
Co-authored-by: Jan-Otto Kröpke <[email protected]>
1 parent 0679243 commit 474585e

File tree

5 files changed

+25
-9
lines changed

5 files changed

+25
-9
lines changed

charts/grafana-mcp/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: grafana-mcp
3-
version: 0.1.4
4-
appVersion: latest
3+
version: 0.2.0
4+
appVersion: 0.7.6
55
kubeVersion: "^1.8.0-0"
66
description: MCP server for Grafana.
77
home: https://grafana.com

charts/grafana-mcp/README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ helm delete my-release
3737

3838
The command removes all the Kubernetes components associated with the chart and deletes the release.
3939

40+
## Upgrading
41+
42+
A major chart version change indicates that there is an incompatible breaking change needing manual actions.
43+
44+
### From Chart versions < 0.1.3
45+
If you are upgrading from a chart version older than 0.1.3, we have changed the image to be pulled from
46+
`grafana/mcp-grafana` instead of `mcp/grafana` and the default tag to be the chart's appVersion instead of `latest`.
47+
4048
## Values
4149

4250
| Key | Type | Default | Description |
@@ -63,11 +71,11 @@ The command removes all the Kubernetes components associated with the chart and
6371
| grafana.apiKeySecret.name | string | `""` | Name of the secret containing the API key |
6472
| grafana.url | string | `"http://grafana:3000"` | Grafana URL (should point to the main Grafana service) |
6573
| hostAliases | list | `[]` | Host aliases |
66-
| image | object | `{"pullPolicy":"IfNotPresent","registry":"docker.io","repository":"mcp/grafana","tag":"latest"}` | Image configuration |
74+
| image | object | `{"pullPolicy":"IfNotPresent","registry":"docker.io","repository":"grafana/mcp-grafana","tag":""}` | Image configuration |
6775
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
6876
| image.registry | string | `"docker.io"` | The Docker registry |
69-
| image.repository | string | `"mcp/grafana"` | The Docker repository |
70-
| image.tag | string | `"latest"` | Image tag |
77+
| image.repository | string | `"grafana/mcp-grafana"` | The Docker repository |
78+
| image.tag | string | `""` | Image tag |
7179
| imagePullSecrets | list | `[]` | Image pull secrets |
7280
| ingress | object | `{"annotations":{},"className":"","enabled":false,"hosts":[{"host":"mcp-grafana.local","paths":[{"path":"/","pathType":"Prefix"}]}],"labels":{},"tls":[]}` | Ingress configuration |
7381
| ingress.annotations | object | `{}` | Ingress annotations |

charts/grafana-mcp/README.md.gotmpl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,12 @@ helm delete my-release
3333

3434
The command removes all the Kubernetes components associated with the chart and deletes the release.
3535

36+
## Upgrading
37+
38+
A major chart version change indicates that there is an incompatible breaking change needing manual actions.
39+
40+
### From Chart versions < 0.1.3
41+
If you are upgrading from a chart version older than 0.1.3, we have changed the image to be pulled from
42+
`grafana/mcp-grafana` instead of `mcp/grafana` and the default tag to be the chart's appVersion instead of `latest`.
43+
3644
{{ template "chart.valuesSection" . }}

charts/grafana-mcp/templates/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ spec:
7373
- name: mcp-grafana
7474
{{- $registry := .Values.image.registry -}}
7575
{{- if $registry }}
76-
image: "{{ $registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}"
76+
image: "{{ $registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
7777
{{- else }}
78-
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
78+
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
7979
{{- end }}
8080
imagePullPolicy: {{ .Values.image.pullPolicy }}
8181
{{- with .Values.readinessProbe }}

charts/grafana-mcp/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ image:
1313
# -- The Docker registry
1414
registry: docker.io
1515
# -- The Docker repository
16-
repository: mcp/grafana
16+
repository: grafana/mcp-grafana
1717
# -- Image tag
18-
tag: "latest"
18+
tag: ""
1919
# -- Image pull policy
2020
pullPolicy: IfNotPresent
2121

0 commit comments

Comments
 (0)