E241 setup-secrets: kubeSecretSource names its Secret as storedIn by andsens · Pull Request #41 · nixos-homelab/shared · GitHub
[go: up one dir, main page]

Skip to content

setup-secrets: kubeSecretSource names its Secret as storedIn - #41

Merged
andsens merged 1 commit into
mainfrom
claude/setup-secrets-stored-in
Nov 19, 2026
Merged

andsens merged 1 commit into
mainfrom
claude/setup-secrets-stored-in

Conversation

@andsens
@andsens andsens commented Nov 19, 2026
Copy link
Copy Markdown
Collaborator

The setup-secrets TUI (andsens/nixos-setup-secrets#16) edits a source only when it reads back what a destination stores, named by storedIn; the others it shows read-only.

  • kubeSecretSource sets storedIn = "kube <namespace>/<name>", so the cluster secrets read back from a Secret (INWX, unifi, the PostgreSQL passwords, the ghostfolio and forgejo secrets, imap, client-vpn) become editable, and an edit sticks.
  • kubeExecSource stays without it: its value lives in the workload (the servarr and Plex API keys), where an edit would be fetched over.
  • setup-secrets is bumped to main, which has the option.

Checked: deadnix, manifests, logs and logql pass. The k3s test node's source evaluates to storedIn = "kube default/setup-secrets-test".

The consumers get it with their next shared bump.

🤖 Generated with Claude Code

The setup-secrets TUI edits a source only when it reads back what a destination stores, which storedIn names. kubeSecretSource reads the Secret its destination writes, so it sets storedIn to kube <namespace>/<name>: the cluster secrets read back from a Secret become editable, and an edit sticks. kubeExecSource stays without it, as its value lives in the workload.

setup-secrets is bumped to the commit that has storedIn.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8E79 @andsens
andsens enabled auto-merge (squash) November 19, 2026 22:31
@andsens
andsens merged commit 1489e7e into main Nov 19, 2026
3 checks passed
@andsens
andsens deleted the claude/setup-secrets-stored-in branch November 19, 2026 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0