Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.13.0] - 2026-02-04

[Compare with previous version](https://github.com/sparkfabrik/terraform-google-services-monitoring/compare/0.12.0...0.13.0)

### Changed

- Remove unnecessary error conditions from Kyverno log filter (`i/o timeout`, `failed to acquire lease`) as they represent normal transient behavior and were causing false positives.
Comment thread
filippolmt marked this conversation as resolved.
Outdated

## [0.12.0] - 2026-01-28

[Compare with previous version](https://github.com/sparkfabrik/terraform-google-services-monitoring/compare/0.11.0...0.12.0)
Expand Down
4 changes: 1 addition & 3 deletions kyverno.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ locals {
kyverno_notification_channels = var.kyverno.notification_enabled ? (length(var.kyverno.notification_channels) > 0 ? var.kyverno.notification_channels : var.notification_channels) : []

kyverno_cluster_name = var.kyverno.cluster_name != null ? trimspace(var.kyverno.cluster_name) : ""

kyverno_log_filter = local.kyverno_cluster_name != "" ? (<<-EOT
resource.type="k8s_container"
AND resource.labels.project_id="${local.kyverno_project_id}"
Expand All @@ -24,13 +24,11 @@ locals {
OR jsonPayload.error=~"(?i)list resources failed"
OR jsonPayload.error=~"(?i)failed to watch resource"
Comment thread
FabrizioCafolla marked this conversation as resolved.
OR jsonPayload.error=~"(?i)context deadline exceeded"
OR jsonPayload.error=~"(?i)i/o timeout"
OR jsonPayload.error=~"(?i)is forbidden"
OR jsonPayload.error=~"(?i)cannot list resource"
Comment thread
FabrizioCafolla marked this conversation as resolved.
Outdated
OR jsonPayload.error=~"(?i)cannot watch resource"
OR jsonPayload.error=~"(?i)RBAC.*denied"
OR jsonPayload.error=~"(?i)failed to start watcher"
Comment thread
FabrizioCafolla marked this conversation as resolved.
OR jsonPayload.error=~"(?i)failed to acquire lease"
OR jsonPayload.error=~"(?i)leader election lost"
OR jsonPayload.error=~"(?i)unable to update .*WebhookConfiguration"
OR jsonPayload.error=~"(?i)failed to sync"
Expand Down