Skip to content
This repository was archived by the owner on Dec 20, 2025. It is now read-only.

feat(aws): CleanupAlarmsAgent with an optional user-defined name pattern#6317

Merged
mergify[bot] merged 1 commit intospinnaker:masterfrom
armory-io:AWSAlarmsCleanupAgent
Dec 13, 2024
Merged

feat(aws): CleanupAlarmsAgent with an optional user-defined name pattern#6317
mergify[bot] merged 1 commit intospinnaker:masterfrom
armory-io:AWSAlarmsCleanupAgent

Conversation

@christosarvanitis
Copy link
Member

Users might defined a custom name for the scaling policies and alarms names that dont match the strict namePattern of the AlarmsCleanUp agent.
Especially for custom alarms when a scaling policy is deleted the alarms are not cascade deleted leading to stale cache in the cats_v1_alarms table.

This PR allows the user to define their own AlarmsNamePattern for the AlarmsCleanupAgent

Copy link
Member

@jasonmcintosh jasonmcintosh left a comment

Choose a reason for hiding this comment

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

nit: Should be a feature. yes it's config flagged

@christosarvanitis christosarvanitis changed the title fix(aws): CleanupAlarmsAgent with an optional user-defined name pattern feat(aws): CleanupAlarmsAgent with an optional user-defined name pattern Dec 13, 2024
@jasonmcintosh jasonmcintosh added the ready to merge Approved and ready for a merge label Dec 13, 2024
@mergify mergify bot added the auto merged Merged automatically by a bot label Dec 13, 2024
@mergify mergify bot merged commit 53f11a8 into spinnaker:master Dec 13, 2024
@jasonmcintosh
Copy link
Member

@Mergifyio backport release-1.35.x release-1.36.x release-1.34.x

@mergify
Copy link
Contributor

mergify bot commented Dec 13, 2024

backport release-1.35.x release-1.36.x release-1.34.x

✅ Backports have been created

Details

mergify bot pushed a commit that referenced this pull request Dec 13, 2024
mergify bot pushed a commit that referenced this pull request Dec 13, 2024
mergify bot pushed a commit that referenced this pull request Dec 13, 2024
christosarvanitis added a commit to armory-io/clouddriver that referenced this pull request Dec 13, 2024
mergify bot added a commit that referenced this pull request Dec 13, 2024
…ern (#6317) (#6320)

(cherry picked from commit 53f11a8)

Co-authored-by: Christos Arvanitis <christos.arvanitis@armory.io>
mergify bot added a commit that referenced this pull request Dec 13, 2024
…ern (#6317) (#6319)

(cherry picked from commit 53f11a8)

Co-authored-by: Christos Arvanitis <christos.arvanitis@armory.io>
mergify bot added a commit that referenced this pull request Dec 13, 2024
…ern (#6317) (#6318)

(cherry picked from commit 53f11a8)

Co-authored-by: Christos Arvanitis <christos.arvanitis@armory.io>
christosarvanitis added a commit to armory-io/clouddriver that referenced this pull request Jan 29, 2025
christosarvanitis added a commit to armory-io/clouddriver that referenced this pull request Jan 29, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

auto merged Merged automatically by a bot ready to merge Approved and ready for a merge target-release/1.37

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants