Skip to content

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:

VariableDescriptionDefault/Example value
replicaCountDefault number of replicas for deployment1
image.repositoryDocker image for deploymentnginx
image.pullPolicyDeployment image pull policyAlways
image.tag:Tag defaults to the chart appVersion in Chart.yamllatest
resources.limits.cpuContainer resource limits100m
resources.limits.memoryContainer resource limits128Mi
resources.requests.cpuContainer resource limits100m
resources.requests.memoryContainer resource limits128Mi
imagePullSecrets[]List container registry secrets nameExample: - name: <registry-secrets-name>
imageCredentials.registryContainer registry host-
imageCredentials.usernameContainer registry username-
imageCredentials.passwordContainer registry password-
imageCredentials.emailContainer registry email-
volumes[]List volumes, see more: Kubernetes volumes-
volumeMounts[]volumeMounts to app-
service.typeService type, see more: Kubernetes service typesNodePort
service.portApplication port4454