Parameters

The parent key for all of the following parameters is rotating_bucket_backup.

namespace

type

string

default

syn-rotating-bucket-backup

The namespace in which to deploy this component.

namespace_metadata

type

dict

default
annotations: {}
labels: {}

Allows adding additional annotations and labels to the namespace.

images

type

dict

The images to use for the component.

jobs

type

dict

default

{}

example
    jobs:
      myjob:
        source_bucket:
          name: mytestbucket
          accesskey: accesskey
          secretkey: secretkey
          url: https://objects.rma.example.com
        target_bucket_tmpl:
          type: appcat
          parameters:
            region: lpg

The backup jobs to run. The key is the name of the job. The value is a dictionary with the following keys:

source_bucket.name

type

string

The name of the source bucket.

source_bucket.accesskey

type

string

The access key for the source bucket.

source_bucket.secretkey

type

string

The secret key for the source bucket.

source_bucket.url

type

string

The URL of the source bucket.

target_bucket_tmpl.type

type

string

The type of the target bucket. Currently, only appcat is supported.

target_bucket_tmpl.parameters

type

dict

The parameters for the target bucket. The keys and values depend on the type of the target bucket.

monitoring.enabled

type

boolean

default

true

Controls if PrometheusRule objects are created. The alerts expect kube-state-metrics to be running in the cluster.

monitoring.alerts

type

dict

default

See defaults.yml

example
alerts:
  MyAlert:
    enabled: true
    rule:
      expr: |
        up{namespace="${rotating_bucket_backup:namespace}"} == 0
      for: 5m
      labels:
        severity: warning
      annotations:
        summary: "Instance {{ $labels.instance }} down"
        description: "{{ $labels.instance }} of job {{ $labels.job }} has been down for more than 5 minutes."

The alerts to configure. The key is the name of the alert. The value is a dictionary with the following keys:

enabled

type

boolean

Controls if the alert is enabled.

rule

type

dict

The Prometheus rule for the alert. The keys and values depend on the alert.

Example

namespace: example-namespace