My common helm library
Go to file
Jonas Forsberg 5ba9984415
All checks were successful
Lint and Test Charts / lint-test (push) Successful in 8s
Merge pull request 'lint and only build on main' (#12) from pipeline into main
Reviewed-on: #12
2024-11-12 09:29:56 +00:00
.gitea/workflows lint and only build on main 2024-11-12 10:25:02 +01:00
templates added volumes to statefulset 2024-11-12 10:20:21 +01:00
.frigate removed hardcoded version in example 2024-10-18 16:42:00 +02:00
.gitignore fixed volumeMounts for statefulset 2024-11-11 09:38:40 +01:00
.helmignore added *.tgz 2024-10-18 14:46:49 +00:00
.pre-commit-config.yaml secrets/configmaps added 2024-10-18 09:45:08 +02:00
CHANGES.md . 2024-10-19 11:30:12 +02:00
Chart.yaml added volumes to statefulset 2024-11-12 10:20:21 +01:00
Makefile . 2024-10-19 08:54:28 +02:00
README.md . 2024-10-22 14:29:12 +02:00
values.yaml . 2024-10-22 14:29:12 +02:00

LIB

to use, add this to your Charts.yaml

dependencies:
  - name: lib
    repository: oci://repo.rre.nu/helm
    version: <chart version>

Common functions for my helm charts at home

Configuration

The following table lists the configurable parameters of the Lib chart and their default values.

Parameter Description Default
namespace namespace to install to "default"
controller.enabled should the main workload be included or not true
controller.type valid options are deployment, statefulset, job "deployment"
controller.replicas number of replicas 1
controller.lifecycle Define postStart and preStop handlers {}
controller.command override the containers entrypoint null
controller.args add argument to the override command []
image.repository container image name null
image.pullPolicy kubernetes pull policy "IfNotPresent"
image.tag Overrides the image tag whose default is the chart appVersion. ""
fullnameOverride override the name of the helm release ""
service.main.enabled false
service.main.type "ClusterIP"
service.main.annotations {}
service.main.labels {}
service.main.ports null
ingress.enabled false
ingress.service what service should the ingress target "main"
ingress.servicePort 80
ingress.className ""
ingress.annotations {}
ingress.hosts [{"host": "chart-example.local", "paths": [{"path": "/", "pathType": "ImplementationSpecific"}]}]
ingress.tls []
resources {}
autoscaling.enabled false
autoscaling.minReplicas 1
autoscaling.maxReplicas 5
autoscaling.targetCPUUtilizationPercentage 80
secrets Secrets that needs to be created {}
configs ConfigMaps that needs to be created {}
envFrom mount environment variables from secrets or configMaps []
env.TZ "Europe/Stockholm"
volumes []
volumeMounts []
volumeClaimTemplates used for statefulset https://kubernetes.io/docs/concepts/workloads/controllers/statefulset []
serviceAccount.create true
serviceAccount.automount true
serviceAccount.annotations {}
serviceAccount.name ""
livenessProbe {}
readinessProbe {}
nodeSelector {}
tolerations []
affinity {}