Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit 4eeef3f

Browse files
authored
makes PROMETHEUS_URL configurable (with validation) in dataplane & updates tembo chart version to 25.3.6 (#81)
1 parent c4df9fc commit 4eeef3f

File tree

6 files changed

+20
-7
lines changed

6 files changed

+20
-7
lines changed

Chart.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: tembo
3-
version: 25.3.5
3+
version: 25.3.6
44
appVersion: 1.0.0
55
description: Helm chart to deploy the Tembo Platform
66
keywords:
@@ -11,10 +11,10 @@ dependencies:
1111
condition: global.certManagerEnabled
1212
- name: tembo
1313
condition: global.temboEnabled
14-
version: 25.3.5
14+
version: 25.3.6
1515
- name: monitoring
1616
condition: global.monitoringEnabled
17-
version: 25.3.5
17+
version: 25.3.6
1818
- name: traefik
1919
condition: global.traefikEnabled
20-
version: 25.3.5
20+
version: 25.3.6

charts/monitoring/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: monitoring
33
description: A Helm chart for the Tembo monitoring stack
4-
version: 25.3.5
4+
version: 25.3.6
55
dependencies:
66
- name: kube-prometheus-stack
77
version: "44.4.1"

charts/tembo/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: tembo
3-
version: 25.3.5
3+
version: 25.3.6
44
description: A Helm chart to deploy the Tembo platform
55
keywords:
66
- tembo

charts/tembo/templates/dataplane-webserver/_helpers.tpl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,17 @@ Prometheus Service Prefix
6868
{{- printf "%s-kube-prometheus-stack" .Release.Name | trunc 26 | trimSuffix "-" }}
6969
{{- end }}
7070

71+
{{/*
72+
Prometheus URL
73+
*/}}
74+
{{- define "dataplaneWebserver.prometheusUrl" -}}
75+
{{- $prometheusUrl := .Values.prometheusUrl | default .Values.dataplaneWebserver.prometheusUrl }}
76+
{{- if not $prometheusUrl -}}
77+
{{- fail "The Prometheus URL must be defined either in values.yaml or via --set." }}
78+
{{- end }}
79+
{{- $prometheusUrl }}
80+
{{- end }}
81+
7182
{{/*
7283
Define IngressClass name
7384
*/}}

charts/tembo/templates/dataplane-webserver/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ spec:
4141
env:
4242
- name: RUST_LOG
4343
value: {{ .Values.dataplaneWebserver.logLevel }}
44+
- name: PROMETHEUS_URL
45+
value: {{ include "dataplaneWebserver.prometheusUrl" . }}
4446
{{- if .Values.dataplaneWebserver.env }}{{ .Values.dataplaneWebserver.env | default list | toYaml | nindent 10 }}{{- end }}
4547
securityContext:
4648
{{- toYaml .Values.dataplaneWebserver.securityContext | nindent 12 }}

charts/traefik/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: traefik
33
description: A Helm chart for the traefik ingress controller
4-
version: 25.3.5
4+
version: 25.3.6
55
dependencies:
66
- name: traefik
77
version: 29.0.1

0 commit comments

Comments
 (0)