k8s-resources
by stevehipwell
Helm chartv0.1.0App 1.0.0Verified publisher
Helm chart for provisioning Kubernetes resources.
About this chart
K8s Resources
The K8s Resources chart is designed to deploy arbitrary Kubernetes resources to a Kubernetes cluster.
Installing the Chart
Before you can install the chart you will need to add the stevehipwell repo to Helm.
helm repo add stevehipwell https://stevehipwell.github.io/helm-charts/
After you've installed the repo you can install the chart.
helm upgrade --install --namespace default --values ./my-values.yaml my-release stevehipwell/k8s-resources
Configuration
The following table lists the configurable parameters of the K8s Resources chart and their default values.
| Parameter | Description | Default |
|---|---|---|
resources.apiVersion | API version of the resource (required). | |
resources.kind | Kind of the resource (required). | |
resources.name | Name of the resource (required). | |
resources.namespace | Namespace for the resource (don't provide this if the resource is cluster scoped). | |
resources.labels | Labels for the resource (optional). | |
resources.annotations | Annotations for the resource (optional). | |
resources.content | Content of the resource (optional). |
Deploy k8s-resources with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has k8s-resources 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 chartk8s-resources 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