dockerconfigjson

by Snowplow

Helm chartv0.1.0Verified publisher

A helm chart to configure a secret for pulling a container image from a private repository

About this chart

dockerconfigjson

A helm chart to configure a secret for pulling a container image from a private repository.

TL;DR

helm repo add snowplow-devops https://snowplow-devops.github.io/helm-charts
helm install dockerconfigjson snowplow-devops/dockerconfigjson

Introduction

This chart creates a secret which can be referenced to allow pulling images from private repositories.

Installing the Chart

Install or upgrading the chart with default configuration:

helm upgrade --install dockerconfigjson snowplow-devops/dockerconfigjson

Uninstalling the Chart

To uninstall/delete the dockerconfigjson release:

helm delete dockerconfigjson

Configuration

KeyTypeDefaultDescription
namestring"dockerhub"Name of the secret to use for the private repository
usernamestring""Username for the private repository
passwordstring""Password for the private repository
serverstring"https://index.docker.io/v1/"Repository server URL
emailstring""Email address for user of the private repository

Deploy dockerconfigjson with OpenTenant

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