diff --git a/.vib/prometheus/goss/goss.yaml b/.vib/prometheus/goss/goss.yaml index 32c4768502..cc6e906289 100644 --- a/.vib/prometheus/goss/goss.yaml +++ b/.vib/prometheus/goss/goss.yaml @@ -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" diff --git a/bitnami/prometheus/CHANGELOG.md b/bitnami/prometheus/CHANGELOG.md index 4ea12eb1f9..973bde0246 100644 --- a/bitnami/prometheus/CHANGELOG.md +++ b/bitnami/prometheus/CHANGELOG.md @@ -1,8 +1,12 @@ # Changelog -## 1.4.2 (2025-01-17) +## 1.4.3 (2025-01-22) -* [bitnami/prometheus] Release 1.4.2 ([#31446](https://github.com/bitnami/charts/pull/31446)) +* [bitnami/prometheus] Remove GOSS duplicated command ([#31513](https://github.com/bitnami/charts/pull/31513)) + +## 1.4.2 (2025-01-17) + +* [bitnami/prometheus] Release 1.4.2 (#31446) ([8d5a3a8](https://github.com/bitnami/charts/commit/8d5a3a81abd654712bdddeec3f7263890dabe9b8)), closes [#31446](https://github.com/bitnami/charts/issues/31446) ## 1.4.1 (2025-01-13) diff --git a/bitnami/prometheus/Chart.yaml b/bitnami/prometheus/Chart.yaml index eca7b547b5..ed662ee89c 100644 --- a/bitnami/prometheus/Chart.yaml +++ b/bitnami/prometheus/Chart.yaml @@ -36,4 +36,4 @@ sources: - https://github.com/bitnami/containers/tree/main/bitnami/prometheus - https://github.com/prometheus/prometheus - https://github.com/prometheus-community/helm-charts -version: 1.4.2 +version: 1.4.3