Files
cozystack/hack
Timofei LarkinandIvanHunters f982ea2cb9 fix(examples): mint the Postgres password in the backup examples
The examples read the application password from <release>-credentials,
which the chart no longer renders. They now mint it and pass it to psql
on stdin rather than as a kubectl exec argument, which travels in the
request URI the audit log records at any level. The minted password is
cached in a per-run mktemp -d directory, private and fresh each run, so
a later run never reads a password a mint has since replaced and no
other host user can read it. The helper's tests stub the mint.

Co-authored-by: IvanHunters <xorokhotnikov@gmail.com>
Assisted-by: LLM
Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2026-11-30 18:21:27 +01:00
..