@@ -112,6 +112,11 @@ spec:
112
112
replicas : 2
113
113
description : Define prometheus config
114
114
properties :
115
+ enableOtlpHttpReceiver :
116
+ description : Enable Prometheus to accept OpenTelemetry Metrics
117
+ via the otlp/http protocol. Defaults to the value of `false`.
118
+ The resulting endpoint is /api/v1/otlp/v1/metrics.
119
+ type : boolean
115
120
enableRemoteWriteReceiver :
116
121
description : Enable Prometheus to be used as a receiver for
117
122
the Prometheus remote write protocol. Defaults to the value
@@ -390,25 +395,72 @@ spec:
390
395
type : string
391
396
managedIdentity :
392
397
description : ManagedIdentity defines the Azure User-assigned
393
- Managed identity.
398
+ Managed identity. Cannot be set at the same time
399
+ as `oauth`.
394
400
properties :
395
401
clientId :
396
402
description : The client id
397
403
type : string
398
404
required :
399
405
- clientId
400
406
type : object
401
- required :
402
- - managedIdentity
407
+ oauth :
408
+ description : " OAuth defines the oauth config that
409
+ is being used to authenticate. Cannot be set at
410
+ the same time as `managedIdentity`. \n It requires
411
+ Prometheus >= v2.48.0."
412
+ properties :
413
+ clientId :
414
+ description : ' `clientID` is the clientId of
415
+ the Azure Active Directory application that
416
+ is being used to authenticate.'
417
+ minLength : 1
418
+ type : string
419
+ clientSecret :
420
+ description : ' `clientSecret` specifies a key
421
+ of a Secret containing the client secret of
422
+ the Azure Active Directory application that
423
+ is being used to authenticate.'
424
+ properties :
425
+ key :
426
+ description : The key of the secret to select
427
+ from. Must be a valid secret key.
428
+ type : string
429
+ name :
430
+ description : ' Name of the referent. More
431
+ info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
432
+ TODO: Add other useful fields. apiVersion,
433
+ kind, uid?'
434
+ type : string
435
+ optional :
436
+ description : Specify whether the Secret
437
+ or its key must be defined
438
+ type : boolean
439
+ required :
440
+ - key
441
+ type : object
442
+ x-kubernetes-map-type : atomic
443
+ tenantId :
444
+ description : ' `tenantID` is the tenant ID of
445
+ the Azure Active Directory application that
446
+ is being used to authenticate.'
447
+ minLength : 1
448
+ pattern : ^[0-9a-zA-Z-.]+$
449
+ type : string
450
+ required :
451
+ - clientId
452
+ - clientSecret
453
+ - tenantId
454
+ type : object
403
455
type : object
404
456
basicAuth :
405
457
description : " BasicAuth configuration for the URL. \n
406
458
Cannot be set at the same time as `sigv4`, `authorization`,
407
459
`oauth2`, or `azureAd`."
408
460
properties :
409
461
password :
410
- description : The secret in the service monitor namespace
411
- that contains the password for authentication.
462
+ description : ' `password` specifies a key of a Secret
463
+ containing the password for authentication.'
412
464
properties :
413
465
key :
414
466
description : The key of the secret to select
@@ -429,8 +481,8 @@ spec:
429
481
type : object
430
482
x-kubernetes-map-type : atomic
431
483
username :
432
- description : The secret in the service monitor namespace
433
- that contains the username for authentication.
484
+ description : ' `username` specifies a key of a Secret
485
+ containing the username for authentication.'
434
486
properties :
435
487
key :
436
488
description : The key of the secret to select
@@ -454,14 +506,17 @@ spec:
454
506
bearerToken :
455
507
description : " *Warning: this field shouldn't be used
456
508
because the token value appears in clear-text. Prefer
457
- using `authorization`.* \n * Deprecated: this will
458
- be removed in a future release.* "
509
+ using `authorization`.* \n Deprecated: this will be
510
+ removed in a future release."
459
511
type : string
460
512
bearerTokenFile :
461
513
description : " File from which to read bearer token for
462
- the URL. \n * Deprecated: this will be removed in a
463
- future release. Prefer using `authorization`.* "
514
+ the URL. \n Deprecated: this will be removed in a
515
+ future release. Prefer using `authorization`."
464
516
type : string
517
+ enableHTTP2 :
518
+ description : Whether to enable HTTP2.
519
+ type : boolean
465
520
headers :
466
521
additionalProperties :
467
522
type : string
@@ -497,8 +552,8 @@ spec:
497
552
or `azureAd`."
498
553
properties :
499
554
clientId :
500
- description : The secret or configmap containing
501
- the OAuth2 client id
555
+ description : ' `clientId` specifies a key of a Secret
556
+ or ConfigMap containing the OAuth2 client'' s ID. '
502
557
properties :
503
558
configMap :
504
559
description : ConfigMap containing data to use
@@ -545,8 +600,8 @@ spec:
545
600
x-kubernetes-map-type : atomic
546
601
type : object
547
602
clientSecret :
548
- description : The secret containing the OAuth2 client
549
- secret
603
+ description : ' `clientSecret` specifies a key of
604
+ a Secret containing the OAuth2 client '' s secret. '
550
605
properties :
551
606
key :
552
607
description : The key of the secret to select
@@ -569,15 +624,18 @@ spec:
569
624
endpointParams :
570
625
additionalProperties :
571
626
type : string
572
- description : Parameters to append to the token URL
627
+ description : ' `endpointParams` configures the HTTP
628
+ parameters to append to the token URL.'
573
629
type : object
574
630
scopes :
575
- description : OAuth2 scopes used for the token request
631
+ description : ' `scopes` defines the OAuth2 scopes
632
+ used for the token request.'
576
633
items :
577
634
type : string
578
635
type : array
579
636
tokenUrl :
580
- description : The URL to fetch the token from
637
+ description : ' `tokenURL` configures the URL to fetch
638
+ the token from.'
581
639
minLength : 1
582
640
type : string
583
641
required :
0 commit comments