Skip to content

Commit

Permalink
fix: prometheus url
Browse files Browse the repository at this point in the history
  • Loading branch information
agrrh committed Dec 9, 2023
1 parent 1b6d5c3 commit 7aaff7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/helm/pagetron/templates/backend.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
- name: APP_CORS_ORIGINS
value: "{{ $.Values.publicUrl }}"
- name: PROMETHEUS_ADDR
value: http://prometheus:9090/
value: "{{ $.Values.prometheusUrl }}"

ports:
- name: http
Expand Down
3 changes: 3 additions & 0 deletions deploy/helm/pagetron/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ targets:

publicUrl: "https://pagetron.example.org"

# May be changed to use external Prometheus
prometheusUrl: "http://prometheus:9090/"

backend:
replicas: 1
image:
Expand Down

0 comments on commit 7aaff7b

Please sign in to comment.