Skip to content

refactor(k8s): read the environment Secret rows from homelab - #6928

Merged
dan-petty merged 1 commit into
mainfrom
refactor/6685-read-environment-secret-rows-from-homelab
Nov 23, 2026
Merged

dan-petty merged 1 commit into
mainfrom
refactor/6685-read-environment-secret-rows-from-homelab

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The environment Secret rows live in homelab k8s/cluster-secrets.toml and in src/devops_cli/k8s/cluster_secrets.py. The duplicate rows create two sources of truth. The change reads the homelab file into the existing dataclasses, removes the moved rows from product code, and keeps only the product rows in cluster_secrets.py. The readers load the file from the environment tree.

Closes #6685

Change: openspec/changes/archive/2026-11-23-6685-read-environment-secret-rows-from-homelab/

@dan-petty dan-petty added type/refactor Type refactor: a new structure, same behavior scope/k8s Kubernetes commands, Helm charts, pods, services, and policies labels Nov 23, 2026
Load environment Secret rows from homelab cluster-secrets.toml into
the frozen dataclasses using a pydantic file model. Keep only the product
rows in cluster_secrets.py and wire readers to load the file through the
environment tree resolver.

Ref: #6685
@dan-petty
dan-petty force-pushed the refactor/6685-read-environment-secret-rows-from-homelab branch from dcb85dd to d5fba90 Compare November 23, 2026 22:33
@dan-petty
dan-petty marked this pull request as ready for review November 23, 2026 22:58
@dan-petty
dan-petty merged commit 17e6ceb into main Nov 23, 2026
30 checks passed
@dan-petty
dan-petty deleted the refactor/6685-read-environment-secret-rows-from-homelab branch November 23, 2026 23:00
dan-petty-release Bot added a commit that referenced this pull request Nov 23, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.203.6](v0.203.5...v0.203.6)
(2026-11-23)


### Bug Fixes

* **ci:** fix mutants tree tests reading git tracking or src
([#6931](#6931))
([5e8a265](5e8a265))
* **ci:** the stats run fails in the mutants tree
([#6926](#6926))
([715f48d](715f48d))
* **deps:** update node to v24.22.3
([#6916](#6916))
([02a3599](02a3599))


### Code Refactoring

* **k8s:** read the environment Secret rows from homelab
([#6928](#6928))
([17e6ceb](17e6ceb))

---
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/k8s Kubernetes commands, Helm charts, pods, services, and policies type/refactor Type refactor: a new structure, same behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor(k8s): read the environment Secret rows from homelab

1 participant