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.

ParameterDescriptionDefault
resources.apiVersionAPI version of the resource (required).
resources.kindKind of the resource (required).
resources.nameName of the resource (required).
resources.namespaceNamespace for the resource (don't provide this if the resource is cluster scoped).
resources.labelsLabels for the resource (optional).
resources.annotationsAnnotations for the resource (optional).
resources.contentContent 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartk8s-resources is pinned at v0.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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