docs: note the preserved ENV file can be deleted

The preserved copy holds everything the legacy file was not allowed to import, which includes keys that had been `config:unset` on purpose, so a revoked secret can outlive its revocation in a file `dokku config:*` no longer reads. Nothing said the copy was the operator's to remove once reviewed.
This commit is contained in:
Jose Diaz-Gonzalez
2026-08-11 19:11:06 -04:00
parent 685f16e6b1
commit 25a5bacde9
4 changed files with 9 additions and 3 deletions

View File

@@ -644,6 +644,7 @@ teardown() {
assert_success
assert_output_contains "the current config takes precedence for KEEP RESURRECTED"
assert_output_contains "$DOKKU_ROOT/$TEST_APP/ENV.migrated"
assert_output_contains "then delete it"
run /bin/bash -c "dokku config:get $TEST_APP KEEP"
echo "output: $output"