Create Push Backup S3 Secret

Create a file named s3-secret.yaml with following content.

apiVersion: v1
data:
  accessKey: ${ACCESS_KEY_ID_BASE64}
  secretKey: ${SECRET_ACCESS_KEY_BASE64}
kind: Secret
metadata:
  name: push-backup-s3-secret
type: Opaque

Change the following properties:

Note down the metadata.name. It is required create Jobs to push backups to cloud or to restore backups from cloud.

Create the resource using:

$ kubectl create -n <namespace> -f s3-secret.yaml