Skip to content

Commit

Permalink
Squash
Browse files Browse the repository at this point in the history
* [kube-prometheus-stack] Allow to directory config prometheus.spec and alertmanager.spec

Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>

* Add tests

Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>

* Update charts/kube-prometheus-stack/values.yaml

Co-authored-by: Gabriel Martinez <19713226+GMartinez-Sisti@users.noreply.github.com>
Signed-off-by: Jan-Otto Kröpke <github@jkroepke.de>

---------

Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>
Signed-off-by: Jan-Otto Kröpke <github@jkroepke.de>
Co-authored-by: Gabriel Martinez <19713226+GMartinez-Sisti@users.noreply.github.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

pod security spec updates

- Update to the podSpec in `_helpers.tpl` with `customPingGroupRange` and included sensible default for ping range
- Update to the `deployment.yaml` to reflect updates

Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus] Allow setting automountServiceAccountToken (prometheus-community#3911)

* Allow turning setting  automountServiceAccountToken

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

* Allow turning setting  automountServiceAccountToken

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

---------

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus-json-exporter] fix configmap name according to standard (prometheus-community#3926)

Signed-off-by: t3mi <t3mi@users.noreply.github.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus] Allow setting scrape_config_files in prometheus config (prometheus-community#3930)

Signed-off-by: Roshan Jobanputra <roshan@materialize.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[kube-prometheus-stack] fixes thanos configs (prometheus-community#3918)

* break: kube-prom-stack thanos-ruler config secrets

Signed-off-by: ThameezBo <thameezbo@double.cloud>

* fix: linting

Signed-off-by: ThameezBo <thameezbo@double.cloud>

* fix: update README

Signed-off-by: ThameezBo <thameezbo@double.cloud>

* fix: linting

Signed-off-by: ThameezBo <thameezbo@double.cloud>

* fix: comments

Signed-off-by: ThameezBo <thameezbo@double.cloud>

* Update charts/kube-prometheus-stack/values.yaml

Co-authored-by: Gabriel Martinez <19713226+GMartinez-Sisti@users.noreply.github.com>
Signed-off-by: thameezb <thameezbo@double.cloud>

* fix: cater for prom.promSpec.thanos

Signed-off-by: ThameezBo <thameezbo@double.cloud>

* fix: linting

Signed-off-by: ThameezBo <thameezbo@double.cloud>

* fix: cater for all three permutations

Signed-off-by: ThameezBo <thameezbo@double.cloud>

---------

Signed-off-by: ThameezBo <thameezbo@double.cloud>
Signed-off-by: thameezb <thameezbo@double.cloud>
Signed-off-by: thameezbo <thameezbo@double.cloud>
Co-authored-by: Gabriel Martinez <19713226+GMartinez-Sisti@users.noreply.github.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus] Loosen typing for pdb.maxUnavailable (prometheus-community#3927)

* Loosen PDB typing

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

* Loosen PDB typing

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

---------

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com>
Co-authored-by: zeritti <47476160+zeritti@users.noreply.github.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[kube-prometheus-stack] Update Thanos with critical fixes for objstorage and HTTP/2 CVE (prometheus-community#3935)

* [kube-prometheus-stack] Update Thanos Ruler with critical fixes for objstorage

Signed-off-by: Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com>

* Update values.yaml

Signed-off-by: Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com>

* Update values.yaml

Signed-off-by: Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com>

---------

Signed-off-by: Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

Populating dynamic honorLabels and honorTimestamps in kubelet ServiceMonitor (prometheus-community#3934)

* Implementing dynamic honorLables and honorTimestamp in kubelet ServiceMonitor

Signed-off-by: andrejshapal <njuhaandrej@mail.ru>

* Updating values with default honorTimestamp and honorLables

Signed-off-by: andrejshapal <njuhaandrej@mail.ru>

* Bumping chart version

Signed-off-by: andrejshapal <njuhaandrej@mail.ru>

* Linting

Signed-off-by: andrejshapal <njuhaandrej@mail.ru>

* Linting

Signed-off-by: andrejshapal <njuhaandrej@mail.ru>

* Linting

Signed-off-by: andrejshapal <njuhaandrej@mail.ru>

* Update Chart.yaml

Signed-off-by: andrejshapal <njuhaandrej@mail.ru>

* Update charts/kube-prometheus-stack/Chart.yaml

Co-authored-by: Gabriel Martinez <19713226+GMartinez-Sisti@users.noreply.github.com>
Signed-off-by: andrejshapal <njuhaandrej@mail.ru>

* Update charts/kube-prometheus-stack/Chart.yaml

Co-authored-by: Gabriel Martinez <19713226+GMartinez-Sisti@users.noreply.github.com>
Signed-off-by: andrejshapal <njuhaandrej@mail.ru>

---------

Signed-off-by: andrejshapal <njuhaandrej@mail.ru>
Co-authored-by: Gabriel Martinez <19713226+GMartinez-Sisti@users.noreply.github.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus] Upgrade Prometheus, update deps (prometheus-community#3947)

* update deps

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

* Update charts/prometheus/Chart.yaml

Co-authored-by: zeritti <47476160+zeritti@users.noreply.github.com>
Signed-off-by: Ilia Lazebnik <Ilia.lazebnik@gmail.com>

* Update charts/prometheus/Chart.yaml

Co-authored-by: zeritti <47476160+zeritti@users.noreply.github.com>
Signed-off-by: Ilia Lazebnik <Ilia.lazebnik@gmail.com>

---------

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: Ilia Lazebnik <Ilia.lazebnik@gmail.com>
Co-authored-by: zeritti <47476160+zeritti@users.noreply.github.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus-stackdriver-exporter] bump stackdriver exporter to 0.14.1 (prometheus-community#3847)

* bump stackdriver exporter to 0.14.1

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

* bump stackdriver exporter to 0.14.1

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

* Update Chart.yaml

Signed-off-by: Ilia Lazebnik <Ilia.lazebnik@gmail.com>

---------

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: Ilia Lazebnik <Ilia.lazebnik@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[CI] Fix linter job (prometheus-community#3962)

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Co-authored-by: Ben Kochie <superq@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[jiralert] Fix template error in ingress (prometheus-community#3936)

Co-authored-by: MH <zanhsieh@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus-adapter] allow customize clusterrole resources (prometheus-community#3944)

Allow end user to change cluster role resources in external and custom metrics

Signed-off-by: Mao-Hsiang Lien <6195019+titanlien@users.noreply.github.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus-postgres-exporter] Upgrade postgres-exporter version (prometheus-community#3976)

* [prometheus-postgres-exporter] Upgrade postgres-exporter version

Signed-off-by: tukak <lukas.kutner@productboard.com>

* [prometheus-postgres-exporter] Bump chart version

Signed-off-by: tukak <lukas.kutner@productboard.com>

---------

Signed-off-by: tukak <lukas.kutner@productboard.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus-adapter] Fix security context capabilities (prometheus-community#3952)

K8s Pod security standards capabilities should be all uppercase

Signed-off-by: Krishna <gskrishna719@gmail.com>
Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: Ilia Lazebnik <Ilia.lazebnik@gmail.com>
Co-authored-by: Ilia Lazebnik <Ilia.lazebnik@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[kube-state-metrics] Add http2 support on servicemonitor (prometheus-community#3955)

Signed-off-by: nikhil bhat <nikhilbhat2008@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[kube-state-metrics] Add templating support in ServiceMonitor labels/annotations (prometheus-community#3975)

Signed-off-by: birca <birca@adobe.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus-memcached-exporter] Fix: allow to configure extra labels and annotations for the Service (prometheus-community#3943)

Signed-off-by: R.Sicart <roger.sicart@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

Bump to 0.69.1 (prometheus-community#3990)

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus-operator-admission-webhook] Bump to 0.69.1 (prometheus-community#3989)

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus-pushgateway] Bump to 1.6.2 (prometheus-community#3995)

* Bump to 1.6.2

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

* Bump to 1.6.2

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

---------

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

Bump helm/chart-releaser-action from 1.5.0 to 1.6.0 (prometheus-community#3967)

Bumps [helm/chart-releaser-action](https://github.com/helm/chart-releaser-action) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/helm/chart-releaser-action/releases)
- [Commits](helm/chart-releaser-action@v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: helm/chart-releaser-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

Bump to 2.10.1 (prometheus-community#3996)

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus] Bump deps (prometheus-community#3997)

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus] Support retention size, attach volume labels to PVC (prometheus-community#3985)

* Remove unused helper template prometheus.daemonset.apiVersion

Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com>

* Attach labels to standalone PVC

Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com>

* Minor corrections in comments

Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com>

* Do not render resources unless set

Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com>

* Update values schema

Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com>

* Add support for data retention size

Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com>

* Bump chart version

Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com>

* Insert commonMetaLabels in values file

Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com>

* Add header to values file

Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com>

* Bump chart version

Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com>

---------

Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com>
Co-authored-by: MH <zanhsieh@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

Bump to 0.69.1 (prometheus-community#3988)

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[kube-prometheus-stack] Bump grafana and kube-state-metrics charts (prometheus-community#4000)

* [kube-prometheus-stack] Bump grafana and kube-state-metrics charts

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>

* fix readme

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>

---------

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[kube-prometheus-stack] Add missing RABC permission for Prometheus Operator (prometheus-community#4005)

Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>
Signed-off-by: Sacha <sacha.smart@gmail.com>

Add priorityClassName, fix typePrefixes (prometheus-community#3932)

Signed-off-by: Rimantas Ragainis <rimantas.ragainis@gmail.com>
Co-authored-by: Rico Pahlisch <pahli88@googlemail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

Bump to 1.7.0 (prometheus-community#4012)

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus-blackbox-exporter] fix issue when set extra containers (prometheus-community#3850)

* fix issue when set extra containers

Signed-off-by: Allan Hung <hung.allan@gmail.com>

* consistent indentation

Signed-off-by: Allan Hung <hung.allan@gmail.com>

---------

Signed-off-by: Allan Hung <hung.allan@gmail.com>
Signed-off-by: allanhung <hung.allan@gmail.com>
Co-authored-by: MH <zanhsieh@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

fix(prometheus-mysql-exporter): set serviceaccount lifecycle (prometheus-community#3949)

Signed-off-by: Marcelo Clavel <marcelo.clavel@buda.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[blackbox] Allow helm values in extraArgs (prometheus-community#3937)

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: André Bauer <monotek@users.noreply.github.com>
Co-authored-by: André Bauer <monotek@users.noreply.github.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus-mysql-exporter] Support multiple target (prometheus-community#3751)

* [prometheus-mysql-exporter]: multi-target probe support

Signed-off-by: Remy Mollandin <remy.mollandin@skale-5.com>

* [prometheus-mysql-exporter]: updating value comments for targets structure

Signed-off-by: Remy Mollandin <remy.mollandin@skale-5.com>

* [prometheus-mysql-exporter]: add default relabeling for multiple target

Signed-off-by: Remy Mollandin <remy.mollandin@skale-5.com>

* feat(prometheus-mysql-exporter): modify values structure and now support shared credentials pattern

Signed-off-by: Remy Mollandin <remy.mollandin@skale-5.com>

* [prometheus-mysql-exporter]: modify values comment

Signed-off-by: Remy Mollandin <remy.mollandin@skale-5.com>

* chore: bump chart version to 2.2.0

Signed-off-by: Remy Mollandin <remy.mollandin@skale-5.com>

* docs: indent targets doc string

Signed-off-by: Remy Mollandin <remy.mollandin@skale-5.com>

* Update charts/prometheus-mysql-exporter/values.yaml

Signed-off-by: André Bauer <monotek@users.noreply.github.com>

* Update charts/prometheus-mysql-exporter/values.yaml

Signed-off-by: André Bauer <monotek@users.noreply.github.com>

---------

Signed-off-by: Remy Mollandin <remy.mollandin@skale-5.com>
Signed-off-by: André Bauer <monotek@users.noreply.github.com>
Co-authored-by: André Bauer <monotek@users.noreply.github.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[kube-prometheus-stack] Generate windows dashboard from hack/sync (prometheus-community#4013)

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Co-authored-by: Gabriel Martinez <19713226+GMartinez-Sisti@users.noreply.github.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus-blackbox-exporter] support podMonitoring CR for Google Ma… (prometheus-community#3959)

* [prometheus-blackbox-exporter] support podMonitoring CR for Google Managed Prometheus

Signed-off-by: Calvin Pham <calvin@inboxs.com>

* [prometheus-blackbox-exporter] remove version bump in README

Signed-off-by: Calvin Pham <calvin@inboxs.com>

* [prometheus-blackbox-exporter] bump chart version

Signed-off-by: Calvin Pham <calvin@inboxs.com>

---------

Signed-off-by: Calvin Pham <calvin@inboxs.com>
Co-authored-by: Calvin Pham <calvin@inboxs.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus-blackbox-exporter] add action=replace to metricsRelabelings (prometheus-community#3857)

This (default) parameter is automatically added by k8s, causing the in-cluster
object to differ from the manifest created by this chart. This discrepancy
causes GitOps tooling to consider the resource out of date, as described in
prometheus-community#3626

Signed-off-by: Alex Miller <alex@thinkmassive.org>
Signed-off-by: André Bauer <monotek@users.noreply.github.com>
Co-authored-by: André Bauer <monotek@users.noreply.github.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus-adapter] Bump prom adapter to 0.11.2 (prometheus-community#4021)

* Bump prom adapter to 0.11.2

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

* Bump prom adapter to 0.11.2

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

---------

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus-adapter] Only set priorityClassName if non-empty (prometheus-community#4026)

Argo CD rejects the deployment when the priorityClassName key is present without a value.

Signed-off-by: Ian Gudger <ian.gudger@applovin.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[jiralert] add envFrom config (prometheus-community#4014)

Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus] automountServiceAccountToken to be configurable (prometheus-community#3998)

Signed-off-by: Ian H. Lee <ianhlee2018@outlook.com>
Signed-off-by: MH <zanhsieh@gmail.com>
Co-authored-by: MH <zanhsieh@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus-windows-exporter] add memory collector to windows-exporter values.yaml (prometheus-community#4028)

Signed-off-by: Sacha <sacha.smart@gmail.com>

Bump prom to 2.48.0 (prometheus-community#4018)

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com>
Co-authored-by: zeritti <47476160+zeritti@users.noreply.github.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[kube-prometheus-stack] Configure additional aggregation labels + k8s.rules split (prometheus-community#3883)

* [kube-prometheus-stack] Configure additional aggregation labels

Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>

* Re-run sync

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>

* Re-run sync

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>

* Add new values for rules

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>

* Add new values for rules

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>

* Add new values for rules

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>

* [kube-prometheus-stack] Fix names

Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>

* bump version

Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>

---------

Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>
Signed-off-by: Jan-Otto Kröpke <github@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Co-authored-by: Gabriel Martinez <19713226+GMartinez-Sisti@users.noreply.github.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[kube-prometheus-stack] Bump prom to 2.48.0 + node exporter dep (prometheus-community#4017)

* Bump prom to 2.48.0

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

* Bump prom to 2.48.0

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

* Bump prom to 2.48.0

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

---------

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Co-authored-by: Gabriel Martinez <19713226+GMartinez-Sisti@users.noreply.github.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

Fixing configmaps Datasource when Prometheus Replicas and Exemplar Trace Id Destinations enabled (prometheus-community#4032)

Signed-off-by: Wes Brown <wes.brown@favordelivery.com>
Signed-off-by: Wes Brown <87991518+wesbrownfavor@users.noreply.github.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus-ipmi-exporter] Bump ipmi to 1.7.0 (prometheus-community#4022)

* Bump ipmi to 1.7.0

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

* Bump ipmi to 1.7.0

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

---------

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Co-authored-by: MH <zanhsieh@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus-adapter] - Added pod security policy specific annotations (prometheus-community#4035)

Signed-off-by: James Neate <jamesmneate@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus-operator-crds] Bump crds to 0.70.0 (prometheus-community#4047)

Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus-operator-admission-webhook] Bump to 0.70.0 (prometheus-community#4048)

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus-operator-crds] Fix accidental space (prometheus-community#4049)

Signed-off-by: Sacha <sacha.smart@gmail.com>

[kube-prometheus-stack] Bump operator to 0.70.0 (prometheus-community#4046)

Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus] bump reloader to 0.70.0 (prometheus-community#4064)

* bump reloader to 0.70.0

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

* Update charts/prometheus/Chart.yaml

Co-authored-by: MH <zanhsieh@gmail.com>
Signed-off-by: Ilia Lazebnik <Ilia.lazebnik@gmail.com>

---------

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: Ilia Lazebnik <Ilia.lazebnik@gmail.com>
Co-authored-by: MH <zanhsieh@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

bump memcached to 0.14.1 (prometheus-community#4062)

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus-statsd-exporter] Bump to 0.26.0 (prometheus-community#3993)

* Bump to 0.25.0

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

* Update Chart.yaml

Signed-off-by: Ilia Lazebnik <Ilia.lazebnik@gmail.com>

---------

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: Ilia Lazebnik <Ilia.lazebnik@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[CI] Introduce CI CODEOWNER (prometheus-community#4019)

* [CI] Introduce CI CODEOWNER

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>

* [CI] Introduce CI CODEOWNER

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>

* [CI] Add @GMartinez-Sisti

Signed-off-by: Gabriel Martinez <gabrielmartinez@sisti.pt>

---------

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Gabriel Martinez <gabrielmartinez@sisti.pt>
Co-authored-by: Gabriel Martinez <gabrielmartinez@sisti.pt>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[CI] Introduce interface for additional lint tasks (prometheus-community#3987)

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Co-authored-by: Quentin Bisson <quentin.bisson@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus-opencost-exporter] new OpenCost Prometheus exporter chart (prometheus-community#3872)

* Initial commits

Signed-off-by: Matt Ray <github@mattray.dev>

* Migrated over ServiceAccount from the opencost-helm-chart repo

Signed-off-by: Matt Ray <github@mattray.dev>

* Imported ClusterRole and ClusterRoleBinding

Signed-off-by: Matt Ray <github@mattray.dev>

* Add the Deployment from opencost-helm-chart

Signed-off-by: Matt Ray <github@mattray.dev>

* Add the Service from opencost-helm-chart, edited for exporter-only

Signed-off-by: Matt Ray <github@mattray.dev>

* Updated with recommendations from review and latest OpenCost release

Signed-off-by: Matt Ray <github@mattray.dev>

* Updated to sync with upstream https://github.com/opencost/opencost-helm-chart

Once that's merged it'll be the upstream to here.

Signed-off-by: Matt Ray <github@mattray.dev>

* Updating the `home` field based on feedback and version bump

Signed-off-by: Matt Ray <github@mattray.dev>

* fix url

Signed-off-by: André Bauer <monotek@users.noreply.github.com>

---------

Signed-off-by: Matt Ray <github@mattray.dev>
Signed-off-by: André Bauer <monotek@users.noreply.github.com>
Co-authored-by: André Bauer <monotek@users.noreply.github.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus-postgres-exporter] - introduced priorityClassName (prometheus-community#4069)

* introduced priorityClassName

Signed-off-by: Joachim Winkler <jwinkler@telekom.de>

* add suggestions

Signed-off-by: Joachim Winkler <jwinkler@telekom.de>

* remove space

Signed-off-by: Joachim Winkler <jwinkler@telekom.de>

---------

Signed-off-by: Joachim Winkler <jwinkler@telekom.de>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[kube-prometheus-stack] Add custom CI actions (prometheus-community#4065)

* [kube-prometheus-stack] Add custom CI actions

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>

* Apply suggestions from code review

Co-authored-by: Gabriel Martinez <19713226+GMartinez-Sisti@users.noreply.github.com>
Signed-off-by: Jan-Otto Kröpke <github@jkroepke.de>

---------

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <github@jkroepke.de>
Co-authored-by: Gabriel Martinez <19713226+GMartinez-Sisti@users.noreply.github.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[kube-prometheus-stack] Allow run Prometheus Operator Webhook receiver separately (prometheus-community#4023)

* [kube-prometheus-stack] Allow run Prometheus Operator Webhook receiver separately

Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>

* [kube-prometheus-stack] unify hostnames

Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>

* Add PDB

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>

* [kube-prometheus-stack] revert unify hostnames

Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>

* [kube-prometheus-stack] fix pdb

Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>

* [kube-prometheus-stack] add probes

Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>

* revert template calls

Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>

---------

Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>
Signed-off-by: Jan-Otto Kröpke <github@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[CI] Run shellcheck on custom lint file (prometheus-community#4072)

Signed-off-by: Gabriel Martinez <gabrielmartinez@sisti.pt>
Signed-off-by: Sacha <sacha.smart@gmail.com>

Bump actions/setup-python from 4 to 5 (prometheus-community#4079)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[kube-prometheus-stack] Shellcheck linter file (prometheus-community#4073)

* [kube-prometheus-stack] Shellcheck linter file

Signed-off-by: Gabriel Martinez <gabrielmartinez@sisti.pt>

* bump chart

Signed-off-by: Gabriel Martinez <gabrielmartinez@sisti.pt>

---------

Signed-off-by: Gabriel Martinez <gabrielmartinez@sisti.pt>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[kube-prometheus-stack] Allow to define editable property on dashboards (prometheus-community#4024)

* [kube-prometheus-stack] Allow to define editable property on dashboards

Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>

* resolve MR conflict

Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>

* Update Chart.yaml

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>

---------

Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>
Signed-off-by: Jan-Otto Kröpke <github@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[kube-prometheus-stack] Allow configuration of sessionAffinityConfig (prometheus-community#4076)

* [kube-prometheus-stack] Allow configuration of sessionAffinityConfig

Signed-off-by: karloramone <karlo.krupljan@gmail.com>

* [kube-prometheus-stack] Bump chart version to 55.2.0

Signed-off-by: karloramone <karlo.krupljan@gmail.com>

* [kube-prometheus-stack] Bump chart version to 55.3.0

Signed-off-by: karloramone <karlo.krupljan@gmail.com>

---------

Signed-off-by: karloramone <karlo.krupljan@gmail.com>
Signed-off-by: Karlo <72765825+karloramone@users.noreply.github.com>
Co-authored-by: Quentin Bisson <quentin.bisson@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[kube-prometheus-stack] bump prometheus image tag to 2.48.1 (prometheus-community#4082)

Signed-off-by: Lukas Monkevicius <lukas.monkevicius@unity3d.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus-json-exporter] feat: allow namespace override (prometheus-community#4067)

Signed-off-by: t3mi <t3mi@users.noreply.github.com>
Co-authored-by: MH <zanhsieh@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus] bump prom to 2.48.1 (prometheus-community#4083)

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[kube-prometheus-stack] allow setting `GOGC` env configure (prometheus-community#4058)

* add GOGC env setting

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>

* fix lint checker

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>

* fix value quote

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>

* Update charts/kube-prometheus-stack/values.yaml

Signed-off-by: dongjiang <dongjiang1989@126.com>

* update chart version

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>

* fix shellcheck lint

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>

---------

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
Signed-off-by: dongjiang <dongjiang1989@126.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

bump mongo to 0.40 (prometheus-community#4084)

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

[prometheus-fastly-exporter] Bump to 7.6.1 (prometheus-community#4002)

* Bump to 7.6.1

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

* fix chart app version

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

---------

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

feat: bump prometheus-nats-exporter to 0.13.0 (prometheus-community#3956)

Signed-off-by: Mikhail Naletov <okgolove@markeloff.net>
Signed-off-by: Sacha <sacha.smart@gmail.com>

Bump to 1.5.0 (prometheus-community#3994)

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>

fix(kube-prometheus-stack): re-enable memory working set rule (prometheus-community#4044)

This rule was accidentally left out while migrating to the
new layout for rules in release 54

Signed-off-by: Jan Jungnickel <jan@jungnickel.com>
Signed-off-by: Sacha <sacha.smart@gmail.com>
  • Loading branch information
sachasmart committed Dec 14, 2023
1 parent 44c6976 commit 5edddcc
Show file tree
Hide file tree
Showing 198 changed files with 6,001 additions and 1,686 deletions.
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
# Unless a later match takes precedence, they will be requested for review when someone opens a pull request.
* @prometheus-community/helm-charts-admins

/.github/workflows/ @prometheus-community/helm-charts-admins @jkroepke @GMartinez-Sisti

/charts/alertmanager/ @monotek @naseemkullah
/charts/alertmanager-snmp-notifier/ @maxwo
/charts/jiralert/ @jkroepke @zanhsieh
Expand All @@ -32,6 +34,7 @@
/charts/prometheus-nats-exporter/ @caarlos0 @okgolove
/charts/prometheus-nginx-exporter/ @nlamirault @zeritti
/charts/prometheus-node-exporter/ @gianrubio @zanhsieh @zeritti
/charts/prometheus-opencost-exporter/ @mattray
/charts/prometheus-operator-admission-webhook/ @zeritti
/charts/prometheus-operator-crds/ @dacamposol @desaintmartin @jkroepke @QuentinBisson
/charts/prometheus-pgbouncer-exporter/ @stewartshea @zeritti
Expand Down
1 change: 1 addition & 0 deletions .github/linters/ct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ excluded-charts:
# If not running on GCE, will error: "Failed to get GCE config"
- prometheus-to-sd
additional-commands:
- sh -ec "if [ -f '{{ .Path }}/ci/lint.sh' ]; then shellcheck '{{ .Path }}/ci/lint.sh'; bash '{{ .Path }}/ci/lint.sh'; fi"
# - helm unittest --helm3 --strict --file unittests/*.yaml --file 'unittests/**/*.yaml' {{ .Path }}
10 changes: 5 additions & 5 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ jobs:
with:
version: v3.12.0

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.7
python-version: '3.7'

- name: Set up chart-testing
uses: helm/chart-testing-action@v2.4.0
uses: helm/chart-testing-action@v2.6.1

- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --config .github/linters/ct.yaml)
changed="$(ct list-changed --config .github/linters/ct.yaml)"
if [[ -n "$changed" ]]; then
echo "changed=true" >> $GITHUB_OUTPUT
echo "changed=true" >> "$GITHUB_OUTPUT"
fi
# - name: install helm unittest plugin
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.5.0
uses: helm/chart-releaser-action@v1.6.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_GENERATE_RELEASE_NOTES: true
Expand Down
4 changes: 2 additions & 2 deletions charts/alertmanager-snmp-notifier/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ home: https://github.com/maxwo/snmp_notifier
sources:
- https://github.com/maxwo/snmp_notifier
type: application
version: 0.1.2
appVersion: v1.4.0
version: 0.2.0
appVersion: v1.5.0
keywords:
- monitoring
maintainers:
Expand Down
2 changes: 1 addition & 1 deletion charts/jiralert/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: jiralert
description: A Helm chart for Kubernetes to install jiralert
type: application
version: 1.6.0
version: 1.7.0
appVersion: "v1.3.0"
home: "https://github.com/prometheus-community/jiralert"
keywords:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ config:
receivers:
- name: 'default'
project: EXAMPLE

ingress:
enabled: true
4 changes: 4 additions & 0 deletions charts/jiralert/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ spec:
value: {{ $value | quote }}
{{- end }}
{{- end }}
{{- with .Values.envFrom }}
envFrom:
{{- toYaml . | nindent 12 }}
{{- end }}
serviceAccountName: {{ include "jiralert.serviceAccountName" . }}
{{- with .Values.podSecurityContext }}
securityContext:
Expand Down
7 changes: 3 additions & 4 deletions charts/jiralert/templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "jiralert.fullname" . -}}
{{- $svcPort := .Values.service.port -}}
{{- if and .Values.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }}
{{- if not (hasKey .Values.ingress.annotations "kubernetes.io/ingress.class") }}
{{- $_ := set .Values.ingress.annotations "kubernetes.io/ingress.class" .Values.ingress.className}}
{{- end }}
{{- end }}
apiVersion: {{template "jiralert.ingress.apiversion" . }}
apiVersion: {{ template "jiralert.ingress.apiversion" . }}
kind: Ingress
metadata:
name: {{ $fullName }}
Expand Down Expand Up @@ -49,10 +48,10 @@ spec:
service:
name: {{ $fullName }}
port:
number: {{ $svcPort }}
number: 9097
{{- else }}
serviceName: {{ $fullName }}
servicePort: {{ $svcPort }}
servicePort: 9097
{{- end }}
{{- end }}
{{- end }}
Expand Down
3 changes: 3 additions & 0 deletions charts/jiralert/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ extraVolumeMounts: []
# -- Additional Volumes
extraVolumes: []

# -- Additional envFrom for jiralert pods
envFrom: {}

# Number of pod replicas
replicaCount: 1

Expand Down
10 changes: 5 additions & 5 deletions charts/kube-prometheus-stack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ name: kube-prometheus-stack
sources:
- https://github.com/prometheus-community/helm-charts
- https://github.com/prometheus-operator/kube-prometheus
version: 51.9.4
appVersion: v0.68.0
version: 55.4.1
appVersion: v0.70.0
kubeVersion: ">=1.19.0-0"
home: https://github.com/prometheus-operator/kube-prometheus
keywords:
Expand All @@ -43,15 +43,15 @@ dependencies:
version: "0.0.0"
condition: crds.enabled
- name: kube-state-metrics
version: "5.14.*"
version: "5.15.*"
repository: https://prometheus-community.github.io/helm-charts
condition: kubeStateMetrics.enabled
- name: prometheus-node-exporter
version: "4.23.*"
version: "4.24.*"
repository: https://prometheus-community.github.io/helm-charts
condition: nodeExporter.enabled
- name: grafana
version: "6.60.*"
version: "7.0.*"
repository: https://grafana.github.io/helm-charts
condition: grafana.enabled
- name: prometheus-windows-exporter
Expand Down
113 changes: 113 additions & 0 deletions charts/kube-prometheus-stack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,119 @@ _See [helm upgrade](https://helm.sh/docs/helm/helm_upgrade/) for command documen

A major chart version change (like v1.2.3 -> v2.0.0) indicates that there is an incompatible breaking change needing manual actions.

### From 54.x to 55.x

This version upgrades Prometheus-Operator to v0.70.0

Run these commands to update the CRDs before applying the upgrade.

```console
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.70.0/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagerconfigs.yaml
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.70.0/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagers.yaml
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.70.0/example/prometheus-operator-crd/monitoring.coreos.com_podmonitors.yaml
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.70.0/example/prometheus-operator-crd/monitoring.coreos.com_probes.yaml
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.70.0/example/prometheus-operator-crd/monitoring.coreos.com_prometheusagents.yaml
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.70.0/example/prometheus-operator-crd/monitoring.coreos.com_prometheuses.yaml
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.70.0/example/prometheus-operator-crd/monitoring.coreos.com_prometheusrules.yaml
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.70.0/example/prometheus-operator-crd/monitoring.coreos.com_scrapeconfigs.yaml
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.70.0/example/prometheus-operator-crd/monitoring.coreos.com_servicemonitors.yaml
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.70.0/example/prometheus-operator-crd/monitoring.coreos.com_thanosrulers.yaml
```

### From 53.x to 54.x

Grafana Helm Chart has bumped to version 7

Please note Grafana Helm Chart [changelog](https://github.com/grafana/helm-charts/tree/main/charts/grafana#to-700).

### From 52.x to 53.x

This version upgrades Prometheus-Operator to v0.69.1, Prometheus to 2.47.2

Run these commands to update the CRDs before applying the upgrade.

```console
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.69.1/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagerconfigs.yaml
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.69.1/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagers.yaml
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.69.1/example/prometheus-operator-crd/monitoring.coreos.com_podmonitors.yaml
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.69.1/example/prometheus-operator-crd/monitoring.coreos.com_probes.yaml
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.69.1/example/prometheus-operator-crd/monitoring.coreos.com_prometheusagents.yaml
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.69.1/example/prometheus-operator-crd/monitoring.coreos.com_prometheuses.yaml
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.69.1/example/prometheus-operator-crd/monitoring.coreos.com_prometheusrules.yaml
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.69.1/example/prometheus-operator-crd/monitoring.coreos.com_scrapeconfigs.yaml
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.69.1/example/prometheus-operator-crd/monitoring.coreos.com_servicemonitors.yaml
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.69.1/example/prometheus-operator-crd/monitoring.coreos.com_thanosrulers.yaml
```

### From 51.x to 52.x

This includes the ability to select between using existing secrets or create new secret objects for various thanos config. The defaults have not changed but if you were setting:

- `thanosRuler.thanosRulerSpec.alertmanagersConfig` or
- `thanosRuler.thanosRulerSpec.objectStorageConfig` or
- `thanosRuler.thanosRulerSpec.queryConfig` or
- `prometheus.prometheusSpec.thanos.objectStorageConfig`

you will have to need to set `existingSecret` or `secret` based on your requirement

For instance, the `thanosRuler.thanosRulerSpec.alertmanagersConfig` used to be configured as follow:

```yaml
thanosRuler:
thanosRulerSpec:
alertmanagersConfig:
alertmanagers:
- api_version: v2
http_config:
basic_auth:
username: some_user
password: some_pass
static_configs:
- alertmanager.thanos.io
scheme: http
timeout: 10s
```
But it now moved to:
```yaml
thanosRuler:
thanosRulerSpec:
alertmanagersConfig:
secret:
alertmanagers:
- api_version: v2
http_config:
basic_auth:
username: some_user
password: some_pass
static_configs:
- alertmanager.thanos.io
scheme: http
timeout: 10s
```
or the `thanosRuler.thanosRulerSpec.objectStorageConfig` used to be configured as follow:

```yaml
thanosRuler:
thanosRulerSpec:
objectStorageConfig:
name: existing-secret-not-created-by-this-chart
key: object-storage-configs.yaml
```

But it now moved to:

```yaml
thanosRuler:
thanosRulerSpec:
objectStorageConfig:
existingSecret:
name: existing-secret-not-created-by-this-chart
key: object-storage-configs.yaml
```

### From 50.x to 51.x

This version upgrades Prometheus-Operator to v0.68.0, Prometheus to 2.47.0 and Thanos to v0.32.2
Expand Down
Loading

0 comments on commit 5edddcc

Please sign in to comment.