Skip to content

Commit 90f397c

Browse files
chore(deps): update helm release kube-prometheus-stack to v78
1 parent 211cfe1 commit 90f397c

14 files changed

+12402
-5494
lines changed

docs/examples/src/charts/charts.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ charts: helm.Charts = {
2929
crdPaths = ["**/crds/crds/*.yaml"]
3030
repoURL = "https://prometheus-community.github.io/helm-charts"
3131
schemaGenerator = "AUTO"
32-
targetRevision = "69.8.2"
32+
targetRevision = "78.2.1"
3333
}
3434
simple_chart: {
3535
chart = "simple-chart"

docs/examples/src/charts/kube_prometheus_stack/api/v1/monitoring_coreos_com_v1_alertmanager.k

Lines changed: 1553 additions & 392 deletions
Large diffs are not rendered by default.

docs/examples/src/charts/kube_prometheus_stack/api/v1/monitoring_coreos_com_v1_pod_monitor.k

Lines changed: 250 additions & 121 deletions
Large diffs are not rendered by default.

docs/examples/src/charts/kube_prometheus_stack/api/v1/monitoring_coreos_com_v1_probe.k

Lines changed: 263 additions & 111 deletions
Large diffs are not rendered by default.

docs/examples/src/charts/kube_prometheus_stack/api/v1/monitoring_coreos_com_v1_prometheus.k

Lines changed: 1135 additions & 702 deletions
Large diffs are not rendered by default.

docs/examples/src/charts/kube_prometheus_stack/api/v1/monitoring_coreos_com_v1_prometheus_rule.k

Lines changed: 102 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ schema PrometheusRule:
2424
metadata
2525
spec : MonitoringCoreosComV1PrometheusRuleSpec, default is Undefined, required
2626
spec
27+
status : MonitoringCoreosComV1PrometheusRuleStatus, default is Undefined, optional
28+
status
2729
"""
2830
apiVersion: "monitoring.coreos.com/v1" = "monitoring.coreos.com/v1"
2931

@@ -32,14 +34,16 @@ schema PrometheusRule:
3234
metadata?: v1.ObjectMeta
3335
spec: MonitoringCoreosComV1PrometheusRuleSpec
3436

37+
status?: MonitoringCoreosComV1PrometheusRuleStatus
38+
3539
schema MonitoringCoreosComV1PrometheusRuleSpec:
3640
r"""
37-
Specification of desired alerting rule definitions for Prometheus.
41+
spec defines the specification of desired alerting rule definitions for Prometheus.
3842

3943
Attributes
4044
----------
4145
groups : [MonitoringCoreosComV1PrometheusRuleSpecGroupsItems0], default is Undefined, optional
42-
Content of Prometheus rule file
46+
groups defines the content of Prometheus rule file
4347
"""
4448
groups?: [MonitoringCoreosComV1PrometheusRuleSpecGroupsItems0]
4549

@@ -50,30 +54,30 @@ schema MonitoringCoreosComV1PrometheusRuleSpecGroupsItems0:
5054
Attributes
5155
----------
5256
interval : str, default is Undefined, optional
53-
Interval determines how often rules in the group are evaluated.
57+
interval defines how often rules in the group are evaluated.
5458
labels : {str:str}, default is Undefined, optional
55-
Labels to add or overwrite before storing the result for its rules.
59+
labels define the labels to add or overwrite before storing the result for its rules.
5660
The labels defined at the rule level take precedence.
5761

5862
It requires Prometheus >= 3.0.0.
5963
The field is ignored for Thanos Ruler.
6064
limit : int, default is Undefined, optional
61-
Limit the number of alerts an alerting rule and series a recording
65+
limit defines the number of alerts an alerting rule and series a recording
6266
rule can produce.
6367
Limit is supported starting with Prometheus >= 2.31 and Thanos Ruler >= 0.24.
6468
name : str, default is Undefined, required
65-
Name of the rule group.
69+
name defines the name of the rule group.
6670
partial_response_strategy : str, default is Undefined, optional
67-
PartialResponseStrategy is only used by ThanosRuler and will
71+
partial_response_strategy is only used by ThanosRuler and will
6872
be ignored by Prometheus instances.
6973
More info: https://github.com/thanos-io/thanos/blob/main/docs/components/rule.md#partial-response
7074
query_offset : str, default is Undefined, optional
71-
Defines the offset the rule evaluation timestamp of this particular group by the specified duration into the past.
75+
query_offset defines the offset the rule evaluation timestamp of this particular group by the specified duration into the past.
7276

7377
It requires Prometheus >= v2.53.0.
7478
It is not supported for ThanosRuler.
7579
rules : [MonitoringCoreosComV1PrometheusRuleSpecGroupsItems0RulesItems0], default is Undefined, optional
76-
List of alerting and recording rules.
80+
rules defines the list of alerting and recording rules.
7781
"""
7882
interval?: str
7983
labels?: {str:str}
@@ -98,21 +102,21 @@ schema MonitoringCoreosComV1PrometheusRuleSpecGroupsItems0RulesItems0:
98102
Attributes
99103
----------
100104
alert : str, default is Undefined, optional
101-
Name of the alert. Must be a valid label value.
105+
alert defines the name of the alert. Must be a valid label value.
102106
Only one of `record` and `alert` must be set.
103107
annotations : {str:str}, default is Undefined, optional
104-
Annotations to add to each alert.
108+
annotations defines annotations to add to each alert.
105109
Only valid for alerting rules.
106110
expr : int | str, default is Undefined, required
107-
PromQL expression to evaluate.
111+
expr defines the PromQL expression to evaluate.
108112
$for : str, default is Undefined, optional
109-
Alerts are considered firing once they have been returned for this long.
113+
for defines how alerts are considered firing once they have been returned for this long.
110114
keep_firing_for : str, default is Undefined, optional
111-
KeepFiringFor defines how long an alert will continue firing after the condition that triggered it has cleared.
115+
keep_firing_for defines how long an alert will continue firing after the condition that triggered it has cleared.
112116
labels : {str:str}, default is Undefined, optional
113-
Labels to add or overwrite.
117+
labels defines labels to add or overwrite.
114118
record : str, default is Undefined, optional
115-
Name of the time series to output to. Must be a valid metric name.
119+
record defines the name of the time series to output to. Must be a valid metric name.
116120
Only one of `record` and `alert` must be set.
117121
"""
118122
alert?: str
@@ -129,3 +133,85 @@ schema MonitoringCoreosComV1PrometheusRuleSpecGroupsItems0RulesItems0:
129133
len(keep_firing_for) >= 1 if keep_firing_for
130134
_regex_match(str(keep_firing_for), r"^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$") if keep_firing_for
131135

136+
schema MonitoringCoreosComV1PrometheusRuleStatus:
137+
r"""
138+
status defines the status subresource. It is under active development and is updated only when the
139+
"StatusForConfigurationResources" feature gate is enabled.
140+
141+
Most recent observed status of the PrometheusRule. Read-only.
142+
More info:
143+
https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
144+
145+
Attributes
146+
----------
147+
bindings : [MonitoringCoreosComV1PrometheusRuleStatusBindingsItems0], default is Undefined, optional
148+
bindings defines the list of workload resources (Prometheus, PrometheusAgent, ThanosRuler or Alertmanager) which select the configuration resource.
149+
"""
150+
bindings?: [MonitoringCoreosComV1PrometheusRuleStatusBindingsItems0]
151+
152+
schema MonitoringCoreosComV1PrometheusRuleStatusBindingsItems0:
153+
r"""
154+
WorkloadBinding is a link between a configuration resource and a workload resource.
155+
156+
Attributes
157+
----------
158+
conditions : [MonitoringCoreosComV1PrometheusRuleStatusBindingsItems0ConditionsItems0], default is Undefined, optional
159+
conditions defines the current state of the configuration resource when bound to the referenced Workload object.
160+
group : str, default is Undefined, required
161+
group defines the group of the referenced resource.
162+
name : str, default is Undefined, required
163+
name defines the name of the referenced object.
164+
namespace : str, default is Undefined, required
165+
namespace defines the namespace of the referenced object.
166+
resource : str, default is Undefined, required
167+
resource defines the type of resource being referenced (e.g. Prometheus, PrometheusAgent, ThanosRuler or Alertmanager).
168+
"""
169+
conditions?: [MonitoringCoreosComV1PrometheusRuleStatusBindingsItems0ConditionsItems0]
170+
group: "monitoring.coreos.com"
171+
172+
name: str
173+
174+
namespace: str
175+
176+
resource: "prometheuses" | "prometheusagents" | "thanosrulers" | "alertmanagers"
177+
178+
check:
179+
len(name) >= 1
180+
len(namespace) >= 1
181+
182+
schema MonitoringCoreosComV1PrometheusRuleStatusBindingsItems0ConditionsItems0:
183+
r"""
184+
ConfigResourceCondition describes the status of configuration resources linked to Prometheus, PrometheusAgent, Alertmanager or ThanosRuler.
185+
186+
Attributes
187+
----------
188+
lastTransitionTime : str, default is Undefined, required
189+
lastTransitionTime defines the time of the last update to the current status property.
190+
message : str, default is Undefined, optional
191+
message defines the human-readable message indicating details for the condition's last transition.
192+
observedGeneration : int, default is Undefined, optional
193+
observedGeneration defines the .metadata.generation that the
194+
condition was set based upon. For instance, if `.metadata.generation` is
195+
currently 12, but the `.status.conditions[].observedGeneration` is 9, the
196+
condition is out of date with respect to the current state of the object.
197+
reason : str, default is Undefined, optional
198+
reason for the condition's last transition.
199+
status : str, default is Undefined, required
200+
status of the condition.
201+
$type : str, default is Undefined, required
202+
type of the condition being reported.
203+
Currently, only "Accepted" is supported.
204+
"""
205+
lastTransitionTime: str
206+
207+
message?: str
208+
observedGeneration?: int
209+
reason?: str
210+
status: str
211+
212+
$type: "Accepted"
213+
214+
check:
215+
len(status) >= 1
216+
len($type) >= 1
217+

0 commit comments

Comments
 (0)