registry

by anza-labs

Helm chartv1.0.4App 3.1.2Apache-2.0Verified publisher

The Registry is a stateless, highly scalable server side application that stores and lets you distribute container images and other content.

About this chart

registry

The Registry is a stateless, highly scalable server side application that stores and lets you distribute container images and other content.

Homepage: https://distribution.github.io/distribution/

Maintainers

NameEmailUrl
shanduur[email protected]http://linkedin.com/in/urbanekmateusz

Source Code

Installation

To install the chart with the release name registry:

helm repo add anza-labs https://anza-labs.github.io/charts
helm repo update anza-labs
helm install registry anza-labs/registry --version 1.0.4

Upgrading

To upgrade an existing installation:

helm upgrade registry anza-labs/registry

Uninstalling

To uninstall an existing installation:

helm uninstall registry

Values

KeyTypeDefaultDescription
affinityobject{}Affinity settings for the pods.
autoscaling.enabledboolfalseSpecifies whether autoscaling is enabled.
autoscaling.maxReplicasint3Maximum number of replicas for autoscaling.
autoscaling.minReplicasint1Minimum number of replicas for autoscaling.
autoscaling.targetCPUUtilizationPercentageint80Target CPU utilization percentage for autoscaling.
autoscaling.targetMemoryUtilizationPercentageint80Target memory utilization percentage for autoscaling.
configs.registry.createbooltrueSpecifies whether a config map should be created.
configs.registry.namestring""Specifies name of a config map used to configure the registry. If not filled, uses full name.
configs.telemetry.createbooltrueSpecifies whether a config map should be created.
configs.telemetry.namestring""Specifies name of a config map used to configure the registry. If not filled, uses full name.
configs.telemetry.otelobject{"OTEL_TRACES_EXPORTER":"none"}OpenTelemetry SDK environment variables. https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/
deploymentStrategyobject{}
fullnameOverridestring""Override for the full name.
image.pullPolicystring"IfNotPresent"Image pull policy.
image.repositorystring"docker.io/library/registry"Registry and repository for the registry image.
image.tagstring"3.1.2"Tag for the image.
imagePullSecretslist[]Secrets for pulling images.
ingress.annotationsobject{}Annotations to add to the ingress.
ingress.classNamestring""Ingress class name.
ingress.enabledboolfalseSpecifies whether ingress should be enabled.
ingress.hostslist[{"host":"registry.example.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}]List of ingress hosts.
ingress.tlslist[]List of TLS configurations for the ingress.
livenessProbe.httpGetobject{"path":"/debug/health","port":"debug"}Liveness probe configuration.
nameOverridestring""Override for the name.
nodeSelectorobject{}Node selector for the pods.
podAnnotationsobject{}Annotations to be added to the pods.
podLabelsobject{}Labels to be added to the pods.
podSecurityContextobject{}
readinessProbe.httpGetobject{"path":"/debug/health","port":"debug"}Readiness probe configuration.
replicaCountint1Number of replicas for the deployment.
resourcesobject{}
secrets.auth.createboolfalseSpecifies whether a secret should be created.
secrets.auth.htpasswd.valuestring""Directly specify the htpasswd content for basic authentication.
secrets.auth.htpasswd.valueFromobject{"key":"htpasswd","optional":true,"secret":""}Reference an existing Kubernetes secret and key for htpasswd.
secrets.auth.namestring""Specifies name of a secret used to configure the registry. If not filled, uses full name.
secrets.http.createbooltrueSpecifies whether a secret should be created.
secrets.http.namestring""Specifies name of a secret used to configure the registry. If not filled, uses full name.
secrets.http.valuestring"12b7a9c9-3c30-4cea-b868-f9942ab82d9a"Value of the shared HTTP secret.
secrets.storage.accessKey.valuestring""Access key for the S3-compatible storage backend.
secrets.storage.accessKey.valueFromobject{"key":"awsaccesskey","optional":false,"secretName":""}Reference to an existing Secret containing the access key.
secrets.storage.bucket.valuestring""S3 bucket name where registry data will be stored.
secrets.storage.bucket.valueFromobject{"key":"bucket","optional":false,"secretName":""}Reference to an existing Secret containing the bucket name.
secrets.storage.createbooltrueSpecifies whether a secret should be created. If false, you must provide an existing Secret via .name or .[*].valueFrom.
secrets.storage.endpoint.valuestring""Endpoint for the S3-compatible storage backend (e.g. https://s3.amazonaws.com).
secrets.storage.endpoint.valueFromobject{"key":"endpoint","optional":false,"secretName":""}Reference to an existing Secret containing the endpoint.
secrets.storage.forcePathStyle.valuebooltrueWhether to force path-style URLs (true = path-style, false = virtual-hosted-style).
secrets.storage.forcePathStyle.valueFromobject{"key":"forcePathStyle","optional":true,"secretName":""}Reference to an existing Secret containing this value.
secrets.storage.namestring""Specifies name of a secret used to configure the registry. If not filled, uses full name.
secrets.storage.region.valuestring""AWS region or equivalent region for the storage backend.
secrets.storage.region.valueFromobject{"key":"region","optional":false,"secretName":""}Reference to an existing Secret containing the region.
secrets.storage.secretKey.valuestring""Secret key for the S3-compatible storage backend.
secrets.storage.secretKey.valueFromobject{"key":"awssecretkey","optional":false,"secretName":""}Reference to an existing Secret containing the secret key.
secrets.storage.secure.valuebooltrueWhether to use secure (HTTPS) connections to the storage backend.
secrets.storage.secure.valueFromobject{"key":"secure","optional":true,"secretName":""}Reference to an existing Secret containing this value.
secrets.storage.v4Auth.valuebooltrueWhether to enforce AWS Signature V4 authentication.
secrets.storage.v4Auth.valueFromobject{"key":"v4Auth","optional":true,"secretName":""}Reference to an existing Secret containing this value.
securityContextobject{}
service.portint5000Service port.
service.typestring"ClusterIP"Service type.
serviceAccount.annotationsobject{}Annotations to add to the service account.
serviceAccount.automountbooltrueAutomatically mount a ServiceAccount's API credentials.
serviceAccount.createbooltrueSpecifies whether a service account should be created.
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template.
startupProbe.httpGetobject{"path":"/debug/health","port":"debug"}Startup probe configuration.
tolerationslist[]Tolerations for the pods.

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 v1.0.4 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