Skip to content

Commit 93f840a

Browse files
committed
fix comments
Signed-off-by: AvivGuiser <[email protected]>
1 parent 9fed818 commit 93f840a

File tree

8 files changed

+40
-11
lines changed

8 files changed

+40
-11
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
/charts/synthetic-monitoring-agent/ @torstenwalter @zanhsieh
2020
/charts/agent-operator/ @grafana/grafana-agent-maintainers
2121
/charts/cloudcost-exporter/ @grafana/platform-monitoring
22-
/charts/grafana-mcp/ @jkroepke @Sheikh-Abubaker
22+
/charts/grafana-mcp/ @jkroepke @Sheikh-Abubaker @KyriosGN0

charts/grafana-mcp/Chart.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: grafana-mcp
3-
version: 1.0.0
4-
appVersion: 1.0.0
3+
version: 0.1.0
4+
appVersion: latest
55
kubeVersion: "^1.8.0-0"
66
description: MCP server for Grafana.
77
home: https://grafana.com
@@ -21,6 +21,8 @@ maintainers:
2121
2222
- name: jkroepke
2323
24+
- name: KyriosGN0
25+
2426
type: application
2527
keywords:
2628
- monitoring

charts/grafana-mcp/README.md.gotmpl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{{ template "chart.header" . }}
22

3-
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}
4-
53
{{ template "chart.description" . }}
64

75
{{ template "chart.sourcesSection" . }}

charts/grafana-mcp/ci/with-affinity-values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
grafana:
2+
apiKey: "test"
3+
14
affinity:
25
podAntiAffinity:
36
preferredDuringSchedulingIgnoredDuringExecution:

charts/grafana-mcp/templates/deployment.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,18 @@ spec:
7878
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
7979
{{- end }}
8080
imagePullPolicy: {{ .Values.image.pullPolicy }}
81+
{{- with .Values.readinessProbe }}
82+
readinessProbe:
83+
{{- toYaml . | nindent 12 }}
84+
{{- end }}
85+
{{- with .Values.livenessProbe }}
86+
livenessProbe:
87+
{{- toYaml . | nindent 12 }}
88+
{{- end }}
89+
{{- with .Values.startupProbe }}
90+
startupProbe:
91+
{{- toYaml . | nindent 12 }}
92+
{{- end }}
8193
{{- with .Values.containerSecurityContext }}
8294
securityContext:
8395
{{- toYaml . | nindent 12 }}

charts/grafana-mcp/templates/secret.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ metadata:
1111
{{- toYaml . | nindent 4 }}
1212
{{- end }}
1313
type: Opaque
14-
stringData:
15-
api-key: {{ .Values.grafana.apiKey }}
14+
data:
15+
api-key: {{ .Values.grafana.apiKey | toString | b64enc }}
1616
{{- end }}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{{- if .Values.serviceAccount.create }}
22
apiVersion: v1
33
kind: ServiceAccount
4-
automountServiceAccountToken: {{ .Values.serviceAccount.autoMount | default .Values.serviceAccount.automountServiceAccountToken }}
4+
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
55
metadata:
66
labels:
7-
{{- include "grafana.labels" . | nindent 4 }}
7+
{{- include "grafana-mcp.labels" . | nindent 4 }}
88
{{- with .Values.serviceAccount.labels }}
99
{{- toYaml . | nindent 4 }}
1010
{{- end }}
1111
{{- with .Values.serviceAccount.annotations }}
1212
annotations:
1313
{{- tpl (toYaml . | nindent 4) $ }}
1414
{{- end }}
15-
name: {{ include "grafana.serviceAccountName" . }}
16-
namespace: {{ include "grafana.namespace" . }}
15+
name: {{ include "grafana-mcp.serviceAccountName" . }}
16+
namespace: {{ include "grafana-mcp.namespace" . }}
1717
{{- end }}

charts/grafana-mcp/values.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,16 @@ envValueFrom: {}
5353
# -- Environment variables from ConfigMaps or Secrets
5454
envFrom: []
5555

56+
# -- MCP server Readiness probe configuration
57+
readinessProbe: {}
58+
#
59+
60+
# -- MCP server Liveness probe configuration
61+
livenessProbe: {}
62+
63+
# -- MCP server Startup probe configuration
64+
startupProbe: {}
65+
5666
# -- Service account Configuration
5767
serviceAccount:
5868
# -- Enable service account
@@ -61,6 +71,10 @@ serviceAccount:
6171
name: ""
6272
# -- Annotations for the service account
6373
annotations: {}
74+
# -- Labels for the service account
75+
labels: {}
76+
# -- Automount service account token
77+
automountServiceAccountToken: false
6478

6579
# -- Service configuration
6680
service:

0 commit comments

Comments
 (0)