mirror of
https://github.com/minio/docs.git
synced 2025-04-21 08:05:59 +03:00
- Adds new environment variable for ILM expiration workers - Adds new metrics for locks - Adds keyrotate batch job type - Adds info about batch replicate from remote to local Closes #806 Staged: http://192.241.195.202:9000/staging/minio-2023-04-07/administration/batch-framework.html
37 lines
1.7 KiB
YAML
37 lines
1.7 KiB
YAML
keyrotate:
|
|
apiVersion: v1
|
|
bucket: bucket
|
|
prefix:
|
|
encryption:
|
|
type: sse-kms # valid values are sse-s3 and sse-kms
|
|
|
|
# The following encryption values only apply for sse-kms type.
|
|
# For sse-s3 key types, MinIO uses the key provided by the MINIO_KMS_KES_KEY_FILE environment variable.
|
|
# The following two values are ignored if type is set to sse-s3.
|
|
key: my-new-keys2 # valid only for sse-kms
|
|
context: <new-kms-key-context> # valid only for sse-kms
|
|
|
|
# optional flags based filtering criteria
|
|
flags:
|
|
filter:
|
|
newerThan: "84h" # match objects newer than this value (e.g. 7d10h31s)
|
|
olderThan: "80h" # match objects older than this value (e.g. 7d10h31s)
|
|
createdAfter: "2023-03-02T15:04:05Z07:00" # match objects created after "date"
|
|
createdBefore: "2023-03-02T15:04:05Z07:00" # match objects created before "date"
|
|
tags:
|
|
- key: "name"
|
|
value: "pick*" # match objects with tag 'name', with all values starting with 'pick'
|
|
metadata:
|
|
- key: "content-type"
|
|
value: "image/*" # match objects with 'content-type', with all values starting with 'image/'
|
|
kmskey: "key-id" # match objects with KMS key-id (applicable only for sse-kms)
|
|
|
|
# optional entries to add notifications for the job
|
|
notify:
|
|
endpoint: "https://notify.endpoint" # notification endpoint to receive job status events
|
|
token: "Bearer xxxxx" # optional authentication token for the notification endpoint
|
|
|
|
# optional entries to add retry attempts if the job is interrupted
|
|
retry:
|
|
attempts: 10 # number of retries for the job before giving up
|
|
delay: "500ms" # least amount of delay between each retry |