Skip to content

Commit

Permalink
*: synchronize with latest main changes
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
  • Loading branch information
simonpasquier committed May 25, 2022
1 parent 8287fa7 commit 9a83cc3
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 1 deletion.
2 changes: 1 addition & 1 deletion example/admission-webhook/pod-disruption-budget.yaml
Expand Up @@ -3,7 +3,7 @@ kind: PodDisruptionBudget
metadata:
labels:
app.kubernetes.io/name: prometheus-operator-admission-webhook
app.kubernetes.io/version: 0.56.2
app.kubernetes.io/version: 0.56.3
name: prometheus-operator-admission-webhook
namespace: default
spec:
Expand Down
Expand Up @@ -860,6 +860,12 @@ spec:
type: string
type:
description: Type of responder.
enum:
- team
- teams
- user
- escalation
- schedule
minLength: 1
type: string
username:
Expand Down Expand Up @@ -5102,6 +5108,12 @@ spec:
type: string
type:
description: Type of responder.
enum:
- team
- teams
- user
- escalation
- schedule
minLength: 1
type: string
username:
Expand Down
Expand Up @@ -40,6 +40,15 @@ spec:
description: Specification of desired Pod selection for target discovery
by Prometheus.
properties:
attachMetadata:
description: 'Attaches node metadata to discovered targets. Only valid
for role: pod. Only valid in Prometheus versions 2.35.0 and newer.'
properties:
node:
description: When set to true, Prometheus must have permissions
to get Nodes.
type: boolean
type: object
jobLabel:
description: The label to use to retrieve the job name from.
type: string
Expand Down
Expand Up @@ -8392,6 +8392,9 @@ spec:
- type
type: object
type: array
x-kubernetes-list-map-keys:
- type
x-kubernetes-list-type: map
paused:
description: Represents whether any actions on the underlying managed
objects are being performed. Only delete actions will be performed.
Expand Down Expand Up @@ -8436,6 +8439,9 @@ spec:
- updatedReplicas
type: object
type: array
x-kubernetes-list-map-keys:
- shardID
x-kubernetes-list-type: map
unavailableReplicas:
description: Total number of unavailable pods targeted by this Prometheus
deployment.
Expand Down
Expand Up @@ -788,6 +788,13 @@
},
type: {
description: 'Type of responder.',
enum: [
'team',
'teams',
'user',
'escalation',
'schedule',
],
minLength: 1,
type: 'string',
},
Expand Down
1 change: 1 addition & 0 deletions pkg/apis/monitoring/v1beta1/alertmanager_config_types.go
Expand Up @@ -517,6 +517,7 @@ type OpsGenieConfigResponder struct {
Username string `json:"username,omitempty"`
// Type of responder.
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:Enum=team;teams;user;escalation;schedule
Type string `json:"type"`
}

Expand Down

0 comments on commit 9a83cc3

Please sign in to comment.