@r8s/crds 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/crds/certmanager-certificate.yaml +794 -0
  2. package/crds/certmanager-clusterissuer.yaml +3739 -0
  3. package/crds/clickhouse-installation.yaml +1847 -0
  4. package/crds/cnpg-cluster.yaml +6794 -0
  5. package/crds/cnpg-pooler.yaml +9311 -0
  6. package/crds/cnpg-scheduledbackup.yaml +191 -0
  7. package/crds/envoy-backendtrafficpolicy.yaml +1 -0
  8. package/crds/envoy-clienttrafficpolicy.yaml +1 -0
  9. package/crds/envoy-envoyproxy.yaml +1 -0
  10. package/crds/envoy-proxy.yaml +16626 -0
  11. package/crds/envoy-securitypolicy.yaml +1 -0
  12. package/crds/externaldns-endpoint.yaml +94 -0
  13. package/crds/gatewayapi-gateway.yaml +2253 -0
  14. package/crds/gatewayapi-httproute.yaml +5643 -0
  15. package/crds/keycloak-keycloak.yaml +3192 -0
  16. package/crds/keycloak-realmimport.yaml +2878 -0
  17. package/crds/logging-flow.yaml +1768 -0
  18. package/crds/logging-logging.yaml +16770 -0
  19. package/crds/logging-output.yaml +14658 -0
  20. package/crds/loki-lokistack.yaml +5390 -0
  21. package/crds/prometheus-alertmanager.yaml +10013 -0
  22. package/crds/prometheus-podmonitor.yaml +741 -0
  23. package/crds/prometheus-prometheus.yaml +13928 -0
  24. package/crds/prometheus-prometheusrule.yaml +267 -0
  25. package/crds/prometheus-scrapeconfig.yaml +12938 -0
  26. package/crds/prometheus-servicemonitor.yaml +764 -0
  27. package/crds/prometheus-thanosruler.yaml +9795 -0
  28. package/crds/redis-cluster.yaml +7862 -0
  29. package/crds/redis-failover.yaml +1 -0
  30. package/crds/redis-replication.yaml +5593 -0
  31. package/crds/velero-backups.yaml +630 -0
  32. package/crds/velero-backupstoragelocations.yaml +174 -0
  33. package/crds/velero-schedules.yaml +584 -0
  34. package/dist/generated/cert-manager.d.ts +873 -0
  35. package/dist/generated/cert-manager.d.ts.map +1 -0
  36. package/dist/generated/cert-manager.js +24 -0
  37. package/dist/generated/cert-manager.js.map +1 -0
  38. package/dist/generated/clickhouse.d.ts +692 -0
  39. package/dist/generated/clickhouse.d.ts.map +1 -0
  40. package/dist/generated/clickhouse.js +14 -0
  41. package/dist/generated/clickhouse.js.map +1 -0
  42. package/dist/generated/externaldns.d.ts +47 -0
  43. package/dist/generated/externaldns.d.ts.map +1 -0
  44. package/dist/generated/externaldns.js +14 -0
  45. package/dist/generated/externaldns.js.map +1 -0
  46. package/dist/generated/gateway.d.ts +2396 -0
  47. package/dist/generated/gateway.d.ts.map +1 -0
  48. package/dist/generated/gateway.js +34 -0
  49. package/dist/generated/gateway.js.map +1 -0
  50. package/dist/generated/index.d.ts +24 -0
  51. package/dist/generated/index.d.ts.map +1 -0
  52. package/dist/generated/index.js +61 -0
  53. package/dist/generated/index.js.map +1 -0
  54. package/dist/generated/keycloak.d.ts +1607 -0
  55. package/dist/generated/keycloak.d.ts.map +1 -0
  56. package/dist/generated/keycloak.js +24 -0
  57. package/dist/generated/keycloak.js.map +1 -0
  58. package/dist/generated/logging.d.ts +3487 -0
  59. package/dist/generated/logging.d.ts.map +1 -0
  60. package/dist/generated/logging.js +34 -0
  61. package/dist/generated/logging.js.map +1 -0
  62. package/dist/generated/loki.d.ts +578 -0
  63. package/dist/generated/loki.d.ts.map +1 -0
  64. package/dist/generated/loki.js +14 -0
  65. package/dist/generated/loki.js.map +1 -0
  66. package/dist/generated/monitoring.d.ts +4230 -0
  67. package/dist/generated/monitoring.d.ts.map +1 -0
  68. package/dist/generated/monitoring.js +74 -0
  69. package/dist/generated/monitoring.js.map +1 -0
  70. package/dist/generated/operators.d.ts +18 -0
  71. package/dist/generated/operators.d.ts.map +1 -0
  72. package/dist/generated/operators.js +191 -0
  73. package/dist/generated/operators.js.map +1 -0
  74. package/dist/generated/postgresql.d.ts +2820 -0
  75. package/dist/generated/postgresql.d.ts.map +1 -0
  76. package/dist/generated/postgresql.js +34 -0
  77. package/dist/generated/postgresql.js.map +1 -0
  78. package/dist/generated/redis.d.ts +1253 -0
  79. package/dist/generated/redis.d.ts.map +1 -0
  80. package/dist/generated/redis.js +24 -0
  81. package/dist/generated/redis.js.map +1 -0
  82. package/dist/generated/velero.d.ts +351 -0
  83. package/dist/generated/velero.d.ts.map +1 -0
  84. package/dist/generated/velero.js +34 -0
  85. package/dist/generated/velero.js.map +1 -0
  86. package/dist/index.d.ts +18 -0
  87. package/dist/index.d.ts.map +1 -0
  88. package/dist/index.js +34 -0
  89. package/dist/index.js.map +1 -0
  90. package/operators.yaml +196 -0
  91. package/package.json +49 -0
@@ -0,0 +1,764 @@
1
+ ---
2
+ apiVersion: apiextensions.k8s.io/v1
3
+ kind: CustomResourceDefinition
4
+ metadata:
5
+ annotations:
6
+ controller-gen.kubebuilder.io/version: v0.13.0
7
+ operator.prometheus.io/version: 0.72.0
8
+ name: servicemonitors.monitoring.coreos.com
9
+ spec:
10
+ group: monitoring.coreos.com
11
+ names:
12
+ categories:
13
+ - prometheus-operator
14
+ kind: ServiceMonitor
15
+ listKind: ServiceMonitorList
16
+ plural: servicemonitors
17
+ shortNames:
18
+ - smon
19
+ singular: servicemonitor
20
+ scope: Namespaced
21
+ versions:
22
+ - name: v1
23
+ schema:
24
+ openAPIV3Schema:
25
+ description: ServiceMonitor defines monitoring for a set of services.
26
+ properties:
27
+ apiVersion:
28
+ description: 'APIVersion defines the versioned schema of this representation
29
+ of an object. Servers should convert recognized schemas to the latest
30
+ internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
31
+ type: string
32
+ kind:
33
+ description: 'Kind is a string value representing the REST resource this
34
+ object represents. Servers may infer this from the endpoint the client
35
+ submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
36
+ type: string
37
+ metadata:
38
+ type: object
39
+ spec:
40
+ description: Specification of desired Service selection for target discovery
41
+ by Prometheus.
42
+ properties:
43
+ attachMetadata:
44
+ description: "`attachMetadata` defines additional metadata which is
45
+ added to the discovered targets. \n It requires Prometheus >= v2.37.0."
46
+ properties:
47
+ node:
48
+ description: When set to true, Prometheus must have the `get`
49
+ permission on the `Nodes` objects.
50
+ type: boolean
51
+ type: object
52
+ endpoints:
53
+ description: List of endpoints part of this ServiceMonitor.
54
+ items:
55
+ description: Endpoint defines an endpoint serving Prometheus metrics
56
+ to be scraped by Prometheus.
57
+ properties:
58
+ authorization:
59
+ description: "`authorization` configures the Authorization header
60
+ credentials to use when scraping the target. \n Cannot be
61
+ set at the same time as `basicAuth`, or `oauth2`."
62
+ properties:
63
+ credentials:
64
+ description: Selects a key of a Secret in the namespace
65
+ that contains the credentials for authentication.
66
+ properties:
67
+ key:
68
+ description: The key of the secret to select from. Must
69
+ be a valid secret key.
70
+ type: string
71
+ name:
72
+ description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
73
+ TODO: Add other useful fields. apiVersion, kind, uid?'
74
+ type: string
75
+ optional:
76
+ description: Specify whether the Secret or its key must
77
+ be defined
78
+ type: boolean
79
+ required:
80
+ - key
81
+ type: object
82
+ x-kubernetes-map-type: atomic
83
+ type:
84
+ description: "Defines the authentication type. The value
85
+ is case-insensitive. \n \"Basic\" is not a supported value.
86
+ \n Default: \"Bearer\""
87
+ type: string
88
+ type: object
89
+ basicAuth:
90
+ description: "`basicAuth` configures the Basic Authentication
91
+ credentials to use when scraping the target. \n Cannot be
92
+ set at the same time as `authorization`, or `oauth2`."
93
+ properties:
94
+ password:
95
+ description: '`password` specifies a key of a Secret containing
96
+ the password for authentication.'
97
+ properties:
98
+ key:
99
+ description: The key of the secret to select from. Must
100
+ be a valid secret key.
101
+ type: string
102
+ name:
103
+ description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
104
+ TODO: Add other useful fields. apiVersion, kind, uid?'
105
+ type: string
106
+ optional:
107
+ description: Specify whether the Secret or its key must
108
+ be defined
109
+ type: boolean
110
+ required:
111
+ - key
112
+ type: object
113
+ x-kubernetes-map-type: atomic
114
+ username:
115
+ description: '`username` specifies a key of a Secret containing
116
+ the username for authentication.'
117
+ properties:
118
+ key:
119
+ description: The key of the secret to select from. Must
120
+ be a valid secret key.
121
+ type: string
122
+ name:
123
+ description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
124
+ TODO: Add other useful fields. apiVersion, kind, uid?'
125
+ type: string
126
+ optional:
127
+ description: Specify whether the Secret or its key must
128
+ be defined
129
+ type: boolean
130
+ required:
131
+ - key
132
+ type: object
133
+ x-kubernetes-map-type: atomic
134
+ type: object
135
+ bearerTokenFile:
136
+ description: "File to read bearer token for scraping the target.
137
+ \n Deprecated: use `authorization` instead."
138
+ type: string
139
+ bearerTokenSecret:
140
+ description: "`bearerTokenSecret` specifies a key of a Secret
141
+ containing the bearer token for scraping targets. The secret
142
+ needs to be in the same namespace as the ServiceMonitor object
143
+ and readable by the Prometheus Operator. \n Deprecated: use
144
+ `authorization` instead."
145
+ properties:
146
+ key:
147
+ description: The key of the secret to select from. Must
148
+ be a valid secret key.
149
+ type: string
150
+ name:
151
+ description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
152
+ TODO: Add other useful fields. apiVersion, kind, uid?'
153
+ type: string
154
+ optional:
155
+ description: Specify whether the Secret or its key must
156
+ be defined
157
+ type: boolean
158
+ required:
159
+ - key
160
+ type: object
161
+ x-kubernetes-map-type: atomic
162
+ enableHttp2:
163
+ description: '`enableHttp2` can be used to disable HTTP2 when
164
+ scraping the target.'
165
+ type: boolean
166
+ filterRunning:
167
+ description: "When true, the pods which are not running (e.g.
168
+ either in Failed or Succeeded state) are dropped during the
169
+ target discovery. \n If unset, the filtering is enabled. \n
170
+ More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase"
171
+ type: boolean
172
+ followRedirects:
173
+ description: '`followRedirects` defines whether the scrape requests
174
+ should follow HTTP 3xx redirects.'
175
+ type: boolean
176
+ honorLabels:
177
+ description: When true, `honorLabels` preserves the metric's
178
+ labels when they collide with the target's labels.
179
+ type: boolean
180
+ honorTimestamps:
181
+ description: '`honorTimestamps` controls whether Prometheus
182
+ preserves the timestamps when exposed by the target.'
183
+ type: boolean
184
+ interval:
185
+ description: "Interval at which Prometheus scrapes the metrics
186
+ from the target. \n If empty, Prometheus uses the global scrape
187
+ interval."
188
+ pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
189
+ type: string
190
+ metricRelabelings:
191
+ description: '`metricRelabelings` configures the relabeling
192
+ rules to apply to the samples before ingestion.'
193
+ items:
194
+ description: "RelabelConfig allows dynamic rewriting of the
195
+ label set for targets, alerts, scraped samples and remote
196
+ write samples. \n More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config"
197
+ properties:
198
+ action:
199
+ default: replace
200
+ description: "Action to perform based on the regex matching.
201
+ \n `Uppercase` and `Lowercase` actions require Prometheus
202
+ >= v2.36.0. `DropEqual` and `KeepEqual` actions require
203
+ Prometheus >= v2.41.0. \n Default: \"Replace\""
204
+ enum:
205
+ - replace
206
+ - Replace
207
+ - keep
208
+ - Keep
209
+ - drop
210
+ - Drop
211
+ - hashmod
212
+ - HashMod
213
+ - labelmap
214
+ - LabelMap
215
+ - labeldrop
216
+ - LabelDrop
217
+ - labelkeep
218
+ - LabelKeep
219
+ - lowercase
220
+ - Lowercase
221
+ - uppercase
222
+ - Uppercase
223
+ - keepequal
224
+ - KeepEqual
225
+ - dropequal
226
+ - DropEqual
227
+ type: string
228
+ modulus:
229
+ description: "Modulus to take of the hash of the source
230
+ label values. \n Only applicable when the action is
231
+ `HashMod`."
232
+ format: int64
233
+ type: integer
234
+ regex:
235
+ description: Regular expression against which the extracted
236
+ value is matched.
237
+ type: string
238
+ replacement:
239
+ description: "Replacement value against which a Replace
240
+ action is performed if the regular expression matches.
241
+ \n Regex capture groups are available."
242
+ type: string
243
+ separator:
244
+ description: Separator is the string between concatenated
245
+ SourceLabels.
246
+ type: string
247
+ sourceLabels:
248
+ description: The source labels select values from existing
249
+ labels. Their content is concatenated using the configured
250
+ Separator and matched against the configured regular
251
+ expression.
252
+ items:
253
+ description: LabelName is a valid Prometheus label name
254
+ which may only contain ASCII letters, numbers, as
255
+ well as underscores.
256
+ pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$
257
+ type: string
258
+ type: array
259
+ targetLabel:
260
+ description: "Label to which the resulting string is written
261
+ in a replacement. \n It is mandatory for `Replace`,
262
+ `HashMod`, `Lowercase`, `Uppercase`, `KeepEqual` and
263
+ `DropEqual` actions. \n Regex capture groups are available."
264
+ type: string
265
+ type: object
266
+ type: array
267
+ oauth2:
268
+ description: "`oauth2` configures the OAuth2 settings to use
269
+ when scraping the target. \n It requires Prometheus >= 2.27.0.
270
+ \n Cannot be set at the same time as `authorization`, or `basicAuth`."
271
+ properties:
272
+ clientId:
273
+ description: '`clientId` specifies a key of a Secret or
274
+ ConfigMap containing the OAuth2 client''s ID.'
275
+ properties:
276
+ configMap:
277
+ description: ConfigMap containing data to use for the
278
+ targets.
279
+ properties:
280
+ key:
281
+ description: The key to select.
282
+ type: string
283
+ name:
284
+ description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
285
+ TODO: Add other useful fields. apiVersion, kind,
286
+ uid?'
287
+ type: string
288
+ optional:
289
+ description: Specify whether the ConfigMap or its
290
+ key must be defined
291
+ type: boolean
292
+ required:
293
+ - key
294
+ type: object
295
+ x-kubernetes-map-type: atomic
296
+ secret:
297
+ description: Secret containing data to use for the targets.
298
+ properties:
299
+ key:
300
+ description: The key of the secret to select from. Must
301
+ be a valid secret key.
302
+ type: string
303
+ name:
304
+ description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
305
+ TODO: Add other useful fields. apiVersion, kind,
306
+ uid?'
307
+ type: string
308
+ optional:
309
+ description: Specify whether the Secret or its key
310
+ must be defined
311
+ type: boolean
312
+ required:
313
+ - key
314
+ type: object
315
+ x-kubernetes-map-type: atomic
316
+ type: object
317
+ clientSecret:
318
+ description: '`clientSecret` specifies a key of a Secret
319
+ containing the OAuth2 client''s secret.'
320
+ properties:
321
+ key:
322
+ description: The key of the secret to select from. Must
323
+ be a valid secret key.
324
+ type: string
325
+ name:
326
+ description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
327
+ TODO: Add other useful fields. apiVersion, kind, uid?'
328
+ type: string
329
+ optional:
330
+ description: Specify whether the Secret or its key must
331
+ be defined
332
+ type: boolean
333
+ required:
334
+ - key
335
+ type: object
336
+ x-kubernetes-map-type: atomic
337
+ endpointParams:
338
+ additionalProperties:
339
+ type: string
340
+ description: '`endpointParams` configures the HTTP parameters
341
+ to append to the token URL.'
342
+ type: object
343
+ scopes:
344
+ description: '`scopes` defines the OAuth2 scopes used for
345
+ the token request.'
346
+ items:
347
+ type: string
348
+ type: array
349
+ tokenUrl:
350
+ description: '`tokenURL` configures the URL to fetch the
351
+ token from.'
352
+ minLength: 1
353
+ type: string
354
+ required:
355
+ - clientId
356
+ - clientSecret
357
+ - tokenUrl
358
+ type: object
359
+ params:
360
+ additionalProperties:
361
+ items:
362
+ type: string
363
+ type: array
364
+ description: params define optional HTTP URL parameters.
365
+ type: object
366
+ path:
367
+ description: "HTTP path from which to scrape for metrics. \n
368
+ If empty, Prometheus uses the default value (e.g. `/metrics`)."
369
+ type: string
370
+ port:
371
+ description: "Name of the Service port which this endpoint refers
372
+ to. \n It takes precedence over `targetPort`."
373
+ type: string
374
+ proxyUrl:
375
+ description: '`proxyURL` configures the HTTP Proxy URL (e.g.
376
+ "http://proxyserver:2195") to go through when scraping the
377
+ target.'
378
+ type: string
379
+ relabelings:
380
+ description: "`relabelings` configures the relabeling rules
381
+ to apply the target's metadata labels. \n The Operator automatically
382
+ adds relabelings for a few standard Kubernetes fields. \n
383
+ The original scrape job's name is available via the `__tmp_prometheus_job_name`
384
+ label. \n More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config"
385
+ items:
386
+ description: "RelabelConfig allows dynamic rewriting of the
387
+ label set for targets, alerts, scraped samples and remote
388
+ write samples. \n More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config"
389
+ properties:
390
+ action:
391
+ default: replace
392
+ description: "Action to perform based on the regex matching.
393
+ \n `Uppercase` and `Lowercase` actions require Prometheus
394
+ >= v2.36.0. `DropEqual` and `KeepEqual` actions require
395
+ Prometheus >= v2.41.0. \n Default: \"Replace\""
396
+ enum:
397
+ - replace
398
+ - Replace
399
+ - keep
400
+ - Keep
401
+ - drop
402
+ - Drop
403
+ - hashmod
404
+ - HashMod
405
+ - labelmap
406
+ - LabelMap
407
+ - labeldrop
408
+ - LabelDrop
409
+ - labelkeep
410
+ - LabelKeep
411
+ - lowercase
412
+ - Lowercase
413
+ - uppercase
414
+ - Uppercase
415
+ - keepequal
416
+ - KeepEqual
417
+ - dropequal
418
+ - DropEqual
419
+ type: string
420
+ modulus:
421
+ description: "Modulus to take of the hash of the source
422
+ label values. \n Only applicable when the action is
423
+ `HashMod`."
424
+ format: int64
425
+ type: integer
426
+ regex:
427
+ description: Regular expression against which the extracted
428
+ value is matched.
429
+ type: string
430
+ replacement:
431
+ description: "Replacement value against which a Replace
432
+ action is performed if the regular expression matches.
433
+ \n Regex capture groups are available."
434
+ type: string
435
+ separator:
436
+ description: Separator is the string between concatenated
437
+ SourceLabels.
438
+ type: string
439
+ sourceLabels:
440
+ description: The source labels select values from existing
441
+ labels. Their content is concatenated using the configured
442
+ Separator and matched against the configured regular
443
+ expression.
444
+ items:
445
+ description: LabelName is a valid Prometheus label name
446
+ which may only contain ASCII letters, numbers, as
447
+ well as underscores.
448
+ pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$
449
+ type: string
450
+ type: array
451
+ targetLabel:
452
+ description: "Label to which the resulting string is written
453
+ in a replacement. \n It is mandatory for `Replace`,
454
+ `HashMod`, `Lowercase`, `Uppercase`, `KeepEqual` and
455
+ `DropEqual` actions. \n Regex capture groups are available."
456
+ type: string
457
+ type: object
458
+ type: array
459
+ scheme:
460
+ description: "HTTP scheme to use for scraping. \n `http` and
461
+ `https` are the expected values unless you rewrite the `__scheme__`
462
+ label via relabeling. \n If empty, Prometheus uses the default
463
+ value `http`."
464
+ enum:
465
+ - http
466
+ - https
467
+ type: string
468
+ scrapeTimeout:
469
+ description: "Timeout after which Prometheus considers the scrape
470
+ to be failed. \n If empty, Prometheus uses the global scrape
471
+ timeout unless it is less than the target's scrape interval
472
+ value in which the latter is used."
473
+ pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
474
+ type: string
475
+ targetPort:
476
+ anyOf:
477
+ - type: integer
478
+ - type: string
479
+ description: Name or number of the target port of the `Pod`
480
+ object behind the Service. The port must be specified with
481
+ the container's port property.
482
+ x-kubernetes-int-or-string: true
483
+ tlsConfig:
484
+ description: TLS configuration to use when scraping the target.
485
+ properties:
486
+ ca:
487
+ description: Certificate authority used when verifying server
488
+ certificates.
489
+ properties:
490
+ configMap:
491
+ description: ConfigMap containing data to use for the
492
+ targets.
493
+ properties:
494
+ key:
495
+ description: The key to select.
496
+ type: string
497
+ name:
498
+ description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
499
+ TODO: Add other useful fields. apiVersion, kind,
500
+ uid?'
501
+ type: string
502
+ optional:
503
+ description: Specify whether the ConfigMap or its
504
+ key must be defined
505
+ type: boolean
506
+ required:
507
+ - key
508
+ type: object
509
+ x-kubernetes-map-type: atomic
510
+ secret:
511
+ description: Secret containing data to use for the targets.
512
+ properties:
513
+ key:
514
+ description: The key of the secret to select from. Must
515
+ be a valid secret key.
516
+ type: string
517
+ name:
518
+ description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
519
+ TODO: Add other useful fields. apiVersion, kind,
520
+ uid?'
521
+ type: string
522
+ optional:
523
+ description: Specify whether the Secret or its key
524
+ must be defined
525
+ type: boolean
526
+ required:
527
+ - key
528
+ type: object
529
+ x-kubernetes-map-type: atomic
530
+ type: object
531
+ caFile:
532
+ description: Path to the CA cert in the Prometheus container
533
+ to use for the targets.
534
+ type: string
535
+ cert:
536
+ description: Client certificate to present when doing client-authentication.
537
+ properties:
538
+ configMap:
539
+ description: ConfigMap containing data to use for the
540
+ targets.
541
+ properties:
542
+ key:
543
+ description: The key to select.
544
+ type: string
545
+ name:
546
+ description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
547
+ TODO: Add other useful fields. apiVersion, kind,
548
+ uid?'
549
+ type: string
550
+ optional:
551
+ description: Specify whether the ConfigMap or its
552
+ key must be defined
553
+ type: boolean
554
+ required:
555
+ - key
556
+ type: object
557
+ x-kubernetes-map-type: atomic
558
+ secret:
559
+ description: Secret containing data to use for the targets.
560
+ properties:
561
+ key:
562
+ description: The key of the secret to select from. Must
563
+ be a valid secret key.
564
+ type: string
565
+ name:
566
+ description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
567
+ TODO: Add other useful fields. apiVersion, kind,
568
+ uid?'
569
+ type: string
570
+ optional:
571
+ description: Specify whether the Secret or its key
572
+ must be defined
573
+ type: boolean
574
+ required:
575
+ - key
576
+ type: object
577
+ x-kubernetes-map-type: atomic
578
+ type: object
579
+ certFile:
580
+ description: Path to the client cert file in the Prometheus
581
+ container for the targets.
582
+ type: string
583
+ insecureSkipVerify:
584
+ description: Disable target certificate validation.
585
+ type: boolean
586
+ keyFile:
587
+ description: Path to the client key file in the Prometheus
588
+ container for the targets.
589
+ type: string
590
+ keySecret:
591
+ description: Secret containing the client key file for the
592
+ targets.
593
+ properties:
594
+ key:
595
+ description: The key of the secret to select from. Must
596
+ be a valid secret key.
597
+ type: string
598
+ name:
599
+ description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
600
+ TODO: Add other useful fields. apiVersion, kind, uid?'
601
+ type: string
602
+ optional:
603
+ description: Specify whether the Secret or its key must
604
+ be defined
605
+ type: boolean
606
+ required:
607
+ - key
608
+ type: object
609
+ x-kubernetes-map-type: atomic
610
+ serverName:
611
+ description: Used to verify the hostname for the targets.
612
+ type: string
613
+ type: object
614
+ trackTimestampsStaleness:
615
+ description: "`trackTimestampsStaleness` defines whether Prometheus
616
+ tracks staleness of the metrics that have an explicit timestamp
617
+ present in scraped data. Has no effect if `honorTimestamps`
618
+ is false. \n It requires Prometheus >= v2.48.0."
619
+ type: boolean
620
+ type: object
621
+ type: array
622
+ jobLabel:
623
+ description: "`jobLabel` selects the label from the associated Kubernetes
624
+ `Service` object which will be used as the `job` label for all metrics.
625
+ \n For example if `jobLabel` is set to `foo` and the Kubernetes
626
+ `Service` object is labeled with `foo: bar`, then Prometheus adds
627
+ the `job=\"bar\"` label to all ingested metrics. \n If the value
628
+ of this field is empty or if the label doesn't exist for the given
629
+ Service, the `job` label of the metrics defaults to the name of
630
+ the associated Kubernetes `Service`."
631
+ type: string
632
+ keepDroppedTargets:
633
+ description: "Per-scrape limit on the number of targets dropped by
634
+ relabeling that will be kept in memory. 0 means no limit. \n It
635
+ requires Prometheus >= v2.47.0."
636
+ format: int64
637
+ type: integer
638
+ labelLimit:
639
+ description: "Per-scrape limit on number of labels that will be accepted
640
+ for a sample. \n It requires Prometheus >= v2.27.0."
641
+ format: int64
642
+ type: integer
643
+ labelNameLengthLimit:
644
+ description: "Per-scrape limit on length of labels name that will
645
+ be accepted for a sample. \n It requires Prometheus >= v2.27.0."
646
+ format: int64
647
+ type: integer
648
+ labelValueLengthLimit:
649
+ description: "Per-scrape limit on length of labels value that will
650
+ be accepted for a sample. \n It requires Prometheus >= v2.27.0."
651
+ format: int64
652
+ type: integer
653
+ namespaceSelector:
654
+ description: Selector to select which namespaces the Kubernetes `Endpoints`
655
+ objects are discovered from.
656
+ properties:
657
+ any:
658
+ description: Boolean describing whether all namespaces are selected
659
+ in contrast to a list restricting them.
660
+ type: boolean
661
+ matchNames:
662
+ description: List of namespace names to select from.
663
+ items:
664
+ type: string
665
+ type: array
666
+ type: object
667
+ podTargetLabels:
668
+ description: '`podTargetLabels` defines the labels which are transferred
669
+ from the associated Kubernetes `Pod` object onto the ingested metrics.'
670
+ items:
671
+ type: string
672
+ type: array
673
+ sampleLimit:
674
+ description: '`sampleLimit` defines a per-scrape limit on the number
675
+ of scraped samples that will be accepted.'
676
+ format: int64
677
+ type: integer
678
+ scrapeClass:
679
+ description: The scrape class to apply.
680
+ minLength: 1
681
+ type: string
682
+ scrapeProtocols:
683
+ description: "`scrapeProtocols` defines the protocols to negotiate
684
+ during a scrape. It tells clients the protocols supported by Prometheus
685
+ in order of preference (from most to least preferred). \n If unset,
686
+ Prometheus uses its default value. \n It requires Prometheus >=
687
+ v2.49.0."
688
+ items:
689
+ description: 'ScrapeProtocol represents a protocol used by Prometheus
690
+ for scraping metrics. Supported values are: * `OpenMetricsText0.0.1`
691
+ * `OpenMetricsText1.0.0` * `PrometheusProto` * `PrometheusText0.0.4`'
692
+ enum:
693
+ - PrometheusProto
694
+ - OpenMetricsText0.0.1
695
+ - OpenMetricsText1.0.0
696
+ - PrometheusText0.0.4
697
+ type: string
698
+ type: array
699
+ x-kubernetes-list-type: set
700
+ selector:
701
+ description: Label selector to select the Kubernetes `Endpoints` objects.
702
+ properties:
703
+ matchExpressions:
704
+ description: matchExpressions is a list of label selector requirements.
705
+ The requirements are ANDed.
706
+ items:
707
+ description: A label selector requirement is a selector that
708
+ contains values, a key, and an operator that relates the key
709
+ and values.
710
+ properties:
711
+ key:
712
+ description: key is the label key that the selector applies
713
+ to.
714
+ type: string
715
+ operator:
716
+ description: operator represents a key's relationship to
717
+ a set of values. Valid operators are In, NotIn, Exists
718
+ and DoesNotExist.
719
+ type: string
720
+ values:
721
+ description: values is an array of string values. If the
722
+ operator is In or NotIn, the values array must be non-empty.
723
+ If the operator is Exists or DoesNotExist, the values
724
+ array must be empty. This array is replaced during a strategic
725
+ merge patch.
726
+ items:
727
+ type: string
728
+ type: array
729
+ required:
730
+ - key
731
+ - operator
732
+ type: object
733
+ type: array
734
+ matchLabels:
735
+ additionalProperties:
736
+ type: string
737
+ description: matchLabels is a map of {key,value} pairs. A single
738
+ {key,value} in the matchLabels map is equivalent to an element
739
+ of matchExpressions, whose key field is "key", the operator
740
+ is "In", and the values array contains only "value". The requirements
741
+ are ANDed.
742
+ type: object
743
+ type: object
744
+ x-kubernetes-map-type: atomic
745
+ targetLabels:
746
+ description: '`targetLabels` defines the labels which are transferred
747
+ from the associated Kubernetes `Service` object onto the ingested
748
+ metrics.'
749
+ items:
750
+ type: string
751
+ type: array
752
+ targetLimit:
753
+ description: '`targetLimit` defines a limit on the number of scraped
754
+ targets that will be accepted.'
755
+ format: int64
756
+ type: integer
757
+ required:
758
+ - selector
759
+ type: object
760
+ required:
761
+ - spec
762
+ type: object
763
+ served: true
764
+ storage: true