Skip to content

Commit 3ac7273

Browse files
feat(helm): Add Prometheus configuration to Helm chart
This change adds the ability to configure the Prometheus URL via the Helm chart. - A `prometheus` section with a `url` field has been added to `values.yaml`. - The `configmap.yaml` template has been updated to use this value to configure the application.
1 parent 751110e commit 3ac7273

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

charts/kubernetes-mcp-server/templates/configmap.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ data:
2222
username = "{{ .Values.config.confluence.username }}"
2323
token = "{{ .Values.config.confluence.token }}"
2424
{{- end }}
25+
{{- if .Values.config.prometheus.url }}
26+
[prometheus]
27+
url = "{{ .Values.config.prometheus.url }}"
28+
{{- end }}
2529
{{- if .Values.config.oauth.require }}
2630
[oauth]
2731
require = {{ .Values.config.oauth.require }}

charts/kubernetes-mcp-server/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ config:
104104
# url: https://your-confluence-instance
105105
# username: user
106106
# token: "" # It is recommended to set this via --set-string in a CI/CD pipeline
107+
prometheus:
108+
# url: http://your-prometheus-instance:9090
107109
oauth:
108110
# require: false
109111
# audience: ""

0 commit comments

Comments
 (0)