Skip to content

Commit

Permalink
[stable/insights-agent] Added new cluster name parameter to prometheu…
Browse files Browse the repository at this point in the history
…s collector (#1485)

* Added new cluster name parameter to prometheus collector

* Fixed issue
  • Loading branch information
jdesouza authored May 10, 2024
1 parent 0007d4c commit ec0e882
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions stable/insights-agent/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 4.2.2
* prometheus cluster name parameter

## 4.2.1
* prometheus service account

Expand Down
2 changes: 1 addition & 1 deletion stable/insights-agent/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: A Helm chart to run the Fairwinds Insights agent
name: insights-agent
version: 4.2.1
version: 4.2.2
appVersion: 9.2.1
kubeVersion: ">= 1.22.0-0"
icon: https://raw.githubusercontent.com/FairwindsOps/charts/master/stable/insights-agent/icon.png
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ spec:
env:
- name: PROMETHEUS_ADDRESS
value: {{ (index .Values "prometheus-metrics" "address") | quote }}
- name: CLUSTER_NAME
value: {{ (index .Values "prometheus-metrics" "managedPrometheusClusterName") | quote }}
{{ include "proxy-env-spec" . | indent 12 | trim }}
{{ include "security-context" . | indent 12 | trim }}
{{ include "uploaderContainer" . | indent 10 | trim }}
Expand Down
1 change: 1 addition & 0 deletions stable/insights-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ prometheus-metrics:
schedule: "0/10 * * * *"
timeout: 300
address: "http://prometheus-server"
managedPrometheusClusterName: ""
image:
repository: quay.io/fairwinds/prometheus-collector
tag: "1.4"
Expand Down

0 comments on commit ec0e882

Please sign in to comment.