regcred
by colearendt
A Helm chart that deploys registry credential secrets
About this chart
regcred
Installing the Chart
To install the chart with the release name my-release at version 0.1.0:
helm repo add colearendt https://colearendt.github.io/helm
helm install my-release colearendt/regcred --version=0.1.0
Description
This chart simplifies the creation of "Registry Credentials" for use authenticating a Kubernetes cluster to a Container Registry for pulling images.
This is very important for (1) private images and (2) DockerHub, because of their unfortunate rate limit.
Each helm deployment only creates a single secret, but that secret can have multiple credentials within it.
Use this chart to automate away the annoying parts of registry credentials.
Examples
ghcr.io
registryCredentials:
- url: ghcr.io
username: 'colearendt'
password: 'my-github-pat'
docker.io (DockerHub)
registryCredentials:
- url: docker.io
username: 'colearendt'
password: 'my-password-or-token'
Values
| Key | Type | Default | Description |
|---|---|---|---|
| extraLabels | object | {} | |
| fullnameOverride | string | "" | |
| nameOverride | string | "" | |
| registryCredentials | list | [] |
Autogenerated from chart metadata using helm-docs v1.5.0
Deploy regcred with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has regcred 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 chartregcred is pinned at v0.1.0 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