2024-01-04 08:58:52 +00:00
|
|
|
image:
|
|
|
|
repository: vabene1111/recipes
|
|
|
|
pullPolicy: IfNotPresent
|
2024-01-21 13:33:53 +00:00
|
|
|
tag: 1.5.11@sha256:2f9d46ba7a3131a5da8364f7fa0faeb60d9553f24b8dfafb67bf342660a1811c
|
2024-01-04 08:58:52 +00:00
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
runAsGroup: 0
|
|
|
|
runAsUser: 0
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
env:
|
|
|
|
DB_ENGINE: django.db.backends.postgresql
|
|
|
|
POSTGRES_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-urls
|
|
|
|
key: host
|
|
|
|
POSTGRES_PORT: 5432
|
|
|
|
POSTGRES_USER: "{{ .Values.cnpg.main.user }}"
|
|
|
|
POSTGRES_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-user
|
|
|
|
key: password
|
|
|
|
POSTGRES_DB: "{{ .Values.cnpg.main.database }}"
|
|
|
|
TANDOOR_PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
|
|
ALLOWED_HOSTS: "*"
|
|
|
|
COMMENT_PREF_DEFAULT: 1
|
|
|
|
CSRF_TRUSTED_ORIGINS: ""
|
|
|
|
DEBUG: 0
|
|
|
|
FRACTION_PREF_DEFAULT: 0
|
|
|
|
GUNICORN_MEDIA: 1
|
|
|
|
SECRET_KEY:
|
|
|
|
secretKeyRef:
|
|
|
|
key: SECRET_KEY
|
|
|
|
name: recipes-secrets
|
|
|
|
SHOPPING_MIN_AUTOSYNC_INTERVAL: 5
|
|
|
|
TIMEZONE: "{{ .Values.TZ }}"
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10029
|
|
|
|
persistence:
|
|
|
|
media:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /opt/recipes/mediafiles
|
|
|
|
static:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /opt/recipes/staticfiles
|
|
|
|
type: emptyDir
|
|
|
|
cnpg:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
user: recipes
|
|
|
|
database: recipes
|
|
|
|
portal:
|
|
|
|
open:
|
|
|
|
enabled: true
|