Feature: Render stack secrets from OpenBao and adopt Gitea #21

Merged
claude-bot Bot merged 4 commits from feature/render-stack-env-from-openbao into main 2026-12-04 04:21:47 +01:00
Showing only changes of commit 69a1c0a9fb - Show all commits
+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:
```