Skip to content

Commit

Permalink
[CHORE] adding prom metadata
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Takashi <[email protected]>
  • Loading branch information
nicolastakashi committed Feb 7, 2024
1 parent 553f45c commit da7f8e4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 4 additions & 1 deletion metrics/prometheus-agent/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

## Prometheus-Agent

### v0.0.16 / 2023-07-10
### v0.0.16 / 2024-02-07
* [FEATURE] Adding Pod Metadata to Prometheus Agent

### v0.0.16 / 2024-02-07
* [FEATURE] Adding Image Pull Secrets to Prometheus Agent

### v0.0.15 / 2023-07-10
Expand Down
4 changes: 4 additions & 0 deletions metrics/prometheus-agent/templates/prometheus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,8 @@ spec:
{{- if .Values.global.imagePullSecrets }}
imagePullSecrets:
{{ include "kube-prometheus-stack.imagePullSecrets" . | trim | indent 4 }}
{{- end }}
{{- if .Values.prometheus.prometheusSpec.podMetadata }}
podMetadata:
{{ tpl (toYaml .Values.prometheus.prometheusSpec.podMetadata | indent 4) . }}
{{- end }}
1 change: 1 addition & 0 deletions metrics/prometheus-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ prometheus:
sessionAffinity: ""

prometheusSpec:
podMetadata: {}
portName: "http-web"
routePrefix: /
startupProbe:
Expand Down

0 comments on commit da7f8e4

Please sign in to comment.