Skip to content

Commit 5eaf360

Browse files
committed
chore: Generate crds/docs
1 parent 155a39a commit 5eaf360

File tree

6 files changed

+12
-246
lines changed

6 files changed

+12
-246
lines changed

config/crd/bases/grafana.integreatly.org_grafananotificationpolicies.yaml

Lines changed: 1 addition & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,6 @@ spec:
120120
route:
121121
description: Routes for alerts to match against
122122
properties:
123-
active_time_intervals:
124-
items:
125-
type: string
126-
type: array
127-
continue:
128-
description: continue
129-
type: boolean
130123
group_by:
131124
description: group by
132125
items:
@@ -138,50 +131,8 @@ spec:
138131
group_wait:
139132
description: group wait
140133
type: string
141-
match_re:
142-
additionalProperties:
143-
type: string
144-
description: match re
145-
type: object
146-
matchers:
147-
description: matchers
148-
items:
149-
properties:
150-
isEqual:
151-
description: is equal
152-
type: boolean
153-
isRegex:
154-
description: is regex
155-
type: boolean
156-
name:
157-
description: name
158-
type: string
159-
value:
160-
description: value
161-
type: string
162-
required:
163-
- isRegex
164-
- value
165-
type: object
166-
type: array
167-
mute_time_intervals:
168-
description: mute time intervals
169-
items:
170-
type: string
171-
type: array
172-
object_matchers:
173-
description: object matchers
174-
items:
175-
description: |-
176-
ObjectMatcher ObjectMatcher is a matcher that can be used to filter alerts.
177-
178-
swagger:model ObjectMatcher
179-
items:
180-
type: string
181-
type: array
182-
type: array
183134
provenance:
184-
description: provenance
135+
description: 'Deprecated: Does nothing'
185136
type: string
186137
receiver:
187138
description: receiver

config/crd/bases/grafana.integreatly.org_grafananotificationpolicyroutes.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ spec:
4444
of GrafanaNotificationPolicyRoute
4545
properties:
4646
active_time_intervals:
47+
description: active time intervals
4748
items:
4849
type: string
4950
type: array
@@ -104,7 +105,7 @@ spec:
104105
type: array
105106
type: array
106107
provenance:
107-
description: provenance
108+
description: 'Deprecated: Does nothing'
108109
type: string
109110
receiver:
110111
description: receiver

deploy/helm/grafana-operator/files/crds/grafana.integreatly.org_grafananotificationpolicies.yaml

Lines changed: 1 addition & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,6 @@ spec:
120120
route:
121121
description: Routes for alerts to match against
122122
properties:
123-
active_time_intervals:
124-
items:
125-
type: string
126-
type: array
127-
continue:
128-
description: continue
129-
type: boolean
130123
group_by:
131124
description: group by
132125
items:
@@ -138,50 +131,8 @@ spec:
138131
group_wait:
139132
description: group wait
140133
type: string
141-
match_re:
142-
additionalProperties:
143-
type: string
144-
description: match re
145-
type: object
146-
matchers:
147-
description: matchers
148-
items:
149-
properties:
150-
isEqual:
151-
description: is equal
152-
type: boolean
153-
isRegex:
154-
description: is regex
155-
type: boolean
156-
name:
157-
description: name
158-
type: string
159-
value:
160-
description: value
161-
type: string
162-
required:
163-
- isRegex
164-
- value
165-
type: object
166-
type: array
167-
mute_time_intervals:
168-
description: mute time intervals
169-
items:
170-
type: string
171-
type: array
172-
object_matchers:
173-
description: object matchers
174-
items:
175-
description: |-
176-
ObjectMatcher ObjectMatcher is a matcher that can be used to filter alerts.
177-
178-
swagger:model ObjectMatcher
179-
items:
180-
type: string
181-
type: array
182-
type: array
183134
provenance:
184-
description: provenance
135+
description: 'Deprecated: Does nothing'
185136
type: string
186137
receiver:
187138
description: receiver

deploy/helm/grafana-operator/files/crds/grafana.integreatly.org_grafananotificationpolicyroutes.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ spec:
4444
of GrafanaNotificationPolicyRoute
4545
properties:
4646
active_time_intervals:
47+
description: active time intervals
4748
items:
4849
type: string
4950
type: array
@@ -104,7 +105,7 @@ spec:
104105
type: array
105106
type: array
106107
provenance:
107-
description: provenance
108+
description: 'Deprecated: Does nothing'
108109
type: string
109110
receiver:
110111
description: receiver

deploy/kustomize/base/crds.yaml

Lines changed: 3 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -2637,13 +2637,6 @@ spec:
26372637
route:
26382638
description: Routes for alerts to match against
26392639
properties:
2640-
active_time_intervals:
2641-
items:
2642-
type: string
2643-
type: array
2644-
continue:
2645-
description: continue
2646-
type: boolean
26472640
group_by:
26482641
description: group by
26492642
items:
@@ -2655,50 +2648,8 @@ spec:
26552648
group_wait:
26562649
description: group wait
26572650
type: string
2658-
match_re:
2659-
additionalProperties:
2660-
type: string
2661-
description: match re
2662-
type: object
2663-
matchers:
2664-
description: matchers
2665-
items:
2666-
properties:
2667-
isEqual:
2668-
description: is equal
2669-
type: boolean
2670-
isRegex:
2671-
description: is regex
2672-
type: boolean
2673-
name:
2674-
description: name
2675-
type: string
2676-
value:
2677-
description: value
2678-
type: string
2679-
required:
2680-
- isRegex
2681-
- value
2682-
type: object
2683-
type: array
2684-
mute_time_intervals:
2685-
description: mute time intervals
2686-
items:
2687-
type: string
2688-
type: array
2689-
object_matchers:
2690-
description: object matchers
2691-
items:
2692-
description: |-
2693-
ObjectMatcher ObjectMatcher is a matcher that can be used to filter alerts.
2694-
2695-
swagger:model ObjectMatcher
2696-
items:
2697-
type: string
2698-
type: array
2699-
type: array
27002651
provenance:
2701-
description: provenance
2652+
description: 'Deprecated: Does nothing'
27022653
type: string
27032654
receiver:
27042655
description: receiver
@@ -2901,6 +2852,7 @@ spec:
29012852
of GrafanaNotificationPolicyRoute
29022853
properties:
29032854
active_time_intervals:
2855+
description: active time intervals
29042856
items:
29052857
type: string
29062858
type: array
@@ -2961,7 +2913,7 @@ spec:
29612913
type: array
29622914
type: array
29632915
provenance:
2964-
description: provenance
2916+
description: 'Deprecated: Does nothing'
29652917
type: string
29662918
receiver:
29672919
description: receiver

docs/docs/api.md

Lines changed: 3 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -5128,20 +5128,6 @@ Routes for alerts to match against
51285128
receiver<br/>
51295129
</td>
51305130
<td>true</td>
5131-
</tr><tr>
5132-
<td><b>active_time_intervals</b></td>
5133-
<td>[]string</td>
5134-
<td>
5135-
<br/>
5136-
</td>
5137-
<td>false</td>
5138-
</tr><tr>
5139-
<td><b>continue</b></td>
5140-
<td>boolean</td>
5141-
<td>
5142-
continue<br/>
5143-
</td>
5144-
<td>false</td>
51455131
</tr><tr>
51465132
<td><b>group_by</b></td>
51475133
<td>[]string</td>
@@ -5163,39 +5149,11 @@ Routes for alerts to match against
51635149
group wait<br/>
51645150
</td>
51655151
<td>false</td>
5166-
</tr><tr>
5167-
<td><b>match_re</b></td>
5168-
<td>map[string]string</td>
5169-
<td>
5170-
match re<br/>
5171-
</td>
5172-
<td>false</td>
5173-
</tr><tr>
5174-
<td><b><a href="#grafananotificationpolicyspecroutematchersindex">matchers</a></b></td>
5175-
<td>[]object</td>
5176-
<td>
5177-
matchers<br/>
5178-
</td>
5179-
<td>false</td>
5180-
</tr><tr>
5181-
<td><b>mute_time_intervals</b></td>
5182-
<td>[]string</td>
5183-
<td>
5184-
mute time intervals<br/>
5185-
</td>
5186-
<td>false</td>
5187-
</tr><tr>
5188-
<td><b>object_matchers</b></td>
5189-
<td>[][]string</td>
5190-
<td>
5191-
object matchers<br/>
5192-
</td>
5193-
<td>false</td>
51945152
</tr><tr>
51955153
<td><b>provenance</b></td>
51965154
<td>string</td>
51975155
<td>
5198-
provenance<br/>
5156+
Deprecated: Does nothing<br/>
51995157
</td>
52005158
<td>false</td>
52015159
</tr><tr>
@@ -5224,54 +5182,6 @@ mutually exclusive with Routes<br/>
52245182
</table>
52255183

52265184

5227-
### GrafanaNotificationPolicy.spec.route.matchers[index]
5228-
<sup><sup>[↩ Parent](#grafananotificationpolicyspecroute)</sup></sup>
5229-
5230-
5231-
5232-
5233-
5234-
<table>
5235-
<thead>
5236-
<tr>
5237-
<th>Name</th>
5238-
<th>Type</th>
5239-
<th>Description</th>
5240-
<th>Required</th>
5241-
</tr>
5242-
</thead>
5243-
<tbody><tr>
5244-
<td><b>isRegex</b></td>
5245-
<td>boolean</td>
5246-
<td>
5247-
is regex<br/>
5248-
</td>
5249-
<td>true</td>
5250-
</tr><tr>
5251-
<td><b>value</b></td>
5252-
<td>string</td>
5253-
<td>
5254-
value<br/>
5255-
</td>
5256-
<td>true</td>
5257-
</tr><tr>
5258-
<td><b>isEqual</b></td>
5259-
<td>boolean</td>
5260-
<td>
5261-
is equal<br/>
5262-
</td>
5263-
<td>false</td>
5264-
</tr><tr>
5265-
<td><b>name</b></td>
5266-
<td>string</td>
5267-
<td>
5268-
name<br/>
5269-
</td>
5270-
<td>false</td>
5271-
</tr></tbody>
5272-
</table>
5273-
5274-
52755185
### GrafanaNotificationPolicy.spec.route.routeSelector
52765186
<sup><sup>[↩ Parent](#grafananotificationpolicyspecroute)</sup></sup>
52775187

@@ -5555,7 +5465,7 @@ GrafanaNotificationPolicyRouteSpec defines the desired state of GrafanaNotificat
55555465
<td><b>active_time_intervals</b></td>
55565466
<td>[]string</td>
55575467
<td>
5558-
<br/>
5468+
active time intervals<br/>
55595469
</td>
55605470
<td>false</td>
55615471
</tr><tr>
@@ -5618,7 +5528,7 @@ GrafanaNotificationPolicyRouteSpec defines the desired state of GrafanaNotificat
56185528
<td><b>provenance</b></td>
56195529
<td>string</td>
56205530
<td>
5621-
provenance<br/>
5531+
Deprecated: Does nothing<br/>
56225532
</td>
56235533
<td>false</td>
56245534
</tr><tr>

0 commit comments

Comments
 (0)