Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions apis/vshn/v1/common_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,15 @@ type VSHNMonitoring struct {

// Email necessary to send alerts via email
Email string `json:"email,omitempty"`

// +kubebuilder:validation:Enum=frequent;standard;minimal
// +kubebuilder:default=standard

// AlertFrequency controls how often repeat alert emails are sent for ongoing issues.
// "frequent" sends reminders every hour, "standard" (default) every 4 hours,
// "minimal" every 12 hours. This helps reduce email spam while ensuring
// you stay informed about unresolved alerts.
AlertFrequency string `json:"alertFrequency,omitempty"`
}

// InitialMaintenanceStatus tracks the status of the initial maintenance job.
Expand Down
12 changes: 12 additions & 0 deletions crds/vshn.appcat.vshn.io_vshnforgejoes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,18 @@ spec:
monitoring:
description: Monitoring contains settings to control the monitoring of a service.
properties:
alertFrequency:
default: standard
description: |-
AlertFrequency controls how often repeat alert emails are sent for ongoing issues.
"frequent" sends reminders every hour, "standard" (default) every 4 hours,
"minimal" every 12 hours. This helps reduce email spam while ensuring
you stay informed about unresolved alerts.
enum:
- frequent
- standard
- minimal
type: string
alertmanagerConfigRef:
description: |-
AlertmanagerConfigRef contains the name of the AlertmanagerConfig that should be copied over to the
Expand Down
24 changes: 24 additions & 0 deletions crds/vshn.appcat.vshn.io_vshnkeycloaks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,18 @@ spec:
monitoring:
description: Monitoring contains settings to control monitoring.
properties:
alertFrequency:
default: standard
description: |-
AlertFrequency controls how often repeat alert emails are sent for ongoing issues.
"frequent" sends reminders every hour, "standard" (default) every 4 hours,
"minimal" every 12 hours. This helps reduce email spam while ensuring
you stay informed about unresolved alerts.
enum:
- frequent
- standard
- minimal
type: string
alertmanagerConfigRef:
description: |-
AlertmanagerConfigRef contains the name of the AlertmanagerConfig that should be copied over to the
Expand Down Expand Up @@ -4820,6 +4832,18 @@ spec:
monitoring:
description: Monitoring contains settings to control monitoring.
properties:
alertFrequency:
default: standard
description: |-
AlertFrequency controls how often repeat alert emails are sent for ongoing issues.
"frequent" sends reminders every hour, "standard" (default) every 4 hours,
"minimal" every 12 hours. This helps reduce email spam while ensuring
you stay informed about unresolved alerts.
enum:
- frequent
- standard
- minimal
type: string
alertmanagerConfigRef:
description: |-
AlertmanagerConfigRef contains the name of the AlertmanagerConfig that should be copied over to the
Expand Down
12 changes: 12 additions & 0 deletions crds/vshn.appcat.vshn.io_vshnmariadbs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,18 @@ spec:
monitoring:
description: Monitoring contains settings to control monitoring.
properties:
alertFrequency:
default: standard
description: |-
AlertFrequency controls how often repeat alert emails are sent for ongoing issues.
"frequent" sends reminders every hour, "standard" (default) every 4 hours,
"minimal" every 12 hours. This helps reduce email spam while ensuring
you stay informed about unresolved alerts.
enum:
- frequent
- standard
- minimal
type: string
alertmanagerConfigRef:
description: |-
AlertmanagerConfigRef contains the name of the AlertmanagerConfig that should be copied over to the
Expand Down
12 changes: 12 additions & 0 deletions crds/vshn.appcat.vshn.io_vshnminios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,18 @@ spec:
monitoring:
description: Monitoring contains settings to control monitoring.
properties:
alertFrequency:
default: standard
description: |-
AlertFrequency controls how often repeat alert emails are sent for ongoing issues.
"frequent" sends reminders every hour, "standard" (default) every 4 hours,
"minimal" every 12 hours. This helps reduce email spam while ensuring
you stay informed about unresolved alerts.
enum:
- frequent
- standard
- minimal
type: string
alertmanagerConfigRef:
description: |-
AlertmanagerConfigRef contains the name of the AlertmanagerConfig that should be copied over to the
Expand Down
24 changes: 24 additions & 0 deletions crds/vshn.appcat.vshn.io_vshnnextclouds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,18 @@ spec:
monitoring:
description: Monitoring contains settings to control monitoring.
properties:
alertFrequency:
default: standard
description: |-
AlertFrequency controls how often repeat alert emails are sent for ongoing issues.
"frequent" sends reminders every hour, "standard" (default) every 4 hours,
"minimal" every 12 hours. This helps reduce email spam while ensuring
you stay informed about unresolved alerts.
enum:
- frequent
- standard
- minimal
type: string
alertmanagerConfigRef:
description: |-
AlertmanagerConfigRef contains the name of the AlertmanagerConfig that should be copied over to the
Expand Down Expand Up @@ -4730,6 +4742,18 @@ spec:
monitoring:
description: Monitoring contains settings to control monitoring.
properties:
alertFrequency:
default: standard
description: |-
AlertFrequency controls how often repeat alert emails are sent for ongoing issues.
"frequent" sends reminders every hour, "standard" (default) every 4 hours,
"minimal" every 12 hours. This helps reduce email spam while ensuring
you stay informed about unresolved alerts.
enum:
- frequent
- standard
- minimal
type: string
alertmanagerConfigRef:
description: |-
AlertmanagerConfigRef contains the name of the AlertmanagerConfig that should be copied over to the
Expand Down
12 changes: 12 additions & 0 deletions crds/vshn.appcat.vshn.io_vshnpostgresqls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,18 @@ spec:
monitoring:
description: Monitoring contains settings to control monitoring.
properties:
alertFrequency:
default: standard
description: |-
AlertFrequency controls how often repeat alert emails are sent for ongoing issues.
"frequent" sends reminders every hour, "standard" (default) every 4 hours,
"minimal" every 12 hours. This helps reduce email spam while ensuring
you stay informed about unresolved alerts.
enum:
- frequent
- standard
- minimal
type: string
alertmanagerConfigRef:
description: |-
AlertmanagerConfigRef contains the name of the AlertmanagerConfig that should be copied over to the
Expand Down
12 changes: 12 additions & 0 deletions crds/vshn.appcat.vshn.io_vshnredis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,18 @@ spec:
monitoring:
description: Monitoring contains settings to control monitoring.
properties:
alertFrequency:
default: standard
description: |-
AlertFrequency controls how often repeat alert emails are sent for ongoing issues.
"frequent" sends reminders every hour, "standard" (default) every 4 hours,
"minimal" every 12 hours. This helps reduce email spam while ensuring
you stay informed about unresolved alerts.
enum:
- frequent
- standard
- minimal
type: string
alertmanagerConfigRef:
description: |-
AlertmanagerConfigRef contains the name of the AlertmanagerConfig that should be copied over to the
Expand Down
12 changes: 12 additions & 0 deletions crds/vshn.appcat.vshn.io_xvshnforgejoes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,18 @@ spec:
description: Monitoring contains settings to control the monitoring
of a service.
properties:
alertFrequency:
default: standard
description: |-
AlertFrequency controls how often repeat alert emails are sent for ongoing issues.
"frequent" sends reminders every hour, "standard" (default) every 4 hours,
"minimal" every 12 hours. This helps reduce email spam while ensuring
you stay informed about unresolved alerts.
enum:
- frequent
- standard
- minimal
type: string
alertmanagerConfigRef:
description: |-
AlertmanagerConfigRef contains the name of the AlertmanagerConfig that should be copied over to the
Expand Down
24 changes: 24 additions & 0 deletions crds/vshn.appcat.vshn.io_xvshnkeycloaks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,18 @@ spec:
monitoring:
description: Monitoring contains settings to control monitoring.
properties:
alertFrequency:
default: standard
description: |-
AlertFrequency controls how often repeat alert emails are sent for ongoing issues.
"frequent" sends reminders every hour, "standard" (default) every 4 hours,
"minimal" every 12 hours. This helps reduce email spam while ensuring
you stay informed about unresolved alerts.
enum:
- frequent
- standard
- minimal
type: string
alertmanagerConfigRef:
description: |-
AlertmanagerConfigRef contains the name of the AlertmanagerConfig that should be copied over to the
Expand Down Expand Up @@ -5571,6 +5583,18 @@ spec:
monitoring:
description: Monitoring contains settings to control monitoring.
properties:
alertFrequency:
default: standard
description: |-
AlertFrequency controls how often repeat alert emails are sent for ongoing issues.
"frequent" sends reminders every hour, "standard" (default) every 4 hours,
"minimal" every 12 hours. This helps reduce email spam while ensuring
you stay informed about unresolved alerts.
enum:
- frequent
- standard
- minimal
type: string
alertmanagerConfigRef:
description: |-
AlertmanagerConfigRef contains the name of the AlertmanagerConfig that should be copied over to the
Expand Down
12 changes: 12 additions & 0 deletions crds/vshn.appcat.vshn.io_xvshnmariadbs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,18 @@ spec:
monitoring:
description: Monitoring contains settings to control monitoring.
properties:
alertFrequency:
default: standard
description: |-
AlertFrequency controls how often repeat alert emails are sent for ongoing issues.
"frequent" sends reminders every hour, "standard" (default) every 4 hours,
"minimal" every 12 hours. This helps reduce email spam while ensuring
you stay informed about unresolved alerts.
enum:
- frequent
- standard
- minimal
type: string
alertmanagerConfigRef:
description: |-
AlertmanagerConfigRef contains the name of the AlertmanagerConfig that should be copied over to the
Expand Down
12 changes: 12 additions & 0 deletions crds/vshn.appcat.vshn.io_xvshnminios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,18 @@ spec:
monitoring:
description: Monitoring contains settings to control monitoring.
properties:
alertFrequency:
default: standard
description: |-
AlertFrequency controls how often repeat alert emails are sent for ongoing issues.
"frequent" sends reminders every hour, "standard" (default) every 4 hours,
"minimal" every 12 hours. This helps reduce email spam while ensuring
you stay informed about unresolved alerts.
enum:
- frequent
- standard
- minimal
type: string
alertmanagerConfigRef:
description: |-
AlertmanagerConfigRef contains the name of the AlertmanagerConfig that should be copied over to the
Expand Down
24 changes: 24 additions & 0 deletions crds/vshn.appcat.vshn.io_xvshnnextclouds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,18 @@ spec:
monitoring:
description: Monitoring contains settings to control monitoring.
properties:
alertFrequency:
default: standard
description: |-
AlertFrequency controls how often repeat alert emails are sent for ongoing issues.
"frequent" sends reminders every hour, "standard" (default) every 4 hours,
"minimal" every 12 hours. This helps reduce email spam while ensuring
you stay informed about unresolved alerts.
enum:
- frequent
- standard
- minimal
type: string
alertmanagerConfigRef:
description: |-
AlertmanagerConfigRef contains the name of the AlertmanagerConfig that should be copied over to the
Expand Down Expand Up @@ -5465,6 +5477,18 @@ spec:
monitoring:
description: Monitoring contains settings to control monitoring.
properties:
alertFrequency:
default: standard
description: |-
AlertFrequency controls how often repeat alert emails are sent for ongoing issues.
"frequent" sends reminders every hour, "standard" (default) every 4 hours,
"minimal" every 12 hours. This helps reduce email spam while ensuring
you stay informed about unresolved alerts.
enum:
- frequent
- standard
- minimal
type: string
alertmanagerConfigRef:
description: |-
AlertmanagerConfigRef contains the name of the AlertmanagerConfig that should be copied over to the
Expand Down
12 changes: 12 additions & 0 deletions crds/vshn.appcat.vshn.io_xvshnpostgresqls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,18 @@ spec:
monitoring:
description: Monitoring contains settings to control monitoring.
properties:
alertFrequency:
default: standard
description: |-
AlertFrequency controls how often repeat alert emails are sent for ongoing issues.
"frequent" sends reminders every hour, "standard" (default) every 4 hours,
"minimal" every 12 hours. This helps reduce email spam while ensuring
you stay informed about unresolved alerts.
enum:
- frequent
- standard
- minimal
type: string
alertmanagerConfigRef:
description: |-
AlertmanagerConfigRef contains the name of the AlertmanagerConfig that should be copied over to the
Expand Down
Loading
Loading