-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Event Filtering for Notifications in Kubernetes Engine Module #1840
Comments
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
I'm currently working on the issue |
I am also having the same problem. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
TL;DR
The current Kubernetes Engine module lacks the ability to directly filter events when configuring cluster notifications. This can lead to increased costs when using Pub/Sub to filter events externally. To address this, I propose adding the ability to configure event filters directly within the Kubernetes Engine module.
Terraform Resources
The notification_config block supports: pubsub (Required) - The pubsub config for the cluster's upgrade notifications. The pubsub block supports: enabled (Required) - Whether or not the notification config is enabled topic (Optional) - The pubsub topic to push upgrade notifications to. Must be in the same project as the cluster. Must be in the format: projects/{project}/topics/{topic}. filter (Optional) - Choose what type of notifications you want to receive. If no filters are applied, you'll receive all notification types. Structure is documented below. notification_config { pubsub { enabled = true topic = google_pubsub_topic.notifications.id } } Copy The filter block supports: event_type (Optional) - Can be used to filter what notifications are sent. Accepted values are UPGRADE_AVAILABLE_EVENT, UPGRADE_EVENT and SECURITY_BULLETIN_EVENT. See Filtering notifications for more details. https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_cluster#filter
Detailed design
Additional information
No response
The text was updated successfully, but these errors were encountered: