Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 2.79 KB

README.md

File metadata and controls

41 lines (26 loc) · 2.79 KB

Basic Webapp Chart

This chart creates the necessary resources to deploy a basic, load-balanced web application.

Installing and Uninstalling

To install this chart, first clone this repository. Then, run:

$ helm install --name release-name ./path-to-repo

After the chart is installed, you can uninstall it by running:

$ helm delete --purge release-name

Configuration

To configure this chart, pass the --set key=value argument to helm install or helm upgrade.

Parameter Description Default
letsencrypt.server The url of the Let's Encrypt server to use https://acme-staging-v02.api.letsencrypt.org/directory (Set this to https://acme-v02.api.letsencrypt.org/directory for production)
letsencrypt.email The email address that will receive Let's Encrypt notification emails [email protected]
postgresql.enabled Whether or not to install a PostgreSQL instance false

Dependencies

This chart creates few resources of its own, as the main purpose of this chart is to bootstrap these dependencies onto a cluster:

  • cert-manager: Automatically issues and renews TLS certificates
  • nginx-ingress: Bootstraps the Nginx Ingress controller, which is used to proxy ingress traffic to services within the cluster
  • postgresql: Conditionally installs a PostgreSQL instance

Note: To configure these charts, simply prepend the name of the chart when using the --set argument. For example, to set the defaultBackend.enabled value for the Nginx Ingress controller, use the key nginx-ingress.defaultBackend.enabled.

Google Cloud

When installing on a GKE cluster, a Load Balancer and external IP address will be automatically provisioned for the Nginx Ingress controller. Make sure to switch the IP address from "ephemeral" to "static". This is the IP address to add to your DNS records if you are pointing a domain name to this cluster.