Skip to content

Commit 6607273

Browse files
generate from v0.37.0 crossplane provider (#46)
1 parent b250ec9 commit 6607273

File tree

13 files changed

+142
-18
lines changed

13 files changed

+142
-18
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
LIBRARY_VERSION:=0.9.0
2-
PROVIDER_VERSION:=0.36.0
1+
LIBRARY_VERSION:=0.10.0
2+
PROVIDER_VERSION:=0.37.0
33
JSONNET_BIN:=jrsonnet
44
CROSSPLANE?=crossplane
55
REGISTRY?=ghcr.io

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Most of this library is generated: the Compositions/XRDs packages, Configuration
1111
## Install
1212

1313
```
14-
jb install github.com/grafana/grafana-crossplane-libsonnet/grafanaplane@0.9.0-0.36.0
14+
jb install github.com/grafana/grafana-crossplane-libsonnet/grafanaplane@0.10.0-0.37.0
1515
```
1616

1717
## Usage

docs/raw/alerting/v1alpha1/alertenrichmentV1Beta1/index.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
* [`fn withAnnotationMatchers(value)`](#fn-specparametersforproviderspecwithannotationmatchers)
9696
* [`fn withAnnotationMatchersMixin(value)`](#fn-specparametersforproviderspecwithannotationmatchersmixin)
9797
* [`fn withDescription(value)`](#fn-specparametersforproviderspecwithdescription)
98+
* [`fn withDisableProvenance(value=true)`](#fn-specparametersforproviderspecwithdisableprovenance)
9899
* [`fn withLabelMatchers(value)`](#fn-specparametersforproviderspecwithlabelmatchers)
99100
* [`fn withLabelMatchersMixin(value)`](#fn-specparametersforproviderspecwithlabelmatchersmixin)
100101
* [`fn withReceivers(value)`](#fn-specparametersforproviderspecwithreceivers)
@@ -120,6 +121,7 @@
120121
* [`fn withAnnotationMatchers(value)`](#fn-specparametersinitproviderspecwithannotationmatchers)
121122
* [`fn withAnnotationMatchersMixin(value)`](#fn-specparametersinitproviderspecwithannotationmatchersmixin)
122123
* [`fn withDescription(value)`](#fn-specparametersinitproviderspecwithdescription)
124+
* [`fn withDisableProvenance(value=true)`](#fn-specparametersinitproviderspecwithdisableprovenance)
123125
* [`fn withLabelMatchers(value)`](#fn-specparametersinitproviderspecwithlabelmatchers)
124126
* [`fn withLabelMatchersMixin(value)`](#fn-specparametersinitproviderspecwithlabelmatchersmixin)
125127
* [`fn withReceivers(value)`](#fn-specparametersinitproviderspecwithreceivers)
@@ -1074,6 +1076,18 @@ PARAMETERS:
10741076
* **value** (`string`)
10751077

10761078
Description of the alert enrichment.
1079+
####### fn spec.parameters.forProvider.spec.withDisableProvenance
1080+
1081+
```jsonnet
1082+
spec.parameters.forProvider.spec.withDisableProvenance(value=true)
1083+
```
1084+
1085+
PARAMETERS:
1086+
1087+
* **value** (`boolean`)
1088+
- default value: `true`
1089+
1090+
allow modifying alert enrichment outside of provider
10771091
####### fn spec.parameters.forProvider.spec.withLabelMatchers
10781092

10791093
```jsonnet
@@ -1318,6 +1332,18 @@ PARAMETERS:
13181332
* **value** (`string`)
13191333

13201334
Description of the alert enrichment.
1335+
####### fn spec.parameters.initProvider.spec.withDisableProvenance
1336+
1337+
```jsonnet
1338+
spec.parameters.initProvider.spec.withDisableProvenance(value=true)
1339+
```
1340+
1341+
PARAMETERS:
1342+
1343+
* **value** (`boolean`)
1344+
- default value: `true`
1345+
1346+
allow modifying alert enrichment outside of provider
13211347
####### fn spec.parameters.initProvider.spec.withLabelMatchers
13221348

13231349
```jsonnet

docs/raw/sm/v1alpha1/checkAlerts/spec/parameters/forProvider/alerts.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
* [`fn withName(value)`](#fn-withname)
88
* [`fn withPeriod(value)`](#fn-withperiod)
9+
* [`fn withRunbookUrl(value)`](#fn-withrunbookurl)
910
* [`fn withThreshold(value)`](#fn-withthreshold)
1011

1112
## Fields
@@ -31,6 +32,17 @@ PARAMETERS:
3132

3233
* **value** (`string`)
3334

35+
(String)
36+
### fn withRunbookUrl
37+
38+
```jsonnet
39+
withRunbookUrl(value)
40+
```
41+
42+
PARAMETERS:
43+
44+
* **value** (`string`)
45+
3446
(String)
3547
### fn withThreshold
3648

docs/raw/sm/v1alpha1/checkAlerts/spec/parameters/initProvider/alerts.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
* [`fn withName(value)`](#fn-withname)
88
* [`fn withPeriod(value)`](#fn-withperiod)
9+
* [`fn withRunbookUrl(value)`](#fn-withrunbookurl)
910
* [`fn withThreshold(value)`](#fn-withthreshold)
1011

1112
## Fields
@@ -31,6 +32,17 @@ PARAMETERS:
3132

3233
* **value** (`string`)
3334

35+
(String)
36+
### fn withRunbookUrl
37+
38+
```jsonnet
39+
withRunbookUrl(value)
40+
```
41+
42+
PARAMETERS:
43+
44+
* **value** (`string`)
45+
3446
(String)
3547
### fn withThreshold
3648

generator/crds.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ spec:
120120
description:
121121
description: Description of the alert enrichment.
122122
type: string
123+
disableProvenance:
124+
description: allow modifying alert enrichment outside of provider
125+
type: boolean
123126
labelMatchers:
124127
description: 'Label matchers that an alert must satisfy for
125128
this enrichment to apply. Each matcher is an object with:
@@ -607,6 +610,9 @@ spec:
607610
description:
608611
description: Description of the alert enrichment.
609612
type: string
613+
disableProvenance:
614+
description: allow modifying alert enrichment outside of provider
615+
type: boolean
610616
labelMatchers:
611617
description: 'Label matchers that an alert must satisfy for
612618
this enrichment to apply. Each matcher is an object with:
@@ -1221,6 +1227,12 @@ spec:
12211227
metadata:
12221228
description: The metadata of the resource.
12231229
properties:
1230+
annotations:
1231+
additionalProperties:
1232+
type: string
1233+
description: Annotations of the resource.
1234+
type: object
1235+
x-kubernetes-map-type: granular
12241236
folderUid:
12251237
description: The UID of the folder to save the resource in.
12261238
type: string
@@ -1275,6 +1287,9 @@ spec:
12751287
description:
12761288
description: Description of the alert enrichment.
12771289
type: string
1290+
disableProvenance:
1291+
description: allow modifying alert enrichment outside of provider
1292+
type: boolean
12781293
labelMatchers:
12791294
description: 'Label matchers that an alert must satisfy for
12801295
this enrichment to apply. Each matcher is an object with:
@@ -58131,6 +58146,9 @@ spec:
5813158146
period:
5813258147
description: (String)
5813358148
type: string
58149+
runbookUrl:
58150+
description: (String)
58151+
type: string
5813458152
threshold:
5813558153
description: (Number)
5813658154
type: number
@@ -58167,6 +58185,9 @@ spec:
5816758185
period:
5816858186
description: (String)
5816958187
type: string
58188+
runbookUrl:
58189+
description: (String)
58190+
type: string
5817058191
threshold:
5817158192
description: (Number)
5817258193
type: number
@@ -58371,6 +58392,9 @@ spec:
5837158392
period:
5837258393
description: (String)
5837358394
type: string
58395+
runbookUrl:
58396+
description: (String)
58397+
type: string
5837458398
threshold:
5837558399
description: (Number)
5837658400
type: number

grafanaplane/zz/alerting/v1alpha1/alertenrichmentV1Beta1/spec/parameters.libsonnet

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,18 @@
221221
},
222222
},
223223
},
224+
'#withDisableProvenance': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'allow modifying alert enrichment outside of provider' } },
225+
withDisableProvenance(value=true): {
226+
spec+: {
227+
parameters+: {
228+
forProvider+: {
229+
spec+: {
230+
disableProvenance: value,
231+
},
232+
},
233+
},
234+
},
235+
},
224236
'#withLabelMatchers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "Label matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, label key to match), 'value' (string, label value to compare against, supports regex for =~/!~ operators)." } },
225237
withLabelMatchers(value): {
226238
spec+: {
@@ -1433,6 +1445,18 @@
14331445
},
14341446
},
14351447
},
1448+
'#withDisableProvenance': { 'function': { args: [{ default: true, enums: null, name: 'value', type: ['boolean'] }], help: 'allow modifying alert enrichment outside of provider' } },
1449+
withDisableProvenance(value=true): {
1450+
spec+: {
1451+
parameters+: {
1452+
initProvider+: {
1453+
spec+: {
1454+
disableProvenance: value,
1455+
},
1456+
},
1457+
},
1458+
},
1459+
},
14361460
'#withLabelMatchers': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['array'] }], help: "Label matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, label key to match), 'value' (string, label value to compare against, supports regex for =~/!~ operators)." } },
14371461
withLabelMatchers(value): {
14381462
spec+: {

grafanaplane/zz/configurations.libsonnet

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
name: 'grafana-namespaced-alerting',
1010
},
1111
spec: {
12-
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-alerting:0.9.0-0.36.0',
12+
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-alerting:0.10.0-0.37.0',
1313
},
1414
},
1515
asserts: {
@@ -22,7 +22,7 @@
2222
name: 'grafana-namespaced-asserts',
2323
},
2424
spec: {
25-
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-asserts:0.9.0-0.36.0',
25+
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-asserts:0.10.0-0.37.0',
2626
},
2727
},
2828
cloud: {
@@ -35,7 +35,7 @@
3535
name: 'grafana-namespaced-cloud',
3636
},
3737
spec: {
38-
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-cloud:0.9.0-0.36.0',
38+
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-cloud:0.10.0-0.37.0',
3939
},
4040
},
4141
cloudprovider: {
@@ -48,7 +48,7 @@
4848
name: 'grafana-namespaced-cloudprovider',
4949
},
5050
spec: {
51-
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-cloudprovider:0.9.0-0.36.0',
51+
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-cloudprovider:0.10.0-0.37.0',
5252
},
5353
},
5454
connections: {
@@ -61,7 +61,7 @@
6161
name: 'grafana-namespaced-connections',
6262
},
6363
spec: {
64-
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-connections:0.9.0-0.36.0',
64+
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-connections:0.10.0-0.37.0',
6565
},
6666
},
6767
enterprise: {
@@ -74,7 +74,7 @@
7474
name: 'grafana-namespaced-enterprise',
7575
},
7676
spec: {
77-
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-enterprise:0.9.0-0.36.0',
77+
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-enterprise:0.10.0-0.37.0',
7878
},
7979
},
8080
fleetmanagement: {
@@ -87,7 +87,7 @@
8787
name: 'grafana-namespaced-fleetmanagement',
8888
},
8989
spec: {
90-
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-fleetmanagement:0.9.0-0.36.0',
90+
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-fleetmanagement:0.10.0-0.37.0',
9191
},
9292
},
9393
frontendobservability: {
@@ -100,7 +100,7 @@
100100
name: 'grafana-namespaced-frontendobservability',
101101
},
102102
spec: {
103-
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-frontendobservability:0.9.0-0.36.0',
103+
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-frontendobservability:0.10.0-0.37.0',
104104
},
105105
},
106106
k6: {
@@ -113,7 +113,7 @@
113113
name: 'grafana-namespaced-k6',
114114
},
115115
spec: {
116-
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-k6:0.9.0-0.36.0',
116+
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-k6:0.10.0-0.37.0',
117117
},
118118
},
119119
ml: {
@@ -126,7 +126,7 @@
126126
name: 'grafana-namespaced-ml',
127127
},
128128
spec: {
129-
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-ml:0.9.0-0.36.0',
129+
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-ml:0.10.0-0.37.0',
130130
},
131131
},
132132
oncall: {
@@ -139,7 +139,7 @@
139139
name: 'grafana-namespaced-oncall',
140140
},
141141
spec: {
142-
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-oncall:0.9.0-0.36.0',
142+
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-oncall:0.10.0-0.37.0',
143143
},
144144
},
145145
oss: {
@@ -152,7 +152,7 @@
152152
name: 'grafana-namespaced-oss',
153153
},
154154
spec: {
155-
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-oss:0.9.0-0.36.0',
155+
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-oss:0.10.0-0.37.0',
156156
},
157157
},
158158
slo: {
@@ -165,7 +165,7 @@
165165
name: 'grafana-namespaced-slo',
166166
},
167167
spec: {
168-
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-slo:0.9.0-0.36.0',
168+
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-slo:0.10.0-0.37.0',
169169
},
170170
},
171171
sm: {
@@ -178,7 +178,7 @@
178178
name: 'grafana-namespaced-sm',
179179
},
180180
spec: {
181-
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-sm:0.9.0-0.36.0',
181+
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-sm:0.10.0-0.37.0',
182182
},
183183
},
184184
}

grafanaplane/zz/sm/v1alpha1/checkAlerts/spec/parameters.libsonnet

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@
7070
withPeriod(value): {
7171
period: value,
7272
},
73+
'#withRunbookUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } },
74+
withRunbookUrl(value): {
75+
runbookUrl: value,
76+
},
7377
'#withThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number)' } },
7478
withThreshold(value): {
7579
threshold: value,
@@ -141,6 +145,10 @@
141145
withPeriod(value): {
142146
period: value,
143147
},
148+
'#withRunbookUrl': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['string'] }], help: '(String)' } },
149+
withRunbookUrl(value): {
150+
runbookUrl: value,
151+
},
144152
'#withThreshold': { 'function': { args: [{ default: null, enums: null, name: 'value', type: ['number'] }], help: '(Number)' } },
145153
withThreshold(value): {
146154
threshold: value,

grafanaplane/zz/version.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
'0.9.0-0.36.0'
1+
'0.10.0-0.37.0'

0 commit comments

Comments
 (0)