Skip to content

Commit 0a44c78

Browse files
Merge pull request #2652 from slashpai/bump-po-085
OCPBUGS-56158: Bump prometheus-operator to v0.85.0
2 parents 3ebd14a + f89dc8e commit 0a44c78

10 files changed

+2818
-1159
lines changed

jsonnet/jsonnetfile.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"subdir": "jsonnet/prometheus-operator"
1818
}
1919
},
20-
"version": "release-0.84"
20+
"version": "release-0.85"
2121
},
2222
{
2323
"source": {

jsonnet/jsonnetfile.lock.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
"subdir": "jsonnet/mixin"
192192
}
193193
},
194-
"version": "5b60eb7f1037736eb540ceded294ea005c4b97ec",
194+
"version": "d4c909532465a364438aa3cf939e98a34d9a8eee",
195195
"sum": "gi+knjdxs2T715iIQIntrimbHRgHnpM8IFBJDD1gYfs=",
196196
"name": "prometheus-operator-mixin"
197197
},
@@ -202,8 +202,8 @@
202202
"subdir": "jsonnet/prometheus-operator"
203203
}
204204
},
205-
"version": "8337f851ab7550fb7f914461e810a722e4312e17",
206-
"sum": "ikNhDwJwp2YNd5JPZWL6nkgZ3pzQIYfk3uxO3yQQqg4="
205+
"version": "2ed4172b180213b6082025237bb0c155b74b6080",
206+
"sum": "EQkJamqWYU6j8xFPDFgNoRFKb965sP4Nf9u4Gobv5mM="
207207
},
208208
{
209209
"source": {

manifests/0000_50_cluster-monitoring-operator_00_0alertmanager-config-custom-resource-definition.yaml

Lines changed: 2686 additions & 1139 deletions
Large diffs are not rendered by default.

manifests/0000_50_cluster-monitoring-operator_00_0alertmanager-custom-resource-definition.yaml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
include.release.openshift.io/ibm-cloud-managed: "true"
88
include.release.openshift.io/self-managed-high-availability: "true"
99
include.release.openshift.io/single-node-developer: "true"
10-
operator.prometheus.io/version: 0.84.0
10+
operator.prometheus.io/version: 0.85.0
1111
labels:
1212
app.kubernetes.io/managed-by: cluster-version-operator
1313
app.kubernetes.io/part-of: openshift-monitoring
@@ -4150,6 +4150,15 @@ spec:
41504150
x-kubernetes-list-map-keys:
41514151
- ip
41524152
x-kubernetes-list-type: map
4153+
hostUsers:
4154+
description: |-
4155+
HostUsers supports the user space in Kubernetes.
4156+
4157+
More info: https://kubernetes.io/docs/tasks/configure-pod-container/user-namespaces/
4158+
4159+
The feature requires at least Kubernetes 1.28 with the `UserNamespacesSupport` feature gate enabled.
4160+
Starting Kubernetes 1.33, the feature is enabled by default.
4161+
type: boolean
41534162
image:
41544163
description: |-
41554164
Image if specified has precedence over baseImage, tag and sha
@@ -5614,9 +5623,10 @@ spec:
56145623
description: |-
56155624
Minimum number of seconds for which a newly created pod should be ready
56165625
without any of its container crashing for it to be considered available.
5617-
Defaults to 0 (pod will be considered available as soon as it is ready)
5618-
This is an alpha field from kubernetes 1.22 until 1.24 which requires enabling the StatefulSetMinReadySeconds feature gate.
5626+
5627+
If unset, pods will be considered available as soon as they are ready.
56195628
format: int32
5629+
minimum: 0
56205630
type: integer
56215631
nodeSelector:
56225632
additionalProperties:
@@ -5626,7 +5636,7 @@ spec:
56265636
paused:
56275637
description: |-
56285638
If set to true all actions on the underlying managed objects are not
5629-
goint to be performed, except for delete actions.
5639+
going to be performed, except for delete actions.
56305640
type: boolean
56315641
persistentVolumeClaimRetentionPolicy:
56325642
description: |-

manifests/0000_50_cluster-monitoring-operator_00_0podmonitor-custom-resource-definition.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
include.release.openshift.io/ibm-cloud-managed: "true"
88
include.release.openshift.io/self-managed-high-availability: "true"
99
include.release.openshift.io/single-node-developer: "true"
10-
operator.prometheus.io/version: 0.84.0
10+
operator.prometheus.io/version: 0.85.0
1111
labels:
1212
app.kubernetes.io/managed-by: cluster-version-operator
1313
app.kubernetes.io/part-of: openshift-monitoring
@@ -1108,6 +1108,8 @@ spec:
11081108
description: |-
11091109
Whether to scrape a classic histogram that is also exposed as a native histogram.
11101110
It requires Prometheus >= v2.45.0.
1111+
1112+
Notice: `scrapeClassicHistograms` corresponds to the `always_scrape_classic_histograms` field in the Prometheus configuration.
11111113
type: boolean
11121114
scrapeProtocols:
11131115
description: |-

manifests/0000_50_cluster-monitoring-operator_00_0probe-custom-resource-definition.yaml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
include.release.openshift.io/ibm-cloud-managed: "true"
88
include.release.openshift.io/self-managed-high-availability: "true"
99
include.release.openshift.io/single-node-developer: "true"
10-
operator.prometheus.io/version: 0.84.0
10+
operator.prometheus.io/version: 0.85.0
1111
labels:
1212
app.kubernetes.io/managed-by: cluster-version-operator
1313
app.kubernetes.io/part-of: openshift-monitoring
@@ -630,6 +630,33 @@ spec:
630630
- clientSecret
631631
- tokenUrl
632632
type: object
633+
params:
634+
description: |-
635+
The list of HTTP query parameters for the scrape.
636+
Please note that the `.spec.module` field takes precedence over the `module` parameter from this list when both are defined.
637+
The module name must be added using Module under ProbeSpec.
638+
items:
639+
description: ProbeParam defines specification of extra parameters for a Probe.
640+
properties:
641+
name:
642+
description: The parameter name
643+
minLength: 1
644+
type: string
645+
values:
646+
description: The parameter values
647+
items:
648+
minLength: 1
649+
type: string
650+
minItems: 1
651+
type: array
652+
required:
653+
- name
654+
type: object
655+
minItems: 1
656+
type: array
657+
x-kubernetes-list-map-keys:
658+
- name
659+
x-kubernetes-list-type: map
633660
prober:
634661
description: |-
635662
Specification for the prober to use for probing targets.
@@ -718,6 +745,8 @@ spec:
718745
description: |-
719746
Whether to scrape a classic histogram that is also exposed as a native histogram.
720747
It requires Prometheus >= v2.45.0.
748+
749+
Notice: `scrapeClassicHistograms` corresponds to the `always_scrape_classic_histograms` field in the Prometheus configuration.
721750
type: boolean
722751
scrapeProtocols:
723752
description: |-

manifests/0000_50_cluster-monitoring-operator_00_0prometheus-custom-resource-definition.yaml

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
include.release.openshift.io/ibm-cloud-managed: "true"
88
include.release.openshift.io/self-managed-high-availability: "true"
99
include.release.openshift.io/single-node-developer: "true"
10-
operator.prometheus.io/version: 0.84.0
10+
operator.prometheus.io/version: 0.85.0
1111
labels:
1212
app.kubernetes.io/managed-by: cluster-version-operator
1313
app.kubernetes.io/part-of: openshift-monitoring
@@ -3832,6 +3832,15 @@ spec:
38323832
`ClusterFirstWithHostNet` automatically (unless `.spec.DNSPolicy` is set
38333833
to a different value).
38343834
type: boolean
3835+
hostUsers:
3836+
description: |-
3837+
HostUsers supports the user space in Kubernetes.
3838+
3839+
More info: https://kubernetes.io/docs/tasks/configure-pod-container/user-namespaces/
3840+
3841+
The feature requires at least Kubernetes 1.28 with the `UserNamespacesSupport` feature gate enabled.
3842+
Starting Kubernetes 1.33, the feature is enabled by default.
3843+
type: boolean
38353844
ignoreNamespaceSelectors:
38363845
description: |-
38373846
When true, `spec.namespaceSelector` from all PodMonitor, ServiceMonitor
@@ -5339,11 +5348,10 @@ spec:
53395348
description: |-
53405349
Minimum number of seconds for which a newly created Pod should be ready
53415350
without any of its container crashing for it to be considered available.
5342-
Defaults to 0 (pod will be considered available as soon as it is ready)
53435351

5344-
This is an alpha field from kubernetes 1.22 until 1.24 which requires
5345-
enabling the StatefulSetMinReadySeconds feature gate.
5352+
If unset, pods will be considered available as soon as they are ready.
53465353
format: int32
5354+
minimum: 0
53475355
type: integer
53485356
nameEscapingScheme:
53495357
description: |-
@@ -5382,15 +5390,36 @@ spec:
53825390
Configures optional translation of OTLP explicit bucket histograms into native histograms with custom buckets.
53835391
It requires Prometheus >= v3.4.0.
53845392
type: boolean
5393+
ignoreResourceAttributes:
5394+
description: |-
5395+
List of OpenTelemetry resource attributes to ignore when `promoteAllResourceAttributes` is true.
5396+
5397+
It requires `promoteAllResourceAttributes` to be true.
5398+
It requires Prometheus >= v3.5.0.
5399+
items:
5400+
minLength: 1
5401+
type: string
5402+
minItems: 1
5403+
type: array
5404+
x-kubernetes-list-type: set
53855405
keepIdentifyingResourceAttributes:
53865406
description: |-
53875407
Enables adding `service.name`, `service.namespace` and `service.instance.id`
53885408
resource attributes to the `target_info` metric, on top of converting them into the `instance` and `job` labels.
53895409

53905410
It requires Prometheus >= v3.1.0.
53915411
type: boolean
5412+
promoteAllResourceAttributes:
5413+
description: |-
5414+
Promote all resource attributes to metric labels except the ones defined in `ignoreResourceAttributes`.
5415+
5416+
Cannot be true when `promoteResourceAttributes` is defined.
5417+
It requires Prometheus >= v3.5.0.
5418+
type: boolean
53925419
promoteResourceAttributes:
5393-
description: List of OpenTelemetry Attributes that should be promoted to metric labels, defaults to none.
5420+
description: |-
5421+
List of OpenTelemetry Attributes that should be promoted to metric labels, defaults to none.
5422+
Cannot be defined when `promoteAllResourceAttributes` is true.
53945423
items:
53955424
minLength: 1
53965425
type: string
@@ -8189,6 +8218,9 @@ spec:
81898218
scrapeClassicHistograms:
81908219
description: |-
81918220
Whether to scrape a classic histogram that is also exposed as a native histogram.
8221+
8222+
Notice: `scrapeClassicHistograms` corresponds to the `always_scrape_classic_histograms` field in the Prometheus configuration.
8223+
81928224
It requires Prometheus >= v3.5.0.
81938225
type: boolean
81948226
scrapeConfigNamespaceSelector:

manifests/0000_50_cluster-monitoring-operator_00_0prometheusrule-custom-resource-definition.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
include.release.openshift.io/ibm-cloud-managed: "true"
88
include.release.openshift.io/self-managed-high-availability: "true"
99
include.release.openshift.io/single-node-developer: "true"
10-
operator.prometheus.io/version: 0.84.0
10+
operator.prometheus.io/version: 0.85.0
1111
labels:
1212
app.kubernetes.io/managed-by: cluster-version-operator
1313
app.kubernetes.io/part-of: openshift-monitoring

manifests/0000_50_cluster-monitoring-operator_00_0servicemonitor-custom-resource-definition.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
include.release.openshift.io/ibm-cloud-managed: "true"
88
include.release.openshift.io/self-managed-high-availability: "true"
99
include.release.openshift.io/single-node-developer: "true"
10-
operator.prometheus.io/version: 0.84.0
10+
operator.prometheus.io/version: 0.85.0
1111
labels:
1212
app.kubernetes.io/managed-by: cluster-version-operator
1313
app.kubernetes.io/part-of: openshift-monitoring
@@ -1120,6 +1120,8 @@ spec:
11201120
description: |-
11211121
Whether to scrape a classic histogram that is also exposed as a native histogram.
11221122
It requires Prometheus >= v2.45.0.
1123+
1124+
Notice: `scrapeClassicHistograms` corresponds to the `always_scrape_classic_histograms` field in the Prometheus configuration.
11231125
type: boolean
11241126
scrapeProtocols:
11251127
description: |-

manifests/0000_50_cluster-monitoring-operator_00_0thanosruler-custom-resource-definition.yaml

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
include.release.openshift.io/ibm-cloud-managed: "true"
88
include.release.openshift.io/self-managed-high-availability: "true"
99
include.release.openshift.io/single-node-developer: "true"
10-
operator.prometheus.io/version: 0.84.0
10+
operator.prometheus.io/version: 0.85.0
1111
labels:
1212
app.kubernetes.io/managed-by: cluster-version-operator
1313
app.kubernetes.io/part-of: openshift-monitoring
@@ -2511,6 +2511,22 @@ spec:
25112511
- Default
25122512
- None
25132513
type: string
2514+
enableFeatures:
2515+
description: |-
2516+
Enable access to Thanos Ruler feature flags. By default, no features are enabled.
2517+
2518+
Enabling features which are disabled by default is entirely outside the
2519+
scope of what the maintainers will support and by doing so, you accept
2520+
that this behaviour may break at any time without notice.
2521+
2522+
For more information see https://thanos.io/tip/components/rule.md/
2523+
2524+
It requires Thanos >= 0.39.0.
2525+
items:
2526+
minLength: 1
2527+
type: string
2528+
type: array
2529+
x-kubernetes-list-type: set
25142530
enableServiceLinks:
25152531
description: Indicates whether information about services should be injected into pod's environment variables
25162532
type: boolean
@@ -2754,6 +2770,15 @@ spec:
27542770
x-kubernetes-list-map-keys:
27552771
- ip
27562772
x-kubernetes-list-type: map
2773+
hostUsers:
2774+
description: |-
2775+
HostUsers supports the user space in Kubernetes.
2776+
2777+
More info: https://kubernetes.io/docs/tasks/configure-pod-container/user-namespaces/
2778+
2779+
The feature requires at least Kubernetes 1.28 with the `UserNamespacesSupport` feature gate enabled.
2780+
Starting Kubernetes 1.33, the feature is enabled by default.
2781+
type: boolean
27572782
image:
27582783
description: Thanos container image URL.
27592784
type: string
@@ -4201,9 +4226,10 @@ spec:
42014226
description: |-
42024227
Minimum number of seconds for which a newly created pod should be ready
42034228
without any of its container crashing for it to be considered available.
4204-
Defaults to 0 (pod will be considered available as soon as it is ready)
4205-
This is an alpha field from kubernetes 1.22 until 1.24 which requires enabling the StatefulSetMinReadySeconds feature gate.
4229+
4230+
If unset, pods will be considered available as soon as they are ready.
42064231
format: int32
4232+
minimum: 0
42074233
type: integer
42084234
nodeSelector:
42094235
additionalProperties:
@@ -5390,6 +5416,10 @@ spec:
53905416
description: Number of thanos ruler instances to deploy.
53915417
format: int32
53925418
type: integer
5419+
resendDelay:
5420+
description: Minimum amount of time to wait before resending an alert to Alertmanager.
5421+
pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
5422+
type: string
53935423
resources:
53945424
description: |-
53955425
Resources defines the resource requirements for single Pods.
@@ -5472,6 +5502,13 @@ spec:
54725502
format: int32
54735503
minimum: 1
54745504
type: integer
5505+
ruleGracePeriod:
5506+
description: |-
5507+
Minimum duration between alert and restored "for" state.
5508+
This is maintained only for alerts with configured "for" time greater than grace period.
5509+
It requires Thanos >= v0.30.0.
5510+
pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
5511+
type: string
54755512
ruleNamespaceSelector:
54765513
description: |-
54775514
Namespaces to be selected for Rules discovery. If unspecified, only

0 commit comments

Comments
 (0)