Commit graph

20 commits

Author SHA1 Message Date
fluxcdbot
2337bc4dbf chore(hello-app): auto-update image
git.boglabob.com/codegit/hello-app:main-eeb92c5-1788522079
2026-09-04 11:41:27 +00:00
eeb92c5b28 content: tweak hero tagline wording
All checks were successful
build-hello-app / build-and-push (push) Successful in 31s
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y4YNpuC2bgT224suQLLJ7B
2026-09-04 12:41:01 +01:00
k3s kubernetes
10846d1082 fix: root-cause Flux Setters silent no-op - namespace mismatch
ImageUpdateAutomation only lists ImagePolicy objects in its own
namespace (image-automation-controller's getPolicies() scopes the
List() to obj.Namespace, confirmed by reading v1.2.4 source) - the
$imagepolicy marker's namespace:name is only used to match against
that pre-filtered list, not to broaden the search. Our
ImageUpdateAutomation lived in flux-system while its ImagePolicy
lived in hello-app, so the policy was invisible and Setters always
found zero markers to update ("repository up-to-date" forever),
regardless of correct marker syntax/RBAC/policy resolution.

Moved ImageUpdateAutomation into the hello-app namespace (alongside
its ImagePolicy), keeping a cross-namespace sourceRef back to the
flux-system GitRepository. Also fixed the commit messageTemplate,
which used the removed .Updated field (v1.2.4 requires .Changed).

Verified live: Flux pushed commit 0273f15 updating deployment.yaml's
tag on its own, and the cluster rolled out that image without any CI
involvement. Removed the update-deployment-tag CI workaround job
accordingly - it's redundant now and would otherwise race with
Flux's own commits.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GJNvvV3RrvX6TRZGAKEUeY
2026-09-04 12:05:43 +01:00
fluxcdbot
0273f15f06 chore(hello-app): auto-update image
git.boglabob.com/codegit/hello-app:main-b7b929d-1788518841
2026-09-04 11:04:27 +00:00
b7b929d202 ci: retrigger hello-app build to test CI-side tag commit
Some checks failed
build-hello-app / build-and-push (push) Successful in 31s
build-hello-app / update-deployment-tag (push) Failing after 19s
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y4YNpuC2bgT224suQLLJ7B
2026-09-04 11:47:02 +01:00
fd905cd3bc 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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y4YNpuC2bgT224suQLLJ7B
2026-09-04 11:40:13 +01:00
a22034d81d debug: test same-namespace ImagePolicy for Setters resolution
Every official Flux example uses the same namespace for ImagePolicy and
ImageUpdateAutomation; our setup splits them (ImagePolicy in hello-app,
ImageUpdateAutomation in flux-system). Testing whether that cross-namespace
split is the actual blocker, despite being documented as supported.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y4YNpuC2bgT224suQLLJ7B
2026-09-04 11:34:07 +01:00
3970d6acfc debug: add minimal flat test file for Setters diagnosis
Isolating whether Setters can find/update anything at all in this repo,
independent of the Deployment's nested containers[].image structure -
throwaway, will be removed once resolved.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y4YNpuC2bgT224suQLLJ7B
2026-09-04 11:21:08 +01:00
99b6178a88 debug: test ImageUpdateAutomation with repo-root update.path
Diagnostic change - narrower ./apps/hello-app path never found anything
to update despite a byte-verified-correct marker, matching ImagePolicy
resolution, and no RBAC/duplicate-resource issues. Testing whether the
nested path itself is the problem before looking further.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y4YNpuC2bgT224suQLLJ7B
2026-09-04 11:14:45 +01:00
cd87435d8e fix: move Flux image-automation marker to a trailing comment
The $imagepolicy marker was on the line above image:, not a trailing
comment on that line. Flux's Setters strategy attaches YAML comments to
the node on their own line, so a marker on a preceding line never
associates with the field below it - the marker silently matched nothing,
which is why ImageUpdateAutomation logged "repository up-to-date" on
every reconcile regardless of what ImagePolicy resolved to, and never
once committed a tag update despite two successful image builds.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y4YNpuC2bgT224suQLLJ7B
2026-09-04 10:59:25 +01:00
b3da26e337 docs+ui: explain why podinfo/hello share a Caddy target; genericize hero copy
All checks were successful
build-hello-app / build-and-push (push) Successful in 32s
docs/03-flux.md: clarify that podinfo/hello-app pointing at the same
<VM_IP> in Caddy isn't a routing choice - there's only one VM right now,
doubling as both control plane and workload node, and Traefik is what
actually does per-hostname routing once the request lands there.

index.html: drop the specific "Dell T630" hardware reference from the
public-facing tagline in favor of a generic "Home server".

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y4YNpuC2bgT224suQLLJ7B
2026-09-04 10:48:17 +01:00
854780c2bf ci: retrigger hello-app build with dual-scope FORGEJO_TOKEN
All checks were successful
build-hello-app / build-and-push (push) Successful in 33s
FORGEJO_TOKEN now has both repository read (needed for the archive-based
checkout) and write:package (needed for the kaniko push) - confirmed via
a direct curl test against the archive endpoint returning 200.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y4YNpuC2bgT224suQLLJ7B
2026-09-04 10:09:00 +01:00
0106254827 ci: retrigger hello-app build with corrected token/vars
Some checks failed
build-hello-app / build-and-push (push) Failing after 20s
FORGEJO_TOKEN now has package:write scope, and FORGEJO_USER/FORGEJO_ORG
have been moved from repo Secrets to repo Variables where ${{ vars.X }}
actually reads from.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y4YNpuC2bgT224suQLLJ7B
2026-09-04 09:53:51 +01:00
93a9943a7d ci: retrigger hello-app build with workspace mkdir fix
Some checks failed
build-hello-app / build-and-push (push) Failing after 25s
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y4YNpuC2bgT224suQLLJ7B
2026-09-04 09:25:53 +01:00
bfdc9704cb ci: retrigger hello-app build with fixed checkout step
Some checks failed
build-hello-app / build-and-push (push) Failing after 27s
Forgejo's re-run replayed the workflow file as it was at the original
triggering commit, not the fixed version now on main - needs an actual
new push touching apps/hello-app/src/** to pick it up.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y4YNpuC2bgT224suQLLJ7B
2026-09-04 07:51:15 +01:00
baf3ac1724 test the pipeline
Some checks failed
build-hello-app / build-and-push (push) Failing after 20s
2026-09-04 07:32:40 +01:00
267e57d1fc Updated docs to describe installation of all required flux components 2026-09-04 00:25:27 +01:00
4ea6d8b9e5 Updated project to improve guidance
Some checks failed
terraform / validate (push) Failing after 37s
2026-09-03 19:06:27 +01:00
63008b3ab9 Switching from unmaintained kubernetes-dashboard to headlamp 2026-08-19 13:24:16 +01:00
5c2080a73b initial scaffold
Some checks failed
terraform / validate (push) Waiting to run
build-hello-app / build-and-push (push) Has been cancelled
2026-08-18 20:22:42 +01:00