Skip to content

Commit

Permalink
Update secrets file paths for destinations
Browse files Browse the repository at this point in the history
Destination-specific secret files are prefixed with a dot instead of a hyphen, according to https://github.com/basecamp/kamal/blob/8c32e6af07356031ffbad2e8eb60169904bc5e52/lib/kamal/secrets.rb#L10
  • Loading branch information
visini committed Sep 27, 2024
1 parent aca0a7f commit 094a69b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/configuration/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:
Kamal uses dotenv to automatically load environment variables set in the `.kamal/secrets` file.

If you are using destinations, secrets will instead be read from `.kamal/secrets-<DESTINATION>` if it exists.
If you are using destinations, secrets will instead be read from `.kamal/secrets.<DESTINATION>` if it exists.

Common secrets across all destinations can be set in `.kamal/secrets-common`.

Expand Down
2 changes: 1 addition & 1 deletion docs/upgrading/secrets-changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: Secrets changes

Secrets have moved from `.env`/`.env.rb` to `.kamal/secrets.`

If you are using destinations, secrets will be read from `.kamal/secrets-<DESTINATION>` first or `.kamal/secrets` if it is not found.
If you are using destinations, secrets will be read from `.kamal/secrets.<DESTINATION>` first or `.kamal/secrets` if it is not found.

## [Interpolating secrets](#interpolating-secrets)

Expand Down

0 comments on commit 094a69b

Please sign in to comment.