auto-deploy-app
by djcass44
Helm chartv0.15.4MITVerified publisher
GitLab's Auto-deploy Helm Chart
About this chart
Auto-deploy Helm Chart
This chart is an opinionated fork of GitLab's Auto-deploy Helm chart. It removes a number of un-needed features (e.g. psql deployments) and provides greater options for security.
This chart aims to provide a 1-size-fits-all chart for deploying a single application.
Requirements
- Helm 3
- Kubernetes 1.16+
Configuration
| Parameter | Description | Default |
|---|---|---|
replicaCount | 1 | |
strategyType | Pod deployment strategy | nil |
command | Container command | |
args | Container arguments | |
image.repository | gcr.io/google-containers/echoserver | |
image.tag | 1.10 | |
image.sha | Container SHA to use. Overrides image.tag | |
image.pullPolicy | Always | |
image.secrets | [name: gitlab-registry] | |
podAnnotations | Pod annotations | {} |
podLabels | Pod labels | {} |
nodeSelector | Node labels for pod assignment | {} |
tolerations | List of node taints to tolerate | [] |
security.podContext | Privilege and access control settings for the Pod | {} |
security.containerContext | Privilege and access control settings for the Container | {} |
application.track | stable | |
application.tier | web | |
application.secretName | Pass in the name of a Secret which the deployment will load all key-value pairs from the Secret as environment variables in the application container. | nil |
application.secretChecksum | Pass in the checksum of the secrets referenced by application.secretName. | nil |
hpa.enabled | If true, enables horizontal pod autoscaler. A resource request is also required to be set, such as resources.requests.cpu: 200m. | false |
hpa.minReplicas | 1 | |
hpa.maxReplicas | 5 | |
hpa.targetCPUUtilizationPercentage | CPU utilisation percentage threshold when HPA begins scaling out pods | 80 |
Deploy auto-deploy-app with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has auto-deploy-app 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 chartauto-deploy-app is pinned at v0.15.4 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