Update b64 example, add syntax highlighting, revise helm install steps

This commit is contained in:
dkeightley
2022-09-27 14:52:26 +13:00
parent 4a155328f9
commit facdafd00e
2 changed files with 118 additions and 80 deletions
@@ -42,7 +42,7 @@ To create the Secret, the encryption configuration file must be named `encryptio
Save the `EncryptionConfiguration` in a file called `encryption-provider-config.yaml` and run this command:
```
```bash
kubectl create secret generic encryptionconfig \
--from-file=./encryption-provider-config.yaml \
-n cattle-resources-system
@@ -121,10 +121,21 @@ metadata:
name: creds
type: Opaque
data:
accessKey: <Enter your base64-encoded access key>
secretKey: <Enter your base64-encoded secret key>
accessKey: <base64-encoded access key>
secretKey: <base64-encoded secret key>
```
:::note
To avoid encoding issues, the credentialSecret can be created with the below command, updating the values for `accessKey` and `secretKey`.
```bash
kubectl create secret generic s3-creds \
--from-literal=accessKey=<access key> \
--from-literal=secretKey=<secret key>
```
:::
### 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.