3scale-ops / prometheus-exporter-operator

Operator to centralize the setup of 3rd party prometheus exporters on Kubernetes/OpenShift, with a collection of grafana dashboards
Apache License 2.0
42 stars 15 forks source link

Update Blackbox #40

Closed TheMisterEletric closed 1 year ago

TheMisterEletric commented 2 years ago

Hello, Currently the version in use of blackbox is 0.18.0 but the last release was 0.22.0. Is Possible to change the version?

TheMisterEletric commented 2 years ago

/kind feature

TheMisterEletric commented 2 years ago

/kind bug

slopezz commented 1 year ago

Hi @TheMisterEletric

Default blackbox exporter image has been updated to v0.22.0 on https://github.com/3scale-ops/prometheus-exporter-operator/pull/41

And it is available to deploy since https://github.com/3scale-ops/prometheus-exporter-operator/releases/tag/v0.6.1

However, you don't need to wait for a operator release to update any exporter image, at any time you can override the default exporter image using the PrometheusExporter CR field called spec.image.version, example:

apiVersion: monitoring.3scale.net/v1alpha1
kind: PrometheusExporter
metadata:
  name: staging-blackbox
spec:
  type: probe
  configurationConfigmapName: prometheus-exporter-probe-staging-blackbox
  image:
    version: v0.22.0

You can see a full example of the kind of fields that can be override at any time at https://github.com/3scale-ops/prometheus-exporter-operator/blob/main/docs/prometheus-exporter-crd-reference.md#full-cr-example

The release will be shortly published to OperatorHub.