Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.
/ crsync Public archive

Keeps our container registries synchronized

License

Notifications You must be signed in to change notification settings

giantswarm/crsync

Repository files navigation

CircleCI Docker Repository on Quay

crsync

The crsync tool synchronizes images between quay.io and configured target container registry.

Getting Project

Download the latest release: https://github.com/giantswarm/crsync/releases/latest

Clone the git repository: https://github.com/giantswarm/crsync.git

Download the latest docker image from here: https://quay.io/repository/giantswarm/crsync

How to build

Build the standard way.

go build github.com/giantswarm/crsync

Installing the Chart

To install the chart locally:

$ git clone https://github.com/giantswarm/crsync.git
$ cd crsync
$ helm install helm/crsync

Provide a custom values.yaml:

$ helm install crsync -f values.yaml

Deployment to Tenant Clusters is handled by app-operator.

Configuration

There are few mandatory configuration options:

lastModified: 2h
destinationRegistry:
  name: <container-registry-address> # e.g. docker.io
  credentials:
    user: <container-registry-user>
    password: <base64-encoded-password>

Release Process

  • Ensure CHANGELOG.md is up to date.
  • Create a new GitHub release with the version e.g. v0.1.0 and link the changelog entry.
  • This will push a new git tag and trigger a new tarball to be pushed to the giantswarm-operations-platform-catalog.

License

crsync is under the Apache 2.0 license. See the LICENSE file for details.