docker-registry-gc

by gmelillo

Helm chartv0.1.9App 0.1.8Verified publisher

A Helm chart that deploy docker registry garbage collector cronjob

About this chart

docker-registry-gc

A Helm chart that deploy docker registry garbage collector cronjob

Homepage: https://github.com/gmelillo/helm-charts

Installation

Add Helm repository

helm repo add gmelillo https://helm.melillo.me
helm repo update

Install

helm install --generate-name gmelillo/docker-registry-gc

Maintainers

NameEmailUrl
gabriel[email protected]

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}
cronjob.annotationsobject{}
cronjob.concurrencyPolicystring"Forbid"
cronjob.failedJobsHistoryLimitint1
cronjob.labelsobject{}
cronjob.restartPolicystring"OnFailure"
cronjob.schedulestring"0 4 * * *"
cronjob.successfulJobsHistoryLimitint3
envobject{}
envFromlist[]
fullnameOverridestring""
image.pullPolicystring"Always"
image.repositorystring"gmelillo/registry"
image.tagstring""
imagePullSecretsobject{}
nameOverridestring""
nodeSelectorobject{}
pod.labelsobject{}
podSecurityContextobject{}
registry.configMapstring"registry-config"
resourcesobject{}
secretsobject{}
securityContextobject{}
serviceAccount.annotationsobject{}
serviceAccount.createbooltrue
serviceAccount.namestring""
tolerationslist[]

Deploy docker-registry-gc with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has docker-registry-gc 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 chartdocker-registry-gc is pinned at v0.1.9 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