feat: add cert-manager missing issuer log alert configuration and mon…#7
feat: add cert-manager missing issuer log alert configuration and mon…#7filippolmt merged 8 commits intomainfrom
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
792e4ac to
713b14e
Compare
|
/describe |
|
/improve |
|
PR Description updated to latest commit (9541882) |
9541882 to
0854d1e
Compare
|
/describe |
|
/improve |
PR Code Suggestions ✨Latest suggestions up to 0854d1e
Previous suggestionsSuggestions up to commit 9541882
Suggestions up to commit 792e4ac
|
|
PR Description updated to latest commit (0854d1e) |
a36df8b to
7255e4e
Compare
7255e4e to
6abe702
Compare
There was a problem hiding this comment.
Pull Request Overview
This PR enhances the Terraform Google Services Monitoring module by adding cert-manager monitoring capabilities, improving CloudSQL monitoring alerts, and making the Kyverno cluster_name parameter optional.
- Added cert-manager missing issuer log alert configuration with comprehensive filtering and notification settings
- Enhanced CloudSQL monitoring alerts with CPU, memory, and disk utilization thresholds for multiple instances
- Updated Kyverno configuration to make cluster_name optional and added null check validation
Reviewed Changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| cert_manager.tf | Implements new cert-manager missing issuer/cluster issuer log alert with configurable filtering and notification settings |
| variables.tf | Adds cert_manager variable configuration block with comprehensive alert customization options |
| kyverno.tf | Adds null check for cluster_name to prevent errors when parameter is not provided |
| examples/variables.tf | Updates example configuration to include cert_manager variables and removes deprecated kyverno metric options |
| examples/main.tf | Adds cert_manager configuration example and removes deprecated kyverno metric threshold settings |
| README.md | Updates documentation to reflect new cert_manager input variable and monitoring alert policy resources |
| CHANGELOG.md | Documents version 0.4.0 changes including file renames and new cert-manager functionality |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| textPayload=~"Referenced \"(Issuer|ClusterIssuer)\" not found" | ||
| OR jsonPayload.message=~"Referenced \"(Issuer|ClusterIssuer)\" not found" | ||
| OR jsonPayload.note=~"Referenced \"(Issuer|ClusterIssuer)\" not found" |
There was a problem hiding this comment.
The regex pattern is duplicated across three lines. Consider extracting it to a local variable to improve maintainability and reduce the chance of inconsistencies.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
User description
…itoring resource
PR Type
Enhancement
Description
Add cert-manager missing issuer log alert configuration
Implement CloudSQL monitoring alerts for CPU/memory/disk utilization
Update Kyverno cluster_name parameter to optional
Add comprehensive monitoring resource documentation
Changes walkthrough 📝
cert_manager_issuer_log_alert.tf
Add cert-manager missing issuer alert configurationcert_manager_issuer_log_alert.tf
cloud_sql.tf
Implement CloudSQL monitoring alerts infrastructurecloud_sql.tf
variables.tf
Add cert-manager variables and update Kyverno configvariables.tf
cert_manager_issuervariable configurationcluster_namefrom required to optionalREADME.md
Update documentation for new monitoring featuresREADME.md
cert_manager_issuerinput documentationcluster_nameparameter description