4 Commits
Author SHA1 Message Date
claude-bot Bot 66a745b3c1 Merge pull request 'Docs: Leave image pinning out of stack adoption' (#22) from docs/defer-image-pinning into main
Checks / Secret Scan (push) Successful in 5s
Checks / Lint (push) Successful in 36s
2026-12-04 04:24:40 +01:00
kasun 3069d62fb3 docs: defer image pinning when adopting stacks
Checks / Secret Scan (pull_request) Successful in 5s
Checks / Lint (pull_request) Successful in 36s
2026-12-04 04:22:02 +01:00
claude-bot Bot 72485d6037 Merge pull request 'Feature: Render stack secrets from OpenBao and adopt Gitea' (#21) from feature/render-stack-env-from-openbao into main
Checks / Secret Scan (push) Successful in 5s
Deploy Stacks / Deploy Stacks (push) Successful in 6s
Checks / Lint (push) Successful in 33s
2026-12-04 04:21:47 +01:00
kasun 69a1c0a9fb docs: keep imported secret values as they are
Checks / Secret Scan (pull_request) Successful in 6s
Checks / Lint (pull_request) Successful in 46s
2026-12-04 04:20:25 +01:00
2 changed files with 2 additions and 2 deletions

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ Branch → PR (lint, secret scan, later `--check --diff`) → merge to protected
- Keep the `/home/pi/docker/<service>/` paths, because Compose derives the project name from the folder.
- Ansible manages config, never data. No ownership changes under `DOCKER_DATA_ROOT` (mapped UIDs).
- When adopting a stack: pin its image and remove its Watchtower label.
- When adopting a stack: remove its Watchtower label. Pinning images is a later task I'll do myself; don't flag unpinned or `:latest` images.
- Gitea, its runner and Postgres never auto-deploy. I trigger them from the `ansible` LXC.
## Secrets
+1 -1
View File
@@ -61,7 +61,7 @@ The OpenBao CLI is not needed on the controller. Ansible uses the HTTP API throu
jq -Rn '[inputs | select(test("^[A-Za-z_][A-Za-z0-9_]*=")) | capture("^(?<key>[^=]+)=(?<value>.*)$")] | from_entries' .env
```
Values are stored exactly as they appear in the file, so remove any surrounding quotes first.
The role writes values back unquoted, as `KEY=value`, so Compose reads them the same way it reads the original file. Import values exactly as they appear. When you set a new value, avoid `$`, `#`, quotes and spaces: Compose would interpret them.
2. Add `stacks/<stack>/env.j2` with one line per variable:
```