node-config

by stevehipwell

Helm chartv0.7.0App 0.1.0Verified publisher

Helm chart for configuring Kubernetes nodes via a DaemonSet init container.

About this chart

node-config

Helm chart for configuring Kubernetes nodes via a DaemonSet init container.

Homepage: https://github.com/stevehipwell/helm-charts/

Maintainers

NameEmailUrl
stevehipwell[email protected]

Source Code

Installing the Chart

OCI Repository

To install the chart using the recommended OCI method you can use the following command.

helm upgrade --install node-config oci://ghcr.io/stevehipwell/helm-charts/node-config --version 0.7.0

Verification

As the OCI chart release is signed by Cosign you can verify the chart before installing it by running the following command.

cosign verify --certificate-oidc-issuer https://token.actions.githubusercontent.com --certificate-identity-regexp 'https://github\.com/action-stars/helm-workflows/\.github/workflows/release\.yaml@.+' --certificate-github-workflow-repository stevehipwell/helm-charts --certificate-github-workflow-name Release ghcr.io/stevehipwell/helm-charts/node-config:0.7.0

Non-OCI Repository

Alternatively you can use the legacy non-OCI method via the following commands.

helm repo add stevehipwell https://stevehipwell.github.io/helm-charts/
helm upgrade --install node-config stevehipwell/node-config --version 0.7.0

Values

KeyTypeDefaultDescription
affinity.nodeAffinityobject{}Node affinity for scheduling.
commonLabelsobject{}Labels to add to all chart resources.
config.commandlist["sh","-c","/opt/config.sh"]Command for the config container
config.envlist[]Environment variables for the config container.
config.extraVolumeMountslist[]Extra volume mounts for the config container.
config.image.pullPolicystring"IfNotPresent"Image pull policy for the config container.
config.image.repositorystring"docker.io/library/alpine"Image repository for the config container.
config.image.tagstring"latest"Image tag for the config container
config.resourcesobject{}Resources for the config container.
config.securityContextobjectSee values.yamlSecurity context for the config container.
extraVolumeslist[]Extra volumes for the pod.
fullnameOverridestringnilOverride the full name of the chart.
hostPIDboolfalseIf true, allow the pod access to the host process ID namespace.
imagePullSecretslist[]Image pull secrets.
nameOverridestringnilOverride the name of the chart.
nodeSelectorobject{"kubernetes.io/os":"linux"}Node selector labels for scheduling.
pause.image.pullPolicystring"IfNotPresent"Image pull policy for the pause container.
pause.image.repositorystring"registry.k8s.io/pause"Image repository for the pause container.
pause.image.tagstring"3.10.1"Image tag for the pause container
pause.resourcesobject{"limits":{"cpu":"100m","memory":"8Mi"},"requests":{"cpu":"10m","memory":"8Mi"}}Resources for the pause container.
podAnnotationsobject{}Annotations to add to the pod.
podLabelsobject{}Labels to add to the pod.
podSecurityContextobjectSee values.yamlSecurity context for the pod.
priorityClassNamestringnilPriority class name for the pod.
rbac.createboolfalseIf true, create a ClusterRole & ClusterRoleBinding with access to the Kubernetes API.
rbac.ruleslist[]Rules to add to the ClusterRole if rbac.create is set to true.
scriptslistSee values.yamlScripts to create and mount.
serviceAccount.annotationsobject{}Annotations to add to the service account.
serviceAccount.createbooltrueIf true, create a new ServiceAccount.
serviceAccount.labelsobject{}Labels to add to the service account.
serviceAccount.namestringnilIf this is set and serviceAccount.create is true this will be used for the created ServiceAccount name, if set and serviceAccount.create is false then this will define an existing ServiceAccount to use.
terminationGracePeriodSecondsintnilTermination grace period for the pod in seconds.
tolerationslist[]Node taints that will be tolerated for scheduling.

Autogenerated from chart metadata using helm-docs.

Deploy node-config with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has node-config 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 chartnode-config is pinned at v0.7.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