Repository navigation
refactor(k8s): read the environment tree from the infra repo - #5334
Conversation
Checks and evidence (review and publish)Branch rebased on Local checks
Render diff (Argo CD) Review fixes on top of the builder commits
Choices for the person who merges
|
81fcb79 to
dc8dfc9
Compare
Fix after the first CI run
Local proof: |
The commands that read the environment tree take its root from --k8s-dir, else from the profile fact kubernetes.dir of the current repository, else from the one infra repo that gives it. deploy-stack reads the product base apart from the tree (--product-dir). image-pins and the Argo CD gate fetch a git source of another public repository at its revision, and image-pins renders one kustomization folder. The names of live objects are settings. Refs #5131
k8s/README.md, CONTEXT.md and docs/SDLC.md say where a command takes the environment tree and the product base from, and config.example.yaml shows the new settings with the names of the live objects. Refs #5131
…sets A render of k8s/devops alone names the service, runner and mcp-server images with no tag, because Image Updater of the environment sets them. A folder holds no ImageUpdater object, so image-pins k8s/devops exited 1. The option --managed names such a repository: the check does not refuse or resolve its images. The README also says that the fetch adds no credential of its own.
… credential The first docstring line of ApplicationSourceError was cut in docs/ERRORS.md. docs/SDLC.md still named k8s/startpage/ in the filter of the Design Tokens job. The fetch of another repository adds no credential of its own, but the git configuration of the host can give one.
…e rows The k8s row of devops ci read the paths of MANIFESTS_BY_STACK under the repository root, but they are relative to the environment tree now, and the product paths are in PRODUCT_MANIFESTS_BY_STACK. The test-tree row refused a test that found the root from its own file, and a cached local function of gateway render that the test floor does not reset.
dc8dfc9 to
7663474
Compare
Rebase on origin/main c0d3afdThe PR conflicted with #5312, which moved the sections Image Pins and Service Image Updates from After the rebase: |
🤖 I have created a release *beep* *boop* --- ## [0.125.4](v0.125.3...v0.125.4) (2026-11-13) ### Bug Fixes * **k8s:** find the source of the hawk host crashes ([#5336](#5336)) ([e6c5216](e6c5216)) ### Code Refactoring * **k8s:** read the environment tree from the infra repo ([#5334](#5334)) ([c33d78c](c33d78c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
devops reads the environment tree from --k8s-dir or the profile fact kubernetes.dir, not from fixed paths, so the homelab tree can move to its infra repo (#5120). deploy-stack reads the product base k8s/devops apart (--product-dir). image-pins and the Argo CD gate fetch a source of another public repo at its revision. image-pins also renders one kustomization folder; --managed names repos the deploy tags. The names of live objects are settings.
Readers of k8s/:
Closes #5131
Change:
openspec/changes/archive/2026-11-13-5131-environment-root-from-the-infra-repo/