k8s-resources

by Delivery Hero

Helm chartv0.8.2App 0.0.1Verified publisher

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

KeyTypeDefaultDescription
ClusterRoleBindingslist[]A list ClusterRoleBindings to create
ClusterRoleslist[]A list ClusterRoles to create
ConfigMapslist[]A list ConfigMap to create
CronJobslist[]A list CronJobs to create
CustomResourceslist[]A list resources to create that are completely custom
HorizontalPodAutoscalerslist[]A list HorizontalPodAutoscaler to create
Ingresseslist[]A list Ingress to create
Namespaceslist[]A list Namespaces to create
PriorityClasseslist[]A list PriorityClasses to create
ScaledObjectslist[]A list ScaledObjects to create
Secretslist[]A list Secret to create
ServiceAccountslist[]A list ServiceAccount to create
Serviceslist[]A list Service to create
fullnameOverridestring""Override the full name of resources
nameOverridestring""Override the name of resources

Maintainers

NameEmailUrl
max-rocket-internethttps://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.

  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.8.2 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