Merge pull request #3594 from btat/base64-secret

Make explicit Secret data is base64-encoded
This commit is contained in:
Billy Tat
2021-10-05 16:03:57 -07:00
committed by GitHub
6 changed files with 14 additions and 14 deletions
@@ -136,8 +136,8 @@ metadata:
name: creds
type: Opaque
data:
accessKey: <Enter your access key>
secretKey: <Enter your secret key>
accessKey: <Enter your base64-encoded access key>
secretKey: <Enter your base64-encoded secret key>
```
### IAM Permissions for EC2 Nodes to Access S3
@@ -183,4 +183,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)
For example Backup custom resources, refer to [this page.](../../examples/#backup)
@@ -269,8 +269,8 @@ metadata:
name: creds
type: Opaque
data:
accessKey: <Enter your access key>
secretKey: <Enter your secret key>
accessKey: <Enter your base64-encoded access key>
secretKey: <Enter your base64-encoded secret key>
```
# Example EncryptionConfiguration
@@ -39,8 +39,8 @@ metadata:
name: s3-creds
type: Opaque
stringData:
accessKey: <Enter your access key>
secretKey: <Enter your secret key>
accessKey: <Enter your base64-encoded access key>
secretKey: <Enter your base64-encoded secret key>
```
This secret can be created in any namespace, with the above example it will get created in the default namespace
@@ -126,8 +126,8 @@ metadata:
name: creds
type: Opaque
data:
accessKey: <Enter your access key>
secretKey: <Enter your secret key>
accessKey: <Enter your base64-encoded access key>
secretKey: <Enter your base64-encoded secret key>
```
### IAM Permissions for EC2 Nodes to Access S3
@@ -173,4 +173,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)
For example Backup custom resources, refer to [this page.](../../examples/#backup)
@@ -266,8 +266,8 @@ metadata:
name: creds
type: Opaque
data:
accessKey: <Enter your access key>
secretKey: <Enter your secret key>
accessKey: <Enter your base64-encoded access key>
secretKey: <Enter your base64-encoded secret key>
```
# Example EncryptionConfiguration
@@ -37,8 +37,8 @@ metadata:
name: s3-creds
type: Opaque
stringData:
accessKey: <Enter your access key>
secretKey: <Enter your secret key>
accessKey: <Enter your base64-encoded access key>
secretKey: <Enter your base64-encoded secret key>
```
This secret can be created in any namespace, with the above example it will get created in the default namespace