imagepullsecret-deploy

by joaquinito2051

Helm chartv1.0.1App 0.1

A Helm chart to deploy imagePullSecret into a namespace.

About this chart

Image pull secret chart

A super-simple chart that just deploys a dockerconfigjson secret.

Note about version 1.x

Note that upgrading to version 1.x from 0.x may require a purge/install cycle in helm to handle a namespace mismatch

If you were using a secret.namespace (now removed) that did not match the namespace for your helm release, do these steps

  1. helm upgrade --namespace correct-namespace: Helm reports an error because you can't change a release namespace, but then creates your secret in the old incorrect namespace specified by the helm chart before. It leaves your previously created secret orphaned.
  2. helm delete --purge release-name: Helm deletes the secret in the old incorrect namespace
  3. helm install --namespace correct-namespace --force: Helm deletes and recreates the secret in the correct-namespace

Values

ParameterDescriptionDefault
secret.nameThe name of the secretimagepullsecret
secret.b64_dataThe base64-encoded data for the secret

Deploy imagepullsecret-deploy with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has imagepullsecret-deploy 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 chartimagepullsecret-deploy 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