Skip to content

Rclone Sync Config Schema

Note

This is auto-generated documentation from a JSON schema that is under construction, this will improve over time.

Return to the root config schema

https://raw.githubusercontent.com/elastisys/compliantkubernetes-apps/main/config/schemas/config.yaml#/properties/objectStorage/properties/sync

Sync object storage from the primary site to a secondary site with Rclone.

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status No Forbidden Forbidden none config/schemas/config.yaml*

TYPE:

object (Rclone Sync Config)

PROPERTIES:

Property Type Required Nullable Defined by
activeDeadlineSeconds number Optional cannot be null Welkin Apps Config
enabled boolean Optional cannot be null Welkin Apps Config
dryrun boolean Optional cannot be null Welkin Apps Config
syncDefaultBuckets boolean Optional cannot be null Welkin Apps Config
defaultSchedule string Optional cannot be null Welkin Apps Config
buckets array Optional cannot be null Welkin Apps Config
destinationType string Optional cannot be null Welkin Apps Config
secondaryUrl string Optional cannot be null Welkin Apps Config
azure object Optional cannot be null Welkin Apps Config
s3 object Optional cannot be null Welkin Apps Config
swift object Optional cannot be null Welkin Apps Config
resources object Optional cannot be null Welkin Apps Config
encrypt object Optional cannot be null Welkin Apps Config
sourceType string Optional cannot be null Welkin Apps Config

activeDeadlineSeconds

The maximum amount of time that the Rclone job is allowed to run (in seconds).

activeDeadlineSeconds

TYPE:

number (Rclone Cronjob Active Deadline Seconds)

DEFAULTS:

The default value is:

14400

enabled

enabled

TYPE:

boolean (Rclone Sync Enable)

dryrun

Deploy Rclone with dryrun enabled.

dryrun

TYPE:

boolean (Rclone Sync Dryrun)

syncDefaultBuckets

Sync the buckets or containers set under .objectStorage.buckets.

syncDefaultBuckets

TYPE:

boolean (Rclone Sync Default Buckets)

defaultSchedule

Default schedule to run the sync CronJobs.

defaultSchedule

TYPE:

string (Rclone Sync Default Schedule)

DEFAULTS:

The default value is:

"0 5 * * *"

buckets

Additional buckets to sync.

buckets

TYPE:

object[] (Buckets to sync)

DEFAULTS:

The default value is:

[]

destinationType

Object storage type to use.

destinationType

TYPE:

string (Rclone Sync Destination Type)

CONSTRAINTS:

enum: the value of this property must be equal to one of the following values:

Value Explanation
"azure"
"gcs"
"s3"
"swift"

secondaryUrl

secondaryUrl

TYPE:

string (Rclone Sync Secondary URL)

CONSTRAINTS:

URI: the string must be a URI, according to RFC 3986

azure

Only supports Azure Public Cloud.

azure

TYPE:

object (Azure Backend Config)

s3

Supports both AWS and non-AWS implementations.

s3

TYPE:

object (S3 Backend Config)

swift

Note

Supported as an option only for Harbor, Rclone, and Thanos.

swift

TYPE:

object (Swift Backend Config)

resources

Resource requests are used by the kube-scheduler to pick a node to schedule pods on.

Limits are enforced. Resources are commonly 'cpu' and 'memory'.

resources

TYPE:

object (Kubernetes Resource Requirements)

EXAMPLES:

requests:
  memory: 128Mi
  cpu: 100m
limits:
  memory: 256Mi
  cpu: 250m

encrypt

Encrypt data when syncing and decrypt data when restoring.

encrypt

TYPE:

object (Rclone Crypt)

sourceType

Object storage type to use. Defaults to .objectStorage.type

sourceType

TYPE:

string (Rclone Sync Source Type)

EXAMPLES:

azure
gcs
s3
swift

Return to the root config schema


Generated Sun Nov 17 03:51:36 UTC 2024 from elastisys/compliantkubernetes-apps@main