Add FluxCD topic (GitOps / CI-CD) - #807
Merged
Merged
Conversation
Closes #801. - topics/fluxcd/README.md: overview, architecture diagram, install, basics, bootstrap/multi-tenancy/image-automation notes, cheatsheet - topics/fluxcd/basics/fluxcd_sync_demo.sh: installs Flux on a kind cluster and syncs stefanprodan/podinfo via GitRepository + Kustomization, no GitHub token or full `flux bootstrap` required. Verified end-to-end (fresh cluster and cluster-reuse paths), passes shellcheck. - topics/fluxcd/practice/README.md: 4 exercises (fork-and-sync, prune, break/observe/recover, ArgoCD comparison) - the break/recover scenario verified against real flux output. - Wired into mkdocs.yml nav, topics/index.md, README.md's topic table, and ROADMAP.md (moved FluxCD from Upcoming to Recently Added).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #801.
Summary
Adds a
topics/fluxcd/topic following the existing structure (seetopics/grafana/topics/trivyas the reference), and wires it into the repo's navigation.topics/fluxcd/README.md— What is FluxCD, controller architecture (ASCII diagram), install, a runnable basics walkthrough, a "Beyond the Basics" section coveringflux bootstrap/ multi-tenancy / image automation, and a cheatsheet — same six-section shape as the other recently-added topics.topics/fluxcd/basics/fluxcd_sync_demo.sh— installs Flux's controllers on a localkindcluster and syncs a real public repo (stefanprodan/podinfo) viaGitRepository+Kustomization. No GitHub token and no fullflux bootstrapneeded, per the issue's suggested approach.topics/fluxcd/practice/README.md— 4 exercises: fork-and-sync, watching--pruneremove a deleted resource, deliberately breaking a source and readingflux logsto recover it, and a compare-and-contrast writing prompt against the existing ArgoCD topic.mkdocs.ymlnav (under CI/CD, after ArgoCD),topics/index.md's card grid,README.md's topic table, and moved FluxCD from ROADMAP.md's "Upcoming" to "Recently Added".Test plan
fluxcd_sync_demo.shtwice end-to-end against a realkindcluster on this machine — once creating a fresh cluster, once reusing an existing one. Both times Flux fetchedpodinfo, applied its manifests, and the deployment reached2/2 Available.fluxoutput (bad branch →Ready: Falsewith a clear message;flux logs --level=errorsurfaces the exact error).shellcheck topics/fluxcd/basics/fluxcd_sync_demo.sh— clean.mkdocs build --strict— no new warnings introduced (the 5 pre-existing warnings onmainare unrelated: root/topics/README-vs-index.md conflicts and two pre-existing broken image links inargocd/elk, all present before this PR too).