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