v0.7.1: render alert rules on DKP without operator-prometheus-crd
helm_lib_prometheus_rules only renders when "operator-prometheus-crd" is an enabled module; on DKP 1.76 that module doesn't exist (the CRDs come with operator-prometheus), so the two alerts were silently dropped on a live install. Gate on the PrometheusRule API instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
1bd2006125
commit
1df5d3559a
@@ -27,7 +27,7 @@ WERF ?= werf
|
||||
BUILD_REGISTRY ?= localhost:5555
|
||||
BUILD_REPO ?= $(BUILD_REGISTRY)/$(MODULE)
|
||||
DMT ?= dmt
|
||||
API_VERSIONS ?= --api-versions autoscaling.k8s.io/v1/VerticalPodAutoscaler --api-versions monitoring.coreos.com/v1/PodMonitor
|
||||
API_VERSIONS ?= --api-versions autoscaling.k8s.io/v1/VerticalPodAutoscaler --api-versions monitoring.coreos.com/v1/PodMonitor --api-versions monitoring.coreos.com/v1/PrometheusRule
|
||||
|
||||
.PHONY: test lint render base-images build-registry build publish release
|
||||
|
||||
|
||||
Reference in New Issue
Block a user