[bitnami/prometheus] Remove GOSS duplicated command (#31513)

* [bitnami/prometheus] Remove GOSS duplicated command

Signed-off-by: David Gomez <dgomezleon@vmware.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

---------

Signed-off-by: David Gomez <dgomezleon@vmware.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
David Gomez
2025-01-22 16:01:12 +01:00
committed by GitHub
parent 289c6caf97
commit 433437cf7c
3 changed files with 18 additions and 15 deletions

View File

@@ -27,6 +27,17 @@ command:
stdout:
- /serviceaccount.*name.*{{.Env.BITNAMI_APP_NAME }}/
{{ end }}
check-config-files:
exec: promtool check config /opt/bitnami/prometheus/conf/{{ .Vars.server.existingConfigmapKey }}
exit-status: 0
stdout:
- "SUCCESS"
check-metrics:
exec: promtool query instant http://localhost:{{ .Vars.server.containerPorts.http }} prometheus_http_requests_total
exit-status: 0
stdout:
- "/-/healthy"
- "/-/ready"
file:
/opt/bitnami/prometheus/conf/{{ .Vars.server.existingConfigmapKey }}:
exists: true
@@ -65,15 +76,3 @@ http:
body:
- "{{ (first (first .Vars.server.alertingRules.groups).rules).annotations.summary }}"
{{- end }}
command:
check-config-files:
exec: promtool check config /opt/bitnami/prometheus/conf/{{ .Vars.server.existingConfigmapKey }}
exit-status: 0
stdout:
- "SUCCESS"
check-metrics:
exec: promtool query instant http://localhost:{{ .Vars.server.containerPorts.http }} prometheus_http_requests_total
exit-status: 0
stdout:
- "/-/healthy"
- "/-/ready"