From 094a69b8b79d9b74b68c245660d0a8caf64f862b Mon Sep 17 00:00:00 2001 From: Camillo Visini Date: Fri, 27 Sep 2024 09:15:56 +0200 Subject: [PATCH] Update secrets file paths for destinations 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 --- docs/configuration/environment-variables.md | 2 +- docs/upgrading/secrets-changes.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/configuration/environment-variables.md b/docs/configuration/environment-variables.md index a3bde24..951bfd1 100644 --- a/docs/configuration/environment-variables.md +++ b/docs/configuration/environment-variables.md @@ -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-` if it exists. +If you are using destinations, secrets will instead be read from `.kamal/secrets.` if it exists. Common secrets across all destinations can be set in `.kamal/secrets-common`. diff --git a/docs/upgrading/secrets-changes.md b/docs/upgrading/secrets-changes.md index 781cb4a..c874e1a 100644 --- a/docs/upgrading/secrets-changes.md +++ b/docs/upgrading/secrets-changes.md @@ -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-` first or `.kamal/secrets` if it is not found. +If you are using destinations, secrets will be read from `.kamal/secrets.` first or `.kamal/secrets` if it is not found. ## [Interpolating secrets](#interpolating-secrets)