Skip to content

🤖 Update module github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring to v0.94.0 - #297

Open
ske-renovate-operator[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-prometheus-operator-prometheus-operator-pkg-apis-monitoring-0.x
Open

ske-renovate-operator[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-prometheus-operator-prometheus-operator-pkg-apis-monitoring-0.x

Conversation

@ske-renovate-operator

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.93.1v0.94.0 age confidence

Release Notes

prometheus-operator/prometheus-operator (github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring)

v0.94.0: 0.94.0 / 2026-09-09

Compare Source

  • [CHANGE] Update the default Alertmanager version to v0.34.0 and discard zero-value duration fields (retention, clusterGossipInterval, clusterPushpullInterval, clusterPeerTimeout) in Alertmanager resources instead of passing them as CLI flags, which Alertmanager rejects and can cause startup failures. Ignored fields are reported via the IgnoredFields status condition. #​8800
  • [CHANGE] Add named enum types for Hetzner, Docker Swarm, and OpenStack service discovery fields in the ScrapeConfig CRD (HetznerRole, DockerSwarmRole, OpenStackAvailability). #​8789
  • [CHANGE] Reject empty strings in namespaceDiscovery.names, consulSDConfig.services, and consulSDConfig.tags list fields in the ScrapeConfig CRD. #​8786
  • [FEATURE] Add retentionPercentage field to Prometheus and PrometheusAgent CRDs for volume-based retention (requires Prometheus >= v3.11.0). Setting only the percentage no longer falls back to the default 24h time-based retention. #​8728
  • [FEATURE] Add clusterPeerName field to Alertmanager CRD to override the --cluster.peer-name flag (requires Alertmanager >= v0.30.0). #​8767
  • [FEATURE] Expose status conditions as Prometheus metrics for Prometheus, PrometheusAgent, Alertmanager, and ThanosRuler resources (prometheus_operator_<resource>_status_condition). #​8719
  • [ENHANCEMENT] Tighten the operator's ClusterRole by replacing wildcard verbs with explicit permissions per resource. #​8752
  • [ENHANCEMENT] Support webhook_url_file for Discord receiver in Alertmanager configuration Secret (requires Alertmanager >= v0.28.0). #​8035
  • [BUGFIX] Require Thanos >= v0.42.0 for delayed compaction with object storage uploads, raised from v0.41.0. Thanos v0.41.0 mis-validates the delayed-compaction paths and the sidecar crash-loops; deployments pinned to v0.41.0 fall back to disabling local compaction. #​8764
  • [BUGFIX] Add URL validation for Mattermost receiver fields in Alertmanager configuration Secret. #​8225
  • [BUGFIX] Fix operator panic when AlertmanagerConfig Pushover receivers use userKeyFile or tokenFile instead of secret selectors. #​8775
  • [BUGFIX] Fix operator panic when kubelet Service synchronization fails and the service is unavailable. #​8743
  • [BUGFIX] Fix resources stuck during deletion when the informer misses the deletion timestamp update. #​8727
  • [BUGFIX] Fix TracingConfig fields in Prometheus CRD not being serialized due to invalid JSON struct tags. #​8730
  • [BUGFIX] Fix externalId version gating for Alertmanager SigV4 configuration to require version >= v0.34.0 (was incorrectly set to v0.33.0). #​8759

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

@ske-renovate-operator ske-renovate-operator Bot added the kind/upgrade Upgrading components or dependencies (e.g., by renovate) label Sep 12, 2026
@ske-renovate-operator
ske-renovate-operator Bot requested a review from a team September 12, 2026 12:35
@ske-renovate-operator

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 28 additional dependencies were updated

Due to Go's usage of Minimal Version Selection (MVS), these packages have been updated to the minimum version available, so will still abide by minimumReleaseAge=3 days

Details:

Package Change
k8s.io/api v0.36.4 -> v0.37.0
k8s.io/apiextensions-apiserver v0.36.4 -> v0.37.0
k8s.io/apimachinery v0.36.4 -> v0.37.0
k8s.io/client-go v0.36.4 -> v0.37.0
k8s.io/component-base v0.36.4 -> v0.37.0
sigs.k8s.io/controller-runtime v0.24.1 -> v0.25.0
github.com/fxamacker/cbor/v2 v2.9.2 -> v2.9.3
github.com/go-openapi/jsonpointer v0.23.2 -> v1.0.0
github.com/go-openapi/jsonreference v0.21.6 -> v1.0.0
github.com/go-openapi/swag v0.26.1 -> v0.27.1
github.com/go-openapi/swag/cmdutils v0.26.1 -> v0.27.1
github.com/go-openapi/swag/conv v0.26.1 -> v0.27.1
github.com/go-openapi/swag/fileutils v0.26.1 -> v0.27.1
github.com/go-openapi/swag/jsonutils v0.26.1 -> v0.27.1
github.com/go-openapi/swag/loading v0.26.1 -> v0.27.1
github.com/go-openapi/swag/mangling v0.26.1 -> v0.27.1
github.com/go-openapi/swag/netutils v0.26.1 -> v0.27.1
github.com/go-openapi/swag/stringutils v0.26.1 -> v0.27.1
github.com/go-openapi/swag/typeutils v0.26.1 -> v0.27.1
github.com/go-openapi/swag/yamlutils v0.26.1 -> v0.27.1
go.etcd.io/etcd/api/v3 v3.6.8 -> v3.7.0
go.etcd.io/etcd/client/pkg/v3 v3.6.8 -> v3.7.0
go.etcd.io/etcd/client/v3 v3.6.8 -> v3.7.0
k8s.io/apiserver v0.36.4 -> v0.37.0
k8s.io/kms v0.36.4 -> v0.37.0
k8s.io/kube-openapi v0.0.0-20260603220949-865597e52e25 -> v0.0.0-20260821135717-be32def86098
k8s.io/streaming v0.36.4 -> v0.37.0
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.34.0 -> v0.36.0

@ske-prow

ske-prow Bot commented Sep 12, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign nschad for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ske-prow ske-prow Bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Sep 12, 2026
@ske-prow

ske-prow Bot commented Sep 12, 2026

Copy link
Copy Markdown

@ske-renovate-operator[bot]: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-gardener-extension-provider-stackit-integration-tests 33d4b2c link true /test pull-gardener-extension-provider-stackit-integration-tests
pull-gardener-extension-provider-stackit-verify 33d4b2c link true /test pull-gardener-extension-provider-stackit-verify

Full PR test history. Your PR dashboard. Command help for this repository.
Please help us cut down on flakes by linking this test failure to an open flake report or filing a new flake report if you can't find an existing one. Also see the gardener testing guideline for how to avoid and hunt flakes.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@stackit-ske-bot stackit-ske-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renovate Update Verification Report

  • Classification: Yellow (Adapted & Verified)
  • Model Used: gemini-3-8-flash
  • Dependency: github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.93.1 -> v0.94.0

Impact Analysis

Detailed Implementation Plan & Suggested Code Changes

Summary of Changes Required & Proactive Suggestions

Because monitoring v0.94.0 transitively forces k8s.io/* v0.37.0 and controller-runtime v0.25.0 via Go MVS, this breaks test builds against github.com/gardener/gardener v1.150.0.
Two remediation approaches are available:

  1. Option A (Recommended for merging v0.94.0 now): Add replace directives in go.mod to pin sigs.k8s.io/controller-runtime to v0.24.1 and k8s.io/* to v0.36.4 to align with gardener/gardener v1.150.0. With these replacements, all unit and controller tests compile and pass cleanly.
  2. Option B (Defer update): Close this PR or configure Renovate to ignore monitoring v0.94.0 until upstream gardener/gardener is upgraded to Kubernetes 1.37 / controller-runtime v0.25.0.

Proposed File Modifications & Code Changes

Suggested additions to go.mod (tested locally without committing):

diff --git a/go.mod b/go.mod
index 951dbcb..1c59c7a 100644
--- a/go.mod
+++ b/go.mod
@@ -261,3 +261,21 @@ require (
 	sigs.k8s.io/randfill v1.0.0 // indirect
 	sigs.k8s.io/structured-merge-diff/v6 v6.4.2 // indirect
 )
+
+replace (
+	k8s.io/api => k8s.io/api v0.36.4
+	k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.36.4
+	k8s.io/apimachinery => k8s.io/apimachinery v0.36.4
+	k8s.io/apiserver => k8s.io/apiserver v0.36.4
+	k8s.io/client-go => k8s.io/client-go v0.36.4
+	k8s.io/component-base => k8s.io/component-base v0.36.4
+	k8s.io/kms => k8s.io/kms v0.36.4
+	k8s.io/streaming => k8s.io/streaming v0.36.4
+	sigs.k8s.io/controller-runtime => sigs.k8s.io/controller-runtime v0.24.1
+)

Verification Results

After adding the replace directives in the local worktree:

  • go mod tidy: executed cleanly without dependency conflicts.
  • go test ./pkg/admission/... ./pkg/apis/... ./pkg/controller/... ./pkg/internal/... ./pkg/openstack/... ./pkg/stackit/... ./pkg/utils/... ./pkg/webhook/...: All unit and controller tests pass (PASS).
  • go test -v ./pkg/controller/controlplane -run TestControlplane: 45 passed, 0 failed.

@breuerfelix

Copy link
Copy Markdown
Member

/hold will be updated with gardener

@ske-prow ske-prow Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. kind/upgrade Upgrading components or dependencies (e.g., by renovate) size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants