6.29. MonitoringStack.spec.prometheusConfig.remoteWrite[index].oauth2
URL 的 OAuth2 配置。
- 它需要 Prometheus >= v2.27.0。
-
不能与
sigv4
,authorization
,basicAuth
, 或azureAd
同时设置。
Name | 类型 | 描述 | 必填 |
---|---|---|---|
object |
| true | |
object |
| true | |
| string |
| true |
|
|
| false |
| string |
它需要 Prometheus >= v2.43.0 或 Alertmanager >= 0.25.0。 | false |
|
它需要 Prometheus >= v2.43.0 或 Alertmanager >= 0.25.0。 | false | |
| 布尔值 |
是否使用环境变量 ( 它需要 Prometheus >= v2.43.0 或 Alertmanager >= 0.25.0。 | false |
| string |
| false |
|
|
| false |
object | 连接到 OAuth2 服务器时要使用的 TLS 配置。 它需要 Prometheus >= v2.43.0。 | false |