Skip to content

Add an enable a middleware which wraps the configuration#813

Merged
gardener-prow[bot] merged 1 commit intogardener:mainfrom
dnaeon:feat/aws-exclude-regions
Apr 21, 2026
Merged

Add an enable a middleware which wraps the configuration#813
gardener-prow[bot] merged 1 commit intogardener:mainfrom
dnaeon:feat/aws-exclude-regions

Conversation

@dnaeon
Copy link
Copy Markdown
Member

@dnaeon dnaeon commented Apr 21, 2026

What this PR does / why we need it:

This PR adds support for excluding specific AWS regions from being collected by specifying them in the aws.excluded_regions field.

It also introduces a new asynq.Middleware, which wraps the configuration, so that task handlers can refer to it.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Release note:

aws: add support for excluding specific regions from being collected

The configuration can be access from task handlers and take necessary actions
based on it.
@dnaeon dnaeon requested a review from a team as a code owner April 21, 2026 11:08
@gardener-prow gardener-prow Bot added do-not-merge/needs-kind Indicates a PR lacks a `kind/foo` label and requires one. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. labels Apr 21, 2026
Copy link
Copy Markdown
Contributor

@Bobi-Wan Bobi-Wan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@gardener-prow gardener-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Apr 21, 2026
@gardener-prow
Copy link
Copy Markdown

gardener-prow Bot commented Apr 21, 2026

LGTM label has been added.

DetailsGit tree hash: 4137ca19fec7c4d15bd9567cb626fcdd99b1cc15

@gardener-prow
Copy link
Copy Markdown

gardener-prow Bot commented Apr 21, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Bobi-Wan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@gardener-prow gardener-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 21, 2026
@dnaeon
Copy link
Copy Markdown
Member Author

dnaeon commented Apr 21, 2026

/kind enhancement

@gardener-prow gardener-prow Bot added kind/enhancement Enhancement, improvement, extension and removed do-not-merge/needs-kind Indicates a PR lacks a `kind/foo` label and requires one. labels Apr 21, 2026
@gardener-prow gardener-prow Bot merged commit 2de0014 into gardener:main Apr 21, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. kind/enhancement Enhancement, improvement, extension lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants