From e53bafea73e541e9d303b47a4a0e6d3a4827f580 Mon Sep 17 00:00:00 2001 From: Malcolm Davis Steele Date: Thu, 3 Dec 2020 16:17:21 -0600 Subject: [PATCH 1/2] Update documentation on escaping quotes Signed-off-by: Malcolm Davis Steele --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4e4edc2..0d29e45 100644 --- a/README.md +++ b/README.md @@ -661,7 +661,7 @@ secrets: | | `FOO` | `bar` | | `EMPTYLINE` | `aaaa\n\nbbbb\nccc` | -> Note: all quote signs need to be doubled for escaping. +> Note: all quote signs need to be doubled for escaping. This is, for a secret `SECRET={"key":"value"}`, you'll need to provide `"SECRET={""key"":""value""}"`. ## Troubleshooting From 9ada3141a93584d981e0a955ebda094b08d6e08b Mon Sep 17 00:00:00 2001 From: Malcolm Davis Steele Date: Thu, 3 Dec 2020 16:36:31 -0600 Subject: [PATCH 2/2] Apply suggestions Signed-off-by: Malcolm Davis Steele --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0d29e45..3666a7d 100644 --- a/README.md +++ b/README.md @@ -651,6 +651,7 @@ secrets: | bbbb ccc" + "JSON_SECRET={""key1"":""value1"",""key2"":""value2""}" ``` | Key | Value | @@ -660,8 +661,9 @@ secrets: | | `MYSECRET` | `aaaaaaaa\nbbbbbbb\nccccccccc` | | `FOO` | `bar` | | `EMPTYLINE` | `aaaa\n\nbbbb\nccc` | +| `JSON_SECRET` | `{"key1":"value1","key2":"value2"}` | -> Note: all quote signs need to be doubled for escaping. This is, for a secret `SECRET={"key":"value"}`, you'll need to provide `"SECRET={""key"":""value""}"`. +> Note: all quote signs need to be doubled for escaping. ## Troubleshooting