registry-syncer

by joaquinito2051

Helm chartv0.1.0App v0.8.3

A chart to deploy registry syncer as Deployment and Job

About this chart

Registry Syncer Helm Chart

This directory contains the Helm chart for the Registry Syncer, which is used to synchronize OCI artifacts between different registries.

It uses https://regclient.org/usage/regsync/.

The chart will deploy both a Job and a Deployment, allowing you to run the syncer initially as a one-time job and then continue to run it periodically as a deployment.

Installing the Chart

First, add the repo:

helm repo add mesosphere-staging https://mesosphere.github.io/charts/staging

To install the chart, use the following:

helm install registry-syncer mesosphere-staging/registry-syncer

Example Values

deployment:
  config:
    creds:
      - registry: docker-registry.registry-system.svc.cluster.local:443
        tls: insecure
        reqPerSec: 1
    sync:
      - source: docker-registry.registry-system.svc.cluster.local:443
        target: another-registry.registry-system.svc.cluster.local:443
        type: registry
        interval: 1m

Deploy registry-syncer with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has registry-syncer on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartregistry-syncer is pinned at v0.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply