Skip to content

flux: Fix PodMonitor creation

Steve Starke requested to merge sstrk/fix-flux-without-monitoring into devel

Version Control Information

Source branch: sstrk/fix-flux-without-monitoring
Target branch: devel

Commits:

* flux: Fix PodMonitor creation

The "monitoring_install" variable may not be around. In contrast, the
"k8s_monitoring_enabled" variable must be set and is therefore always
around. This fixes the issue that despite monitoring being disabled,
the flux chart couldn't get deployed as it tried to create PodMonitors
which is not possible in that case as Prometheus CRDs are not around.

Description

Feel free to add further information about your MR in this section

Closes: #


Merge Prerequisites

  • MR title (and description) are descriptive
  • Code is readable and syntactically correct
  • Code is understandable
  • Documentation has been updated, if necessary
  • Commit messages look good
  • Release note file added in latest commit

As a developer: please do not tick these boxes yourself. As a reviewer: please get yourself a hot cold beverage.

Edited by Silvio Ankermann

Merge request reports

Loading