17
17
- groupVersionKind:
18
18
group: garm-operator.mercedes-benz.com
19
19
kind: "Enterprise"
20
- version: "v1alpha1 "
20
+ version: "v1beta1 "
21
21
metricNamePrefix: garm_operator
22
22
commonLabels:
23
23
crd_type: "enterprise"
40
40
type: Info
41
41
info:
42
42
labelsFromPath:
43
- credentialsName : [ spec, credentialsName ]
43
+ credentialsRefName : [ spec, credentialsRef, name ]
44
44
webhookSecretRefKey: [ spec, webhookSecretRef, key ]
45
45
webhookSecretRefName: [ spec, webhookSecretRef, name ]
46
46
id: [ status, id ]
77
77
- groupVersionKind:
78
78
group: garm-operator.mercedes-benz.com
79
79
kind: "Organization"
80
- version: "v1alpha1 "
80
+ version: "v1beta1 "
81
81
metricNamePrefix: garm_operator
82
82
commonLabels:
83
83
crd_type: "organization"
@@ -100,7 +100,7 @@ data:
100
100
type: Info
101
101
info:
102
102
labelsFromPath:
103
- credentialsName : [ spec, credentialsName ]
103
+ credentialsRefName : [ spec, credentialsRef, name ]
104
104
webhookSecretRefKey: [ spec, webhookSecretRef, key ]
105
105
webhookSecretRefName: [ spec, webhookSecretRef, name ]
106
106
id: [ status, id ]
@@ -137,7 +137,7 @@ data:
137
137
- groupVersionKind:
138
138
group: garm-operator.mercedes-benz.com
139
139
kind: "Repository"
140
- version: "v1alpha1 "
140
+ version: "v1beta1 "
141
141
metricNamePrefix: garm_operator
142
142
commonLabels:
143
143
crd_type: "repository"
@@ -161,7 +161,7 @@ data:
161
161
info:
162
162
labelsFromPath:
163
163
owner: [ spec, owner ]
164
- credentialsName : [ spec, credentialsName ]
164
+ credentialsRefName : [ spec, credentialsRef, name ]
165
165
webhookSecretRefKey: [ spec, webhookSecretRef, key ]
166
166
webhookSecretRefName: [ spec, webhookSecretRef, name ]
167
167
id: [ status, id ]
@@ -198,7 +198,7 @@ data:
198
198
- groupVersionKind:
199
199
group: garm-operator.mercedes-benz.com
200
200
kind: "Pool"
201
- version: "v1alpha1 "
201
+ version: "v1beta1 "
202
202
metricNamePrefix: garm_operator
203
203
commonLabels:
204
204
crd_type: "pool"
@@ -302,7 +302,7 @@ data:
302
302
- groupVersionKind:
303
303
group: garm-operator.mercedes-benz.com
304
304
kind: "Image"
305
- version: "v1alpha1 "
305
+ version: "v1beta1 "
306
306
metricNamePrefix: garm_operator
307
307
commonLabels:
308
308
crd_type: "image"
@@ -326,3 +326,138 @@ data:
326
326
info:
327
327
labelsFromPath:
328
328
tag: [spec, tag]
329
+
330
+ ############################
331
+ # GarmServerConfig #
332
+ ############################
333
+ - groupVersionKind:
334
+ group: garm-operator.mercedes-benz.com
335
+ kind: "GarmServerConfig"
336
+ version: "v1beta1"
337
+ metricNamePrefix: garm_operator
338
+ commonLabels:
339
+ crd_type: "garmserverconfig"
340
+ labelsFromPath:
341
+ name: [ metadata, name ]
342
+ namespace: [ metadata, namespace ]
343
+ metrics:
344
+ - name: garmserverconfig_created
345
+ help: Unix creation timestamp.
346
+ each:
347
+ gauge:
348
+ path:
349
+ - metadata
350
+ - creationTimestamp
351
+ type: Gauge
352
+
353
+ - name: garmserverconfig_info
354
+ help: Information about a garm server config.
355
+ each:
356
+ type: Info
357
+ info:
358
+ labelsFromPath:
359
+ callbackUrl: [spec, callbackUrl]
360
+ metadataUrl: [spec, metadataUrl]
361
+ webhookUrl: [spec, webhookUrl]
362
+ controllerId: [status, controllerId]
363
+ minimumJobAgeBackoff: [status, minimumJobAgeBackoff]
364
+ version: [status, version]
365
+
366
+ ############################
367
+ # GitHubEndpoint #
368
+ ############################
369
+ - groupVersionKind:
370
+ group: garm-operator.mercedes-benz.com
371
+ kind: "GitHubEndpoint"
372
+ version: "v1beta1"
373
+ metricNamePrefix: garm_operator
374
+ commonLabels:
375
+ crd_type: "githubendpoint"
376
+ labelsFromPath:
377
+ name: [ metadata, name ]
378
+ namespace: [ metadata, namespace ]
379
+ metrics:
380
+ - name: githubendpoint_created
381
+ help: Unix creation timestamp.
382
+ each:
383
+ gauge:
384
+ path:
385
+ - metadata
386
+ - creationTimestamp
387
+ type: Gauge
388
+
389
+ - name: githubendpoint_info
390
+ help: Information about a githubendpoint config.
391
+ each:
392
+ type: Info
393
+ info:
394
+ labelsFromPath:
395
+ apiBaseUrl: [spec, apiBaseUrl]
396
+ baseUrl: [spec, baseUrl]
397
+ uploadBaseUrl: [spec, uploadBaseUrl]
398
+
399
+ - name: githubendpoint_status_conditions
400
+ help: Displays whether status of each possible condition is True or False.
401
+ each:
402
+ type: Gauge
403
+ gauge:
404
+ path:
405
+ - status
406
+ - conditions
407
+ valueFrom:
408
+ - status
409
+ labelFromKey: reason
410
+ labelsFromPath:
411
+ type: [ type ]
412
+
413
+ ############################
414
+ # GitHubCredential #
415
+ ############################
416
+ - groupVersionKind:
417
+ group: garm-operator.mercedes-benz.com
418
+ kind: "GitHubCredential"
419
+ version: "v1beta1"
420
+ metricNamePrefix: garm_operator
421
+ commonLabels:
422
+ crd_type: "githubcredential"
423
+ labelsFromPath:
424
+ name: [ metadata, name ]
425
+ namespace: [ metadata, namespace ]
426
+ metrics:
427
+ - name: githubcredential_created
428
+ help: Unix creation timestamp.
429
+ each:
430
+ gauge:
431
+ path:
432
+ - metadata
433
+ - creationTimestamp
434
+ type: Gauge
435
+
436
+ - name: githubcredential_info
437
+ help: Information about a githubcredential config.
438
+ each:
439
+ type: Info
440
+ info:
441
+ labelsFromPath:
442
+ authType: [spec, authType]
443
+ secretRefKey: [ spec, secretRef, key ]
444
+ secretRefName: [ spec, secretRef, name ]
445
+ endpointRefName: [ spec, endpointRef, name ]
446
+ apiBaseUrl: [status, apiBaseUrl]
447
+ baseUrl: [status, baseUrl]
448
+ uploadBaseUrl: [status, uploadBaseUrl]
449
+ id: [status, id]
450
+
451
+ - name: githubcredential_status_conditions
452
+ help: Displays whether status of each possible condition is True or False.
453
+ each:
454
+ type: Gauge
455
+ gauge:
456
+ path:
457
+ - status
458
+ - conditions
459
+ valueFrom:
460
+ - status
461
+ labelFromKey: reason
462
+ labelsFromPath:
463
+ type: [ type ]
0 commit comments