TrueChartsClone/charts/stable/recipes/values.yaml

93 lines
2.2 KiB
YAML
Raw Normal View History

image:
# -- image repository
repository: vabene1111/recipes
# -- image tag
tag: 0.18.0@sha256:9d01d30f3e15a2f014242538a2d1e362ff4d0ab469e1baefcc609d22ec6fec79
# -- image pull policy
pullPolicy: IfNotPresent
nginxImage:
# -- nginx sidecar image repository
repository: nginx
# -- nginx sidecar image tag
tag: 1.21.3@sha256:644a70516a26004c97d0d85c7fe1d0c3a67ea8ab7ddf4aff193d9f301670cf36
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
# -- environment variables. See [project docs](https://raw.githubusercontent.com/vabene1111/recipes/master/.env.template) for more details.
# @default -- See below
env:
TIMEZONE: UTC
DEBUG: 0
ALLOWED_HOSTS: "*"
SECRET_KEY: "changeme"
GUNICORN_MEDIA: 0
FRACTION_PREF_DEFAULT: 0
COMMENT_PREF_DEFAULT: 1
SHOPPING_MIN_AUTOSYNC_INTERVAL: 5
envTpl:
DB_ENGINE: "django.db.backends.postgresql"
POSTGRES_DB: "{{ .Values.postgresql.postgresqlDatabase }}"
POSTGRES_USER: "{{ .Values.postgresql.postgresqlUsername }}"
POSTGRES_PORT: "5432"
envValueFrom:
POSTGRES_PASSWORD:
secretKeyRef:
name: dbcreds
key: postgresql-password
POSTGRES_HOST:
secretKeyRef:
name: dbcreds
key: plainhost
additionalContainers:
nginx:
name: nginx
image: "{{ .Values.nginxImage.repository }}:{{ .Values.nginxImage.tag }}"
ports:
- containerPort: 80
name: main
volumeMounts:
- name: recipes-config
mountPath: /etc/nginx/nginx.conf
subPath: nginx-config
readOnly: true
- name: media
mountPath: '/media'
- name: static
mountPath: '/static'
# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
main:
ports:
main:
port: 80
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence:
media:
enabled: true
mountPath: /opt/recipes/mediafiles
static:
enabled: true
type: emptyDir
mountPath: /opt/recipes/staticfiles
# Enabled postgres
postgresql:
enabled: true
existingSecret: "dbcreds"
postgresqlUsername: recipes
postgresqlDatabase: recipes