values.yaml 2.51 KB
Newer Older
Evili del Rio's avatar
Evili del Rio committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# Default values for django.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

replicaCount: 1

image:
  repository: evili/django
  pullPolicy: IfNotPresent

#
# Django configuration. Any keyword will go into
# the environment. Prefixed "DJANGO_" keys will be transformed
# into django.conf.settings.
#
django:
  config:
Evili del Rio's avatar
Evili del Rio committed
18
    DJANGO_ALLOWED_HOSTS: ['*']
Evili del Rio's avatar
Evili del Rio committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
    # DJANGO_DEBUG: info
    # DJANGO_SUPERUSER_USERNAME: admin
    # DJANGO_SUPERUSER_EMAIL: admin@example.com
    # DJANGO_SUPERUSER_PASSWORD: changeit

 
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""

serviceAccount:
  # Specifies whether a service account should be created
  create: true
  # Annotations to add to the service account
  annotations: {}
  # The name of the service account to use.
  # If not set and create is true, a name is generated using the fullname template
  name:

podSecurityContext: {}
  # fsGroup: 2000

securityContext: {}
  # capabilities:
  #   drop:
  #   - ALL
  # readOnlyRootFilesystem: true
  # runAsNonRoot: true
  # runAsUser: 1000

service:
  type: ClusterIP
  port: 80

ingress:
  enabled: false
  annotations: {}
    # kubernetes.io/ingress.class: nginx
    # kubernetes.io/tls-acme: "true"
  hosts:
    - host: chart-example.local
      paths: []
  tls: []
  #  - secretName: chart-example-tls
  #    hosts:
  #      - chart-example.local

Evili del Rio's avatar
Evili del Rio committed
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
## Django files Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
##   set, choosing the default provisioner.  (gp2 on AWS, standard on
##   GKE, AWS & OpenStack)
##
persistence:
  enabled: true
  # claimName:
  # storageClass: "-"
  accessModes:
    - ReadWriteOnce
  size: 2Gi
  annotations: {}

Evili del Rio's avatar
Evili del Rio committed
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
resources: {}
  # We usually recommend not to specify default resources and to leave this as a conscious
  # choice for the user. This also increases chances charts run on environments with little
  # resources, such as Minikube. If you do want to specify resources, uncomment the following
  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
  # limits:
  #   cpu: 100m
  #   memory: 128Mi
  # requests:
  #   cpu: 100m
  #   memory: 128Mi

nodeSelector: {}

tolerations: []

affinity: {}

global:
Evili del Rio's avatar
Evili del Rio committed
101 102
  django:
    secretKey:
Evili del Rio's avatar
Evili del Rio committed
103 104 105 106 107 108
  postgresql:
    postgresqlHost:
    postgresqlUsername: django
    postgresqlDatabase: django
    postgresqlPassword: django
    servicePort: 5432