registry

by mjpitz

Helm chartv22.4.11App 2.8.3MITVerified publisher

Easily deploy and configure a production-ready container registry backed by your favorite cloud storage provider. Optionally add a highly-available, partition-tolerant Redis cache that's fronted by Envoy.

About this chart

registry

Easily deploy and configure a production-ready container registry backed by your favorite cloud storage provider. Optionally add a highly-available, partition-tolerant Redis cache that's fronted by Envoy.

Maintainers

NameEmailUrl
Mya Pitzerusehttps://mya.sh

Source Code

Requirements

RepositoryNameVersion
auth*
https://mya.shredis22.4.9
https://mya.shstorj22.4.5

Values

KeyTypeDefaultDescription
affinityobject{}Specify affinity rules for the pods.
auth.config.token.realmstring""The realm used for authentication.
auth.config.token.servicestring""The service authenticating on behalf of the end user.
auth.enabledboolfalseWhether to enable token authentication and authorization for the server.
autoscaling.enabledboolfalseEnable autoscaling for the deployment.
autoscaling.maxReplicasint100Specify the maximum number of replicas.
autoscaling.minReplicasint1Specify the minimum number of replicas.
autoscaling.targetCPUUtilizationPercentageint80Specify the percent CPU utilization that causes the pods to autoscale.
config.compatibilityobject{}Used to configure older / deprecated features.
config.http.secretstring""A common secret shared between the registry servers.
config.log.accesslog.disabledbooltrueDisable access log logging.
config.log.formatterstring"json"Specifies the log format.
config.log.levelstring"info"- Specify the minimum log level.
config.middlewareobject{}Configure the middleware layer such as a Cloudfront CDN for host.
config.notificationsobject{}Configure the docker notification layer.
config.proxyobject{}Allows the registry to be configured as a pull-through cache to Docker Hub.
config.reportingobject{}Configure the reporting layer such as the bugsnag and newrelic endpoints.
config.storageobject{}Configures the persistence layer for blobs.
config.validationobject{}Configure validation rules for image manifests.
externalConfig.secretRef.namestring""Specify the name of the secret containing the raw configuration.
extraVolumeMountslist[]Add additional volume mounts to the pod.
extraVolumeslist[]Add additional volumes to the pod.
fullnameOverridestring""Override the full name of the release.
gc.enabledboolfalseWhether to enable the garbage collection process. This is not supported when using the Storj sidecar.
gc.schedulestring"@daily"How frequently to run the garbage collection process.
image.pullPolicystring"IfNotPresent"The pull policy to use for the registry image.
image.repositorystring"distribution/distribution"The repository hosting the container registry image.
image.tagstring"2.8.3"Overrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]Specify the secret containing the registry credentials.
ingress.annotationsobject{}Specify annotations for the ingress.
ingress.enabledboolfalseConfigure the ingress for the registry.
ingress.hosts[0].hoststring"chart-example.local"Specify the domain host for the ingress.
ingress.tlslist[]Configure TLS for the ingress.
metrics.serviceMonitor.enabledboolfalseAdd a Prometheus ServiceMonitor that scrapes the registry deployment.
metrics.serviceMonitor.intervalstring"10s"How frequently prometheus should pull metrics from your registry deployment.
nameOverridestring""Override the name of the release.
nodeSelectorobject{}Specify the node selector used to control which nodes registry pods are deployed to.
podAnnotationsobject{}Annotations to add to the pod, typically used for assume roles.
podSecurityContextobject{}Specify the security context for the entire pod.
redis.config.dbint0What redis database to connect to.
redis.config.dialtimeoutstring"200ms"The timeout to use when connecting to redis.
redis.config.pool.idletimeoutstring"300s"How long before a connection is marked idle.
redis.config.pool.maxactiveint64The maximum number of active connections.
redis.config.pool.maxidleint16The maximum number of idle connections.
redis.config.readtimeoutstring"200ms"The timeout used when reading data from redis.
redis.config.writetimeoutstring"200ms"The timeout used when writing data to redis.
redis.enabledboolfalseWhether to enable a partitioned Redis cluster for caching.
replicaCountint1The number of registry replicas to deploy.

Deploy registry with OpenTenant

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