Skip to content

Commit

Permalink
update prometheus url
Browse files Browse the repository at this point in the history
  • Loading branch information
maria-reynoso committed Oct 16, 2024
1 parent 7882b0d commit 910f3f9
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ data:
{{- end}}
"provider" : {{ .Values.opencost.provider | quote }}
}
{{- end }}
{{- end }}
1 change: 1 addition & 0 deletions installation/Helmfile_kind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ releases:
namespace: finops-stack
values:
- "./config/common/grafana-values.yaml"
- "./config/{{ requiredEnv "HOST_ENV" }}/grafana-values.yaml"
- adminUser: {{ requiredEnv "GRAFANA_ADMIN_USER" }}
- adminPassword: {{ requiredEnv "GRAFANA_ADMIN_PW" }}

Expand Down
10 changes: 10 additions & 0 deletions installation/config/kind/grafana-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
datasources:
datasources.yaml:
apiVersion: 1
datasources:
- name: Prometheus
type: prometheus
uid: "PFB5ABA51A8A585D7"
url: http://prometheus-server
isDefault: true
editable: true
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
opencost:
prometheus:
external:
enabled: true
url: http://prometheus-server
internal:
enabled: false
customPricing:
# -- Enables custom pricing for on-premise setup.
enabled: true
Expand Down

0 comments on commit 910f3f9

Please sign in to comment.