Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion helm/kagent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,9 @@ tools:
grafana-mcp:
grafana:
url: "grafana.kagent:3000/api"
apiKey: "-"
serviceAccountToken: ""
# apiKey: "" # Deprecated - use serviceAccountToken instead.
# secretRef: "" # Name of Secret to reference (contains GRAFANA_SERVICE_ACCOUNT_TOKEN or GRAFANA_API_KEY)
Comment thread
TOMOFUMI-KONDO marked this conversation as resolved.
resources:
requests:
cpu: 100m
Expand Down
2 changes: 1 addition & 1 deletion helm/tools/grafana-mcp/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
- configMapRef:
name: {{ include "grafana-mcp.fullname" . }}
- secretRef:
name: {{ include "grafana-mcp.fullname" . }}
name: {{ .Values.grafana.secretRef | default (include "grafana-mcp.fullname" .) | quote }}
ports:
- name: http
containerPort: {{ .Values.service.port }}
Expand Down
2 changes: 2 additions & 0 deletions helm/tools/grafana-mcp/templates/secret.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if not .Values.grafana.secretRef }}
apiVersion: v1
kind: Secret
metadata:
Expand All @@ -13,3 +14,4 @@ data:
{{- if and .Values.grafana.apiKey (not .Values.grafana.serviceAccountToken) }}
GRAFANA_API_KEY: {{ .Values.grafana.apiKey | b64enc }}
{{- end }}
{{- end }}
3 changes: 2 additions & 1 deletion helm/tools/grafana-mcp/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ replicas: 1
grafana:
url: "grafana.kagent:3000/api"
serviceAccountToken: ""
apiKey: "" # Deprecated - use serviceAccountToken instead.
# apiKey: "" # Deprecated - use serviceAccountToken instead.
Comment thread
TOMOFUMI-KONDO marked this conversation as resolved.
# secretRef: "" # Name of Secret to reference (contains GRAFANA_SERVICE_ACCOUNT_TOKEN or GRAFANA_API_KEY)
Comment thread
TOMOFUMI-KONDO marked this conversation as resolved.

image:
registry: mcp
Expand Down
Loading