dockerconfigjson

by Helm

Helm chartv1.0.1

.dockerconfigjson

About this chart

dockerconfigjson

The dockerconfigjson is a .dockerconfigjson secret that other pods in the same namespace can use to pull image from private registries.

This chart bootstraps an dockerconfigjson secret on a Kubernetes namespace using the Helm package manager.

Installing or Upgrading the Chart

To install or upgrade the chart with the release name my-release, use the command:

$ helm upgrade --install --namespace apps --values ./my-values.yaml my-dockerconfigjson jitterbit/dockerconfigjson

This example command deploys the dockerconfigjson on the Kubernetes cluster in the apps namespace.

The configuration section lists common parameters that will be configured during installation and upgrade.

For a full list of the parameters that can be configured, see the values.yaml file.

TIP: To list all releases, use the command helm list

Uninstalling the Chart

To uninstall the my-release release, use the command:

$ helm uninstall --namespace apps my-release

This example command removes all Kubernetes components in the apps namespace associated with the chart and deletes the release.

Configuration

This table lists commonly configured parameters of the dockerconfigjson chart and their default values.

ParameterDefaultDescription
imageCredentials[].registryhttps://index.docker.io/v1/The Docker registry
imageCredentials[].usernamenilThe Docker user's username
imageCredentials[].accessTokennilThe Docker user's access token (recommened) or password

Specify the values for the parameters in a YAML file that can be provided while installing or upgrading the chart. For example:

$ helm upgrade --install --values ./my-values.yaml my-dockerconfigjson jitterbit/dockerconfigjson

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