mirror of
https://github.com/coreos/prometheus-operator.git
synced 2026-02-05 15:46:31 +01:00
chore: move HTTPConfig to http_config.go
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
@@ -986,7 +986,7 @@
|
||||
"description": "httpConfig defines the default HTTP configuration.",
|
||||
"properties": {
|
||||
"authorization": {
|
||||
"description": "authorization defines the header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.",
|
||||
"description": "authorization configures the Authorization header credentials used by\nthe client.\n\nCannot be set at the same time as `basicAuth`, `bearerTokenSecret` or `oauth2`.",
|
||||
"properties": {
|
||||
"credentials": {
|
||||
"description": "credentials defines a key of a Secret in the namespace that contains the credentials for authentication.",
|
||||
@@ -1019,7 +1019,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"basicAuth": {
|
||||
"description": "basicAuth defines basicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.",
|
||||
"description": "basicAuth defines the Basic Authentication credentials used by the\nclient.\n\nCannot be set at the same time as `authorization`, `bearerTokenSecret` or `oauth2`.",
|
||||
"properties": {
|
||||
"password": {
|
||||
"description": "password defines a key of a Secret containing the password for\nauthentication.",
|
||||
@@ -1071,7 +1071,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"bearerTokenSecret": {
|
||||
"description": "bearerTokenSecret defines the secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the Alertmanager\nobject and accessible by the Prometheus Operator.",
|
||||
"description": "bearerTokenSecret defines a key of a Secret containing the bearer token\nused by the client for authentication. The secret needs to be in the\nsame namespace as the custom resource and readable by the Prometheus\nOperator.\n\nCannot be set at the same time as `authorization`, `basicAuth` or `oauth2`.\n\nDeprecated: use `authorization` instead.",
|
||||
"properties": {
|
||||
"key": {
|
||||
"description": "The key of the secret to select from. Must be a valid secret key.",
|
||||
@@ -1094,7 +1094,7 @@
|
||||
"x-kubernetes-map-type": "atomic"
|
||||
},
|
||||
"followRedirects": {
|
||||
"description": "followRedirects defines whether the client should follow HTTP 3xx redirects.",
|
||||
"description": "followRedirects defines whether the client should follow HTTP 3xx\nredirects.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"noProxy": {
|
||||
@@ -1102,7 +1102,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"oauth2": {
|
||||
"description": "oauth2 defines the client credentials used to fetch a token for the targets.",
|
||||
"description": "oauth2 defines the OAuth2 settings used by the client.\n\nIt requires Prometheus >= 2.27.0.\n\nCannot be set at the same time as `authorization`, `basicAuth` or `bearerTokenSecret`.",
|
||||
"properties": {
|
||||
"clientId": {
|
||||
"description": "clientId defines a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.",
|
||||
@@ -1452,7 +1452,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"tlsConfig": {
|
||||
"description": "tlsConfig defines the TLSConfig for the client.",
|
||||
"description": "tlsConfig defines the TLS configuration used by the client.",
|
||||
"properties": {
|
||||
"ca": {
|
||||
"description": "ca defines the Certificate authority used when verifying server certificates.",
|
||||
|
||||
Reference in New Issue
Block a user