Stateful application CRD reference in ROSA
BackupLocation
The BackupLocation CRD parameters differ based on the object store you use.
S3-compliant storage
apiVersion: stork.libopenstorage.org/v1alpha1
kind: BackupLocation
metadata:
name: mysql
namespace: mysql-app
annotations:
stork.libopenstorage.org/skipresource: "true"
location:
type: s3
path: "bucket-name"
s3Config:
region: us-east-1
accessKeyID: XXXX
secretAccessKey: XXXX
endpoint: "https://bucketEndpoint.com"
disableSSL: false
s3Config Parameters
Parameter | Description | Value | Required? |
---|---|---|---|
region | Which region your s3 bucket is located in | Default: None | Yes |
accessKeyID | Your object store's accessKeyID | Default: None | Yes |
secretAccessKey | Your object store's secretAccessKey | Default: None | Yes |
endpoint | The URL or IP address of your bucket | Default: None | Yes |
disableSSL | Whether or not to disable SSL | Default: false | No |
ApplicationBackup
apiVersion: stork.libopenstorage.org/v1alpha1
kind: ApplicationBackup
metadata:
name: backup
namespace: mysql-app
spec:
backupLocation: mysql
namespaces:
- mysql-app
reclaimPolicy: Delete
selectors:
preExecRule:
postExecRule: