generic-web
A generic webserver wrapper that is based on configmaps
About this chart
Generic-web Helm Chart
Generic chart wrapper for nginx
Chart Details
This chart will install nginx and some flexible configmaps for basic static server needs
Installing the Chart
To install the chart with the release name my-release:
$ helm repo add bryanalves https://bryanalves.github.io/helm-charts
$ helm install --name my-release bryanalves/generic-web
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
The following table lists the configurable parameters of this chart and their default values
| Parameter | Description | Default |
|---|---|---|
| replicaCount | Number of instances | 1 |
| image.repository | Repository name | nginx |
| image.tag | Repository tag | 1.13.12 |
| image.pullPolicy | Repository pull policy | IfNotPresent |
| extraVolumeMounts | Extra volumes to mount | {} |
| extraVolume | Matching volumes for extraVolumeMounts | {} |
| config | Config maps for nginx conf.d | {} |
| service.type | Type of service | ClusterIP |
| service.port | Port for the service | 80 |
| ingress.enabled | Whether to create ingress or not | false |
| ingress.* | Helm standard ingress (see values.yaml) | {} |
| resources | Pod resources | {} |
| nodeSelector | Pod node selector | {} |
| tolerations | Pod tolerations | [] |
| affinity | Pod affinity | {} |
Specify each parameter using the --set key=value[,key=value] argument to helm install.
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,
$ helm install --name my-release -f values.yaml bryanalves/generic-web
Tip: You can use the default values.yaml
Deploy generic-web with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has generic-web 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 chartgeneric-web is pinned at v0.2.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