Helm variables
The values.yaml file contains default configuration values that can be overridden by users when deploying the chart. These are some of the default values typically included:
Example values.yaml file:
replicaCount: 1
nameOverride: ""fullnameOverride: ""
image: repository: "" pullPolicy: IfNotPresent tag: "latest"
imagePullSecrets:- name: <registry-secrets-name>
imageCredentials: registry: "" username: "" password: "" email: ""
volumes:- name: env-volume configMap: name: flow8-api-configmap- name: config-volume configMap: name: flow8-api-config- name: app-data emptyDir: sizeLimit: 5Mi
volumeMounts:- name: env-volume mountPath: /app/.env subPath: .env readOnly: true- name: config-volume mountPath: /app/config.yaml subPath: config.yaml readOnly: true- name: app-data mountPath: /app/storage
service: type: NodePort port: 4454
livenessProbe: httpGet: path: / port: http
resources: {} # limits: # cpu: 100m # memory: 128Mi # requests: # cpu: 100m # memory: 128Mi
autoscaling: enabled: false minReplicas: 1 maxReplicas: 100 targetCPUUtilizationPercentage: 80 # targetMemoryUtilizationPercentage: 80
serviceAccount: create: false automount: true annotations: {} name: ""
podAnnotations: {}podLabels: {}podSecurityContext: {}securityContext: {}
ingress: enabled: false className: "" annotations: {} # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: "true" hosts: - host: chart-example.local paths: - path: / pathType: ImplementationSpecific tls: []
nodeSelector: {}tolerations: []affinity: {}Values description:
| Variable | Description | Default/Example value |
|---|---|---|
| replicaCount | Default number of replicas for deployment | 1 |
| image.repository | Docker image for deployment | nginx |
| image.pullPolicy | Deployment image pull policy | Always |
| image.tag: | Tag defaults to the chart appVersion in Chart.yaml | latest |
| resources.limits.cpu | Container resource limits | 100m |
| resources.limits.memory | Container resource limits | 128Mi |
| resources.requests.cpu | Container resource limits | 100m |
| resources.requests.memory | Container resource limits | 128Mi |
| imagePullSecrets[] | List container registry secrets name | Example: - name: <registry-secrets-name> |
| imageCredentials.registry | Container registry host | - |
| imageCredentials.username | Container registry username | - |
| imageCredentials.password | Container registry password | - |
| imageCredentials.email | Container registry email | - |
| volumes[] | List volumes, see more: Kubernetes volumes | - |
| volumeMounts[] | volumeMounts to app | - |
| service.type | Service type, see more: Kubernetes service types | NodePort |
| service.port | Application port | 4454 |