Skip to content

Comments

feat: implement Flux image update automation for balancer#123

Closed
TineoC wants to merge 3 commits intoCodeForPhilly:mainfrom
TineoC:feat/balancer-image-automation
Closed

feat: implement Flux image update automation for balancer#123
TineoC wants to merge 3 commits intoCodeForPhilly:mainfrom
TineoC:feat/balancer-image-automation

Conversation

@TineoC
Copy link
Contributor

@TineoC TineoC commented Feb 7, 2026

This PR implements Flux Image Update Automation for the balancer application.

Depends on: #124
Related to: CodeForPhilly/balancer-main#455

Changes:

  1. balancer/kustomization.yaml: Added the Flux automation marker # {"$imagepolicy": "flux-system:balancer"} to the image tag.
  2. flux-automation.yaml: Created new Flux resources:
    • ImageRepository: Monitors ghcr.io/codeforphilly/balancer-main/app.
    • ImagePolicy: Configured to automatically pick the latest development build (tags matching .*-dev.[0-9]+). It uses alphabetical sorting to ensure the latest timestamp is chosen.
    • ImageUpdateAutomation: Automatically commits image tag updates back to this repository.

Requirements:

  • Flux v2 with Image Reflector and Automation controllers must be installed.
  • The cluster must have write access to this repository.

@themightychris
Copy link
Member

See notes in #124

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants