-
Bug
-
Resolution: Done
-
Critical
-
quay-v3.12.1
Description:
Wrong type of event notification triggered with multiple notification
Quay Version: quay-operator-bundle-container-v3.12.0-27
Reproduce Steps:
1, Create a repo with several image tags
2, Create a Slack notification of "Image expiry trigger" with 10 day
3, Update a tag with Expires: 3 days
4, Check Slack Channel until get the event
5, Create a Email notification of "Image expiry trigger" with 20 day, click submit
6, Check event on both Slack the Email
Actual Result:
Wrong event got in Slack, the second one triggered by Email notification
in the Email side, got expected result:
Expected Result:
Email notification should only send to Email client.
config.yaml
BROWSER_API_CALLS_XHR_ONLY: false PERMANENTLY_DELETE_TAGS: true RESET_CHILD_MANIFEST_EXPIRATION: true FEATURE_EXTENDED_REPOSITORY_NAMES: true CREATE_NAMESPACE_ON_PUSH: true FEATURE_QUOTA_MANAGEMENT: true FEATURE_PROXY_CACHE: true FEATURE_USER_INITIALIZE: true FEATURE_PROXY_STORAGE: true IGNORE_UNKNOWN_MEDIATYPES: true FEATURE_UI_V2: true FEATURE_SUPERUSERS_FULL_ACCESS: true FEATURE_AUTO_PRUNE: true NOTIFICATION_TASK_RUN_MINIMUM_INTERVAL_MINUTES: 10 AUTOPRUNE_TASK_RUN_MINIMUM_INTERVAL_MINUTES: 10 SUPER_USERS: - quay - admin GLOBAL_READONLY_SUPER_USERS: - superglobalro FEATURE_MAILING: true MAIL_DEFAULT_SENDER: lixiong@redhat.com MAIL_PASSWORD: xxx MAIL_PORT: 25 MAIL_SERVER: sandbox.smtp.mailtrap.io MAIL_USE_AUTH: true MAIL_USE_TLS: true MAIL_USERNAME: a358a44a0938b2
Note:
If I continue to create third Webhook POST 30days notification, on webhook side, get expect result:
but this event also propagate to Email and Slack
- links to
-
RHBA-2024:136817 Red Hat Quay v3.12.1 bug fix release
- mentioned on