mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-21 11:48:53 +00:00
make generate
This commit is contained in:
parent
9c066705a4
commit
d90df0a0e7
6 changed files with 16 additions and 1 deletions
Documentation
bundle.yamlexample/prometheus-operator-crd
go.modjsonnet/prometheus-operator
pkg/apis/monitoring/v1
|
@ -113,6 +113,7 @@ AlertmanagerEndpoints defines a selection of a single Endpoints object containin
|
|||
| tlsConfig | TLS Config to use for alertmanager connection. | *[TLSConfig](#tlsconfig) | false |
|
||||
| bearerTokenFile | BearerTokenFile to read from filesystem to use when authenticating to Alertmanager. | string | false |
|
||||
| apiVersion | Version of the Alertmanager API that Prometheus uses to send alerts. It can be \"v1\" or \"v2\". | string | false |
|
||||
| timeout | Timeout is a per-target Alertmanager timeout when pushing alerts. | *string | false |
|
||||
|
||||
[Back to TOC](#table-of-contents)
|
||||
|
||||
|
|
|
@ -5871,6 +5871,10 @@ spec:
|
|||
scheme:
|
||||
description: Scheme to use when firing alerts.
|
||||
type: string
|
||||
timeout:
|
||||
description: Timeout is a per-target Alertmanager timeout
|
||||
when pushing alerts.
|
||||
type: string
|
||||
tlsConfig:
|
||||
description: TLS Config to use for alertmanager connection.
|
||||
properties:
|
||||
|
|
|
@ -759,6 +759,10 @@ spec:
|
|||
scheme:
|
||||
description: Scheme to use when firing alerts.
|
||||
type: string
|
||||
timeout:
|
||||
description: Timeout is a per-target Alertmanager timeout
|
||||
when pushing alerts.
|
||||
type: string
|
||||
tlsConfig:
|
||||
description: TLS Config to use for alertmanager connection.
|
||||
properties:
|
||||
|
|
1
go.mod
1
go.mod
|
@ -31,4 +31,5 @@ require (
|
|||
k8s.io/client-go v0.18.3
|
||||
k8s.io/component-base v0.18.2
|
||||
k8s.io/klog v1.0.0
|
||||
k8s.io/utils v0.0.0-20200414100711-2df71ebbae66
|
||||
)
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -103,6 +103,11 @@ func (in *AlertmanagerEndpoints) DeepCopyInto(out *AlertmanagerEndpoints) {
|
|||
*out = new(TLSConfig)
|
||||
(*in).DeepCopyInto(*out)
|
||||
}
|
||||
if in.Timeout != nil {
|
||||
in, out := &in.Timeout, &out.Timeout
|
||||
*out = new(string)
|
||||
**out = **in
|
||||
}
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertmanagerEndpoints.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue