Skip to content
This repository was archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
Add OTEL Collector URL option to helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
garryod committed Apr 17, 2024
1 parent 72946b3 commit 788a4f6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/energy-scan/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name: energy-scan
description: A deployment providing energy scan information as part of the graph federation
type: application

version: 0.1.0
version: 0.1.1
appVersion: 0.1.0-rc3
2 changes: 2 additions & 0 deletions charts/energy-scan/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ spec:
value: {{ include "energyScan.databaseURL" . }}
- name: PORT
value: "80"
- name: OTEL_COLLECTOR_URL
value: {{ tpl .Values.otelCollectorUrl . }}
ports:
- name: http
containerPort: 80
Expand Down
2 changes: 2 additions & 0 deletions charts/energy-scan/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ image:

imagePullSecrets: []

otelCollectorUrl: http://federation-opentelemetry-collector:4317

database:
host: mysql+pymysql://ispyb-mariadb-galera-headless/ispyb
user: ispyb_ro
Expand Down

0 comments on commit 788a4f6

Please sign in to comment.