/generic-chart

General purpose Helm Chart

Primary LanguageMustache

Generic Helm Chart

This chart is a template for common Kubernetes resource manifests, which should cover most use cases. Please read through the list of possible configuration parameters. If you miss a specific feature, you can easily add it via a pull request. If you don't think you can do that, just create a GitHub issue.

Configuration

Parameter Description Default
replicaCount Amount of Pod replicas 1
revisionHistoryLimit Amount of old ReplicaSets for this Deployment should be retained 1
image.repository URL to the container registry with organisation and repository nil
image.tag Image tag of the provided container repository nil
image.pullPolicy The pull policy when a image should be pulled (IfNotPresent, Always) IfNotPresent
imagePullSecrets Reference a Secret which should be use to authenticate against a container registry nil
nameOverride Override the fullname with this name ""
serviceAccount.create If a ServiceAccount should be created. If false a ServiceAccount must be provided and configured correctly with its name under serviceAccount.name. true
serviceAccount.name Name of the ServiceAccount. If not set and create is true, a name is generated using the name template nil
serviceAccount.automountServiceAccountToken If true the Secret with the Token and Certificates of the ServiceAccount is mounted. Only required when access to the master API is necessary false
serviceAccount.annotations Sets annotations for the ServiceAccount {}
network Map of ports which should be exposed. Adds ports section to the Pod template, adds ports section to Service and can create Ingress or Route for the ports. network.http.servicePort: 8080
network.{}.servicePort Port number of the Service (e.g. 8080, 8443). If nil no port on the Service is exposed nil
network.{}.containerPort The port which is exposed on the Pod. If nil corresponds to the network.{}.servicePort nil
network.{}.ingress If not nil creates an Ingress or Route for the Service and its servicePort. If set to {} see ingress.zone nil
network.{}.ingress.host Sets the hostname for the Ingress or Route. If nil see ingress.zone nil
network.{}.ingress.annotations Sets annotations for the Ingress or Route instance {}
network.{}.ingress.path Sets the path for the Ingress or Route instance /
service.type Service type (ClusterIP, NodePort, ExternalName) ClusterIP
service.annotations Sets annotations for the Service {}
ingress.controller Sets the type of the ingress controller (e.g. Route, Ingress) Route
env List of environment variables for the Deployment []
deployment.strategy Specifies the strategy used to replace old Pods by new ones type: RollingUpdate
envFrom Set environment variables from a ConfigMap or Secret. See envFrom nil
persistence.enabled If true a PVC is created false
persistence.name The name of the PVC generic-chart.name
persistence.accessModes accessModes of the PVC (ReadWriteOnce, ReadWriteMany) ReadWriteOnce
persistence.storageClass [storageClass] of the PVC ``
persistence.size Size of the PVC (e.g. 512Mi, 10Gi, 1Ti) nil
persistence.volumeMountPath Path where to volume should be mounted (e.g. /var/data/). If set, volumes and volumeMounts are configured nil
persistence.annotations Sets annotations for the PersistentVolumeClaim {}
volumes Set Volumes available to the Pod []
volumeMounts Mounts a Volume defined in volumes in the container. []
readinessProbe Defines the readinessProbe {}
livenessProbe Defines the livenessProbe {}
resources CPU/Memory resource requests/limits {}
podSecurityContext securityContext of the Pod {}
securityContext securityContext for the container {}
nodeSelector nodeSelector schedules Pods only on matching nodes {}
tolerations tolerations allows to schedule Pods on nodes with taints {}
affinity Set affinity to control how pods are scheduled {}
defaultAffinityRules.enabled If true prevents that the Pod defined in replicaCount are not scheduled on the same node true
annotations Sets annotations for the Pod {}
labels Sets labels for the Pod {}
command Sets command for the Pod. []
args Sets args for the Pod. []
initContainers Sets initContainers for the Pod. []
additionalContainers Define additional containers for the Pod. []

Contributions

If you contribute new featuers or fix a bug, please update the .version in the Chart.yaml according to SemVer and update the documentation.