dockerconfigjson
by Helm
.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.
| Parameter | Default | Description |
|---|---|---|
imageCredentials[].registry | https://index.docker.io/v1/ | The Docker registry |
imageCredentials[].username | nil | The Docker user's username |
imageCredentials[].accessToken | nil | The 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartdockerconfigjson is pinned at v1.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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