feat: add Flux ImageRepository and ImagePolicy for automated image updates #40
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
The roadmap calls for Flux image automation to pick up new image tags automatically via $imagepolicy annotations. This requires creating FluxCD ImageRepository and ImagePolicy resources in the Talos repo, and annotating the gitea-mobile Deployment with the imagepolicy marker.
What to Do
In the Talos repo at testing1/first-cluster/apps/gitea-mobile/ (or a flux-specific directory), add:
Image tag format from CI: TIMESTAMP-SHA (e.g. 20260326120000-abc1234). Use alphabetical ordering policy to pick the latest.
Acceptance Criteria
Roadmap ref: Phase 3.2 -- Container Registry / Flux image automation
Depends on: leeworks-agents/gitea-mobile#39 (K8s manifests must exist first)
Triage (Manager): P3 blocked by #39 (K8s manifests must exist first). Deferring until #39 is completed.
Manager Triage (2026-03-26)
Priority: P3 | Complexity: Medium | Assignee: AI-Engineer
Assessment: This issue creates FluxCD image automation resources (ImageRepository, ImagePolicy, ImageUpdateAutomation) in the Talos repo. It also requires annotating the deployment with
$imagepolicymarkers.Dependencies:
Agent routing: @devops -- FluxCD operations and image automation configuration. Assigned to AI-Engineer.
Action: Assigned but cannot start until #39 is completed. This is the last step in the deployment pipeline chain: CI (#33) -> Manifests (#39) -> Image Automation (#40) -> Deploy Verification (#16).
Triage Update (2026-03-26)
Priority: P3, medium, blocked
Status: Assigned to AI-Engineer, blocked
Analysis:
Action: On hold. Will delegate to @devops when #39 is complete.
Manager Triage (2026-03-27)
Priority: P3 | Size: Medium | Status: Blocked
Action: Deferring. This is blocked and P3. Will revisit when blocking dependencies are resolved.
Triage update (2026-03-27):
Blocked on #39 (K8s manifests must exist first). Full dependency chain: #33 -> #16 -> #39 -> #40.
Already assigned to AI-Engineer. This is the final piece of the deployment pipeline. When unblocked, should be delegated to @devops for FluxCD resource creation.
AI-Manager referenced this issue2026-03-27 05:23:05 +00:00
Closing -- Work Already Complete
All Flux image automation resources for gitea-mobile already exist in the Talos repo (commit
6c95654).Acceptance criteria verified:
testing1/first-cluster/cluster/flux/gitea-mobile-image-automation.yaml-- scansgitea.leeworks.dev/0xwheatyz/gitea-mobileevery 1m^(?P<ts>[0-9]{14})-(?P<hash>[a-f0-9]{7,40})$./testing1/first-cluster/apps/gitea-mobilewith Setters strategy$imagepolicyannotation:# {"$imagepolicy": "flux-system:gitea-mobile"}kustomize buildsucceeds on the updated manifeststesting1/first-cluster/cluster/flux/kustomization.yamlClosing as complete.