From fd905cd3bc286b95992c2aee02b929ee0458b402 Mon Sep 17 00:00:00 2001 From: CodeGit Date: Fri, 4 Sep 2026 11:40:13 +0100 Subject: [PATCH] debug: clean up Setters investigation debris Remove the throwaway setter-test.yaml and revert update.path to ./apps/hello-app. Root cause of ImageUpdateAutomation never committing a tag update remains unresolved after exhausting marker syntax, path scoping, field structure, namespace placement, RBAC, and version compatibility as candidates - all checked out fine individually. Moving on to docs/04-tofu.md; may retest after Flux gets a fresh bootstrap against the new cluster there. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01Y4YNpuC2bgT224suQLLJ7B --- apps/hello-app/image-automation.yaml | 2 +- apps/hello-app/setter-test.yaml | 27 --------------------------- 2 files changed, 1 insertion(+), 28 deletions(-) delete mode 100644 apps/hello-app/setter-test.yaml diff --git a/apps/hello-app/image-automation.yaml b/apps/hello-app/image-automation.yaml index 69aff57..e73c8ad 100644 --- a/apps/hello-app/image-automation.yaml +++ b/apps/hello-app/image-automation.yaml @@ -53,5 +53,5 @@ spec: push: branch: main update: - path: ./ + path: ./apps/hello-app strategy: Setters diff --git a/apps/hello-app/setter-test.yaml b/apps/hello-app/setter-test.yaml deleted file mode 100644 index aa44141..0000000 --- a/apps/hello-app/setter-test.yaml +++ /dev/null @@ -1,27 +0,0 @@ -# Throwaway diagnostic file - delete once the Setters investigation is done. -# Testing whether a same-namespace-as-ImageUpdateAutomation ImagePolicy -# resolves differently than the existing cross-namespace one. -apiVersion: image.toolkit.fluxcd.io/v1 -kind: ImagePolicy -metadata: - name: hello-app-samens-test - namespace: flux-system -spec: - imageRepositoryRef: - name: hello-app - namespace: hello-app - policy: - numerical: - order: asc - filterTags: - pattern: '^main-[a-f0-9]+-(?P\d+)$' - extract: '$ts' ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: setter-test - namespace: hello-app -data: - image: git.boglabob.com/codegit/hello-app:latest # {"$imagepolicy": "hello-app:hello-app"} - image_samens: git.boglabob.com/codegit/hello-app:latest # {"$imagepolicy": "flux-system:hello-app-samens-test"}