k8s-resources
Not an application but a Helm chart to create any and many resources in Kubernetes. Currently supports: - CronJob - ConfigMap - Custom resources from CustomResourceDefinition - HorizontalPodAutoscaler - Ingress - Namespace - Secret - Service - ServiceAccount - ScaledObject (KEDA) - ClusterRole - ClusterRoleBinding Every resource type can have custom labels, annotations or a `fullnameOverride` set. See default [values.yaml](https://github.com/deliveryhero/helm-charts/blob/master/stable/k8s-resources/values.yaml) for examples.
About this chart
k8s-resources
Not an application but a Helm chart to create any and many resources in Kubernetes.
Currently supports:
- CronJob
- ConfigMap
- Custom resources from CustomResourceDefinition
- HorizontalPodAutoscaler
- Ingress
- Namespace
- Secret
- Service
- ServiceAccount
- ScaledObject (KEDA)
- ClusterRole
- ClusterRoleBinding
Every resource type can have custom labels, annotations or a fullnameOverride set. See default values.yaml for examples.
Homepage: https://github.com/deliveryhero/helm-charts
How to install this chart
A simple install with default values, latest chart version and generated name:
helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/k8s-resources
To install a specific version of this chart:
helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/k8s-resources --version 0.8.2
To install the chart with the release name my-release:
helm install my-release oci://ghcr.io/deliveryhero/helm-charts/k8s-resources
To install with some set values:
helm install my-release oci://ghcr.io/deliveryhero/helm-charts/k8s-resources --set values_key1=value1 --set values_key2=value2
To install with custom values file:
helm install my-release oci://ghcr.io/deliveryhero/helm-charts/k8s-resources -f values.yaml
Values
| Key | Type | Default | Description |
|---|---|---|---|
| ClusterRoleBindings | list | [] | A list ClusterRoleBindings to create |
| ClusterRoles | list | [] | A list ClusterRoles to create |
| ConfigMaps | list | [] | A list ConfigMap to create |
| CronJobs | list | [] | A list CronJobs to create |
| CustomResources | list | [] | A list resources to create that are completely custom |
| HorizontalPodAutoscalers | list | [] | A list HorizontalPodAutoscaler to create |
| Ingresses | list | [] | A list Ingress to create |
| Namespaces | list | [] | A list Namespaces to create |
| PriorityClasses | list | [] | A list PriorityClasses to create |
| ScaledObjects | list | [] | A list ScaledObjects to create |
| Secrets | list | [] | A list Secret to create |
| ServiceAccounts | list | [] | A list ServiceAccount to create |
| Services | list | [] | A list Service to create |
| fullnameOverride | string | "" | Override the full name of resources |
| nameOverride | string | "" | Override the name of resources |
Maintainers
| Name | Url | |
|---|---|---|
| max-rocket-internet | https://github.com/max-rocket-internet |
Chart source and versions
Chart source: github.com/deliveryhero/helm-charts/k8s-resources
Older chart versions: github.com/deliveryhero/helm-charts/pkgs/container/helm-charts/k8s-resources
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.8.2 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