From b4c5e00cd5955c4442f2bbbba5e00de02daababe Mon Sep 17 00:00:00 2001 From: Ansil H Date: Thu, 28 Jan 2021 22:29:34 +0530 Subject: [PATCH 1/2] Added reminder to convert keys to base64 Added reminder to convert keys to base64 --- .../en/backups/v2.5/configuration/backup-config/_index.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/content/rancher/v2.x/en/backups/v2.5/configuration/backup-config/_index.md b/content/rancher/v2.x/en/backups/v2.5/configuration/backup-config/_index.md index d86ea7fcb64..a083f741b66 100644 --- a/content/rancher/v2.x/en/backups/v2.5/configuration/backup-config/_index.md +++ b/content/rancher/v2.x/en/backups/v2.5/configuration/backup-config/_index.md @@ -139,6 +139,12 @@ data: secretKey: ``` +Make sure to encode the keys in base64 in YAML file. +Run the following command to encode the keys in base64. +``` +echo -n "your_key" |base64 +``` + ### IAM Permissions for EC2 Nodes to Access S3 There are two ways to set up the `rancher-backup` operator to use S3 as the backup storage location. @@ -182,4 +188,4 @@ After the role is created, and you have attached the corresponding instance prof # Examples -For example Backup custom resources, refer to [this page.](../../examples/#backup) \ No newline at end of file +For example Backup custom resources, refer to [this page.](../../examples/#backup) From cf39c215fadf594a2d386cfb8d89345796c8593d Mon Sep 17 00:00:00 2001 From: Ansil H Date: Thu, 28 Jan 2021 22:30:52 +0530 Subject: [PATCH 2/2] Update _index.md --- .../en/backups/v2.5/configuration/backup-config/_index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/rancher/v2.x/en/backups/v2.5/configuration/backup-config/_index.md b/content/rancher/v2.x/en/backups/v2.5/configuration/backup-config/_index.md index a083f741b66..930d5339946 100644 --- a/content/rancher/v2.x/en/backups/v2.5/configuration/backup-config/_index.md +++ b/content/rancher/v2.x/en/backups/v2.5/configuration/backup-config/_index.md @@ -139,8 +139,8 @@ data: secretKey: ``` -Make sure to encode the keys in base64 in YAML file. -Run the following command to encode the keys in base64. +Make sure to encode the keys to base64 in YAML file. +Run the following command to encode the keys. ``` echo -n "your_key" |base64 ```