Skip to content
Snippets Groups Projects
values.yaml 1.68 KiB
Newer Older
Xavier Garnier's avatar
Xavier Garnier committed
# application name
appName: nginx

# host
host: myapp.example.org

# Set true to use a statefullset instead of a deployment
stateful: false

Xavier Garnier's avatar
Xavier Garnier committed
# number of replicas
replicas: 1

# Volume used to persist data
volume: {}
  # name: data
  # mountPath: /data
  # size: 1Gi
  # storageClass:
Xavier Garnier's avatar
Xavier Garnier committed
  # accessMode: ReadWriteOnce
Xavier Garnier's avatar
Xavier Garnier committed

# Exposed port
port: 80

# image
image:
  repo: nginx
  tag: latest
  pullPolicy: Always

# override container command
# command: []

# override container args
# args: []

# add a pod securityContext
# securityContext:
  # runAsUser: 1000
  # runAsGroup: 1000
  # fsGroup: 1000

Xavier Garnier's avatar
Xavier Garnier committed
# Environment variable to configure app
env: {}
  # NAME: VALUE

# Secret environment variable to configure app
# The following env will be stored in a k8s secret
secretEnv: {}
  # NAME: VALUE

# Specify resources for the container
resources: {}
  # limits:
  #   cpu: 100m
  #   memory: 150Mi
  # requests:
  #   cpu: 100m
  #   memory: 512Mi

# Configure nginx ingress
ingress:
  clusterIssuer: "letsencrypt-staging"
  tlsSecret: true
Xavier Garnier's avatar
Xavier Garnier committed
  annotations: {}
# Additional ingresses
additionalIngresses: []
  # - name: toto
  #  host: toto.fr
  #  path: /toto
  #  annotations: {}

# Readiness probe
readinessProbe:
  path: "/"
  # Use this value to specify another port to listen
  # port: 80

# Liveness probe
livenessProbe:
  enabled: false
  path: "/"
  # Use this value to specify another port to listen
  # port: 80

# Docker registry credentials
registryCred: {}
  # registry: registry.exemple.org
  # username: user
  # password: password
  #

mountConfigMaps: []
  # - key: "config.yaml"  # keys must be unique
  #   mountPath: "/etc/project/config.yaml"
  #   data: |-
  #     some content