git-sync
by olympus
Helm chartv1.0.0-rc.1App v3.6.5Verified publisher
A sidecar app which clones a git repo and keeps it in sync with the upstream.
About this chart
git-sync
A sidecar app which clones a git repo and keeps it in sync with the upstream.
This is a helm chart for git-sync
TL;DR;
$ helm repo add olympus https://charts.itstoni.com/
$ helm install olympus/git-sync
Configuration
The following table lists the minimum required configuration parameters of the git-sync chart and their default values.
| Parameter | Description | Default |
|---|---|---|
env.GIT_SYNC_REPO | the git repository to clone | required |
env.GIT_SYNC_BRANCH | the git branch to check out | main |
env.GIT_SYNC_SUBMODULES | git submodule behavior: one of 'recursive', 'shallow', or 'off' | off |
env.GIT_SYNC_HTTP_METRICS | enable metrics on git-sync's HTTP endpoint | true |
env.GIT_SYNC_WAIT | the number of seconds between syncs | 5 |
args | additional arguments to use on git-sync ommand | -v=3 |
persistence.existing.claim | an existing volume claim to use for git clone | nil |
Please visit to git-sync project for more environment and args settings.
Deploy git-sync with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has git-sync 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartgit-sync is pinned at v1.0.0-rc.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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