You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <a name="input_kyverno"></a> [kyverno](#input\_kyverno) | Configuration for Kyverno monitoring alerts. Allows customization of cluster name, project, notification channels, alert documentation, metric thresholds, auto-close timing, enablement, extra filters, and namespace. | <pre>object({<br/> cluster_name = string<br/> project_id = optional(string, null)<br/> notification_enabled = optional(bool, true)<br/> notification_channels = optional(list(string), [])<br/> # Rate limit for notifications, e.g. "300s" for 5 minutes, used only for log match alerts<br/> logmatch_notification_rate_limit = optional(string, "300s")<br/> alert_documentation = optional(string, null)<br/> # If true, use a metric threshold alert instead of log match alert otherwise use log match alert<br/> use_metric_threshold = optional(bool, false)<br/> metric_threshold_count = optional(number, 2)<br/> metric_lookback_minutes = optional(number, 1)<br/> auto_close_seconds = optional(number, 3600)<br/> enabled = optional(bool, true)<br/> filter_extra = optional(string, "")<br/> namespace = optional(string, "kyverno")<br/> })</pre> | n/a | yes |
38
38
| <aname="input_notification_channels"></a> [notification\_channels](#input\_notification\_channels)| List of notification channel IDs to notify when an alert is triggered |`list(string)`|`[]`| no |
39
39
| <aname="input_project_id"></a> [project\_id](#input\_project\_id)| The Google Cloud project ID where logging exclusions will be created |`string`| n/a | yes |
alert_documentation=var.kyverno.alert_documentation!=null? var.kyverno.alert_documentation:"Kyverno controllers produced ERROR logs in namespace ${var.kyverno.namespace}."
0 commit comments