mirror of
https://github.com/cozystack/cozystack.git
synced 2026-12-01 20:56:02 +09:00
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>